Daniele Alessandri
b7c715a03f
Rename helper method used to fetch the key tag from a key.
...
The name "getKeyHashablePart" was too generic for this method after all.
2011-11-28 10:10:28 +01:00
Daniele Alessandri
0fee0c6d97
Remove the underscore prefix for names of private/protected fields.
2011-11-25 14:17:11 +01:00
Daniele Alessandri
5d04cf540d
New commands: INCRBYFLOAT, HINCRBYFLOAT (Redis v2.6-dev).
2011-11-18 16:10:39 +01:00
Daniele Alessandri
51b998720e
New commands: PSETEX, PEXPIRE, PEXPIREAT, PTTL (Redis v2.6-dev).
2011-11-18 15:58:36 +01:00
Daniele Alessandri
4e0709ad3d
New command: SCRIPT (Redis v2.6-dev).
...
See http://redis.io/commands/script .
2011-11-18 13:55:03 +01:00
Daniele Alessandri
f75974b5d8
New command: SLOWLOG (Redis 2.2).
...
See http://redis.io/commands/slowlog .
2011-11-18 12:42:14 +01:00
Daniele Alessandri
5680cd40b5
Support the different replies of CONFIG GET|SET|RESETSTAT.
2011-11-18 12:42:09 +01:00
Daniele Alessandri
29f26b0f9b
[phpdoc] Apply a few fixes to the documentation.
2011-10-22 11:41:58 +02:00
Gun.io Whitespace Robot
b9ca78ac43
Remove whitespace [Gun.io WhitespaceBot]
2011-10-21 10:50:42 -04:00
Daniele Alessandri
4e6ed3f26d
[phpdoc] Add API documentation.
...
This is a starting point to add a documentation of the whole set of APIs and
classes of Predis. The next step will be to actually improve and extend it.
2011-10-21 12:54:24 +02:00
Daniele Alessandri
9608a97469
Add a license header to PHP files.
2011-10-18 16:41:46 +02:00
Daniele Alessandri
b4d5b19b30
Fix a few oversights.
2011-10-18 16:19:12 +02:00
Daniele Alessandri
20d872a306
Apply some coding style changes.
2011-10-18 15:51:55 +02:00
Daniele Alessandri
f19c6335d1
Fix parsing of replies to INFO for Redis 2.4.
...
The new string format for INFO replies has been postponed to a future version
of Redis, so we just moved the INFO class that handles them to the development
server profile.
2011-10-15 10:21:34 +02:00
Daniele Alessandri
3733e790eb
Reuse code.
2011-08-21 11:55:08 +02:00
Daniele Alessandri
962037321a
Make ZADD and ZREM variadic commands for Redis 2.4.
2011-05-31 21:28:37 +02:00
Daniele Alessandri
42521f2558
Do not use new classes for variadic RPUSH, LPUSH, SADD, SREM and HDEL in the 2.4 profile.
2011-05-31 21:26:04 +02:00
Daniele Alessandri
8efe76ad60
Make Predis\Commands\ServerEvalSHA inherited from Predis\Commands\ServerEval.
2011-05-13 21:36:25 +02:00
Daniele Alessandri
2010774b68
New command: EVALSHA (Redis v2.4-dev).
2011-05-13 21:23:02 +02:00
Daniele Alessandri
909b06e805
Add support for transparent key prefixing to EVAL and the Predis\Commands\ScriptedCommand class.
2011-05-13 20:22:06 +02:00
Daniele Alessandri
13ac03e134
Merge branch 'redis_scripting'
2011-05-13 20:06:34 +02:00
Daniele Alessandri
0e0cd865e7
Change the default value for the number of arguments used to populate KEYS.
2011-05-13 19:55:24 +02:00
Daniele Alessandri
5f0799ab65
Predis\Commands\Command::filterArguments() is protected.
2011-05-05 17:30:05 +02:00
Daniele Alessandri
9b4a915a52
Dynamically check for the presence of the WITHSCORE modifier with the ZRANGE family of commands.
2011-05-04 22:44:37 +02:00
Daniele Alessandri
b47a3f9ab8
Implement Predis\Commands\Command::setRawArguments().
2011-05-04 18:52:26 +02:00
Daniele Alessandri
5a80876c64
Handle key prefixing in a more consistent way, and make it a first-class citizen in Predis.
2011-05-04 18:06:40 +02:00
Daniele Alessandri
b5ebf48318
Make command processors accept only instances of Predis\Commands\ICommand.
2011-05-04 13:06:57 +02:00
Daniele Alessandri
09b5d7ac61
Change Predis\Commands\Preprocessors to Predis\Command\Processors.
2011-05-04 11:23:31 +02:00
Daniele Alessandri
812d37b2d4
Fix typo.
2011-05-04 00:13:53 +02:00
Daniele Alessandri
859ee35c68
Expose two methods to retrieve the standard prefixing strategies used for commands accepting single or multiple keys.
2011-05-03 21:59:43 +02:00
Daniele Alessandri
ca22208ce8
Define a default value for the number of values used to populate KEYS.
2011-05-03 18:00:30 +02:00
Daniele Alessandri
a386263d84
Add an helper method to get the actual keys from the whole argument list.
2011-05-03 17:37:39 +02:00
Daniele Alessandri
2bdfed5071
Add an abstraction for a virtual command that leverages Redis scripting with the new EVAL command.
2011-05-03 15:14:51 +02:00
Daniele Alessandri
bd027341be
New command: EVAL (Redis v2.4-dev).
2011-05-03 15:07:56 +02:00
Daniele Alessandri
b2575bd667
Reorganize some Redis commands classes.
2011-04-25 12:39:21 +02:00
Daniele Alessandri
dac0104267
Move the reducer function in Predis\Commands\Command::__toString() to a protected method.
2011-04-25 09:48:39 +02:00
Daniele Alessandri
4ef8948b5e
Move the key-tag extractor method to Predis\Helpers.
2011-04-24 11:04:17 +02:00
Daniele Alessandri
b4a90df812
Reuse code.
2011-04-24 09:59:01 +02:00
Daniele Alessandri
dd3faa3d53
New command: CLIENT (Redis v2.4-dev).
2011-04-24 09:32:47 +02:00
Daniele Alessandri
819f3ca6ed
Implement variadic SREM in the development profile (Redis v2.4).
2011-04-24 09:06:23 +02:00
Daniele Alessandri
8787930977
Implement variadic HDEL in the development profile (Redis v2.4).
2011-04-19 20:49:30 +02:00
Daniele Alessandri
a8705b9535
Implement variadic SADD in the development profile (Redis v2.4).
2011-04-19 20:42:50 +02:00
Daniele Alessandri
66f6610c72
Implement variadic RPUSH and LPUSH in the development profile (Redis v2.4).
2011-04-19 20:35:48 +02:00
Daniele Alessandri
07d9717f8a
Fix wrong import with the 'use' directive.
2011-04-11 23:23:55 +02:00
Daniele Alessandri
3f3c235363
Make Predis\Distribution\IDistributionStrategy extend the new Predis\Distribution\INodeKeyGenerator interface.
2011-04-11 23:20:10 +02:00
Daniele Alessandri
944a478272
Remove Predis\Commands\Command::setArguments().
2011-04-09 09:35:28 +02:00
Daniele Alessandri
0396320951
Merge branch 'command_preprocessors'
2011-04-08 11:22:24 +02:00
Daniele Alessandri
80f1cedf79
Add the OBJECT command to the dev server profile.
2011-04-06 12:49:54 +02:00
Daniele Alessandri
771a0ee179
Pass method names to preprocessors by value.
2011-04-05 21:34:05 +02:00
Daniele Alessandri
1d9b53d443
Rename class to Predis\Commands\Preprocessors\KeyPrefixPreprocessor.
2011-04-05 20:46:40 +02:00