Commit Graph

30 Commits

Author SHA1 Message Date
Jungtaek Lim
5bf4a697fb Merge branch 'unsigned_long_cursor_remove_deprecated' of https://github.com/HeartSaVioR/jedis into HeartSaVioR-unsigned_long_cursor_remove_deprecated
Conflicts:
	src/main/java/redis/clients/jedis/Jedis.java
	src/main/java/redis/clients/jedis/JedisCluster.java
	src/main/java/redis/clients/jedis/ScanResult.java
	src/main/java/redis/clients/jedis/ShardedJedis.java
2014-08-12 10:07:26 +09:00
Marcos Nils
0d5062c347 Merge branch 'master' of github.com:xetorthio/jedis 2014-05-25 15:23:59 -03:00
Aniket Schneider
e7285ade5c Accept long parameter for pexpire 2014-03-05 17:04:47 -05:00
Jungtaek Lim
e1f50b5fae Change method naming : ScanResult.getBinaryCursor to ScanResult.getCursorAsBytes 2014-03-05 21:30:36 +09:00
Jungtaek Lim
0cd32a6103 Expose *SCAN commands to BinaryJedis
* method signatures are a bit similar to Jedis's *SCAN
** but it takes parameters to byte[] instead of String
* ScanParams : allow match pattern with byte[]
* ScanResult : add method to get cursor with byte[] type
* *SCAN for BinaryJedis unit tests included
2014-03-04 23:54:44 +09:00
Jungtaek Lim
0aacd48c81 Remove all @Deprecated things about *scan
* remove all @Deprecated methods about *scan
* rename ScanResult.getStringCursor() to ScanResult.getCursor()
** its original name
* let unit tests follow this change
2014-02-10 07:28:46 +09:00
Jungtaek Lim
ed81f37d1b Introduce *scan with "string" cursor parameter to support unsigned long
cursor

* overload all *scan method to change "int" cursor to "string" cursor
* set @Deprecated and leave reason to deprecate and when to remove to
current *scan method
* modify unit tests to make it work with new *scan method
2014-02-10 07:08:39 +09:00
Jonathan Leibiusky
a27c67de66 add SCAN, HSCAN, SSCAN and ZSCAN 2013-12-03 16:55:52 -05:00
Jonathan Leibiusky
bbb867781d upgrade to commons-pool 2 2013-11-28 08:13:57 -05:00
Hisham Mardam-Bey
33e64bdb6e Changed redis.clients.jedis.tests.commands.AllKindOfValuesCommandsTest#ttl so that it passes assertion. Once this issue is resolved in Redis the test can be fixed. 2013-08-21 23:03:53 -04:00
mindwind
e7a88a49e9 new - pexpire, pexpireat and pttl command 2013-06-29 15:13:21 +08:00
mindwind
8b3ea5f2de new - dump and restore command 2013-06-29 14:17:44 +08:00
Jonathan Leibiusky
406d52b271 fix tests, since ttl now return -2 or -1 depending if the key exists
already
2013-01-30 10:41:12 -03:00
Jonathan Leibiusky
6ff9683537 add getDB() which return the db number we are connected to 2011-05-11 22:50:53 -03:00
Jonathan Leibiusky
2a4a43f4cd add JedisDataException and JedisConnectionException 2011-01-30 17:46:17 -03:00
Jonathan Leibiusky
cd9e17a709 exists, sismember and hexists return Boolean instead of long 2010-11-30 12:51:01 -03:00
Neil Gentleman
d18cc4bd13 incr/decr operate on 64-bit numbers. Switching from Integer to Long 2010-11-25 09:45:34 -03:00
Jonathan Leibiusky
098de44a07 add support for java 1.5 2010-11-21 19:53:43 -03:00
Jonathan Leibiusky
b013a74c44 Merge branch 'binaryAPI' of git://github.com/yaourt/jedis
Conflicts:
	src/main/java/redis/clients/jedis/Connection.java
	src/main/java/redis/clients/jedis/Jedis.java
	src/main/java/redis/clients/jedis/ShardedJedis.java
2010-11-15 23:55:57 -03:00
Yaourt
3281bafd2e Fix wrong test on lists / sets.
Lists comparison now take care of the order, which is not the case for Sets.
2010-11-07 10:49:45 +01:00
Yaourt
c62a6762be Add Binary oriented U tests ... 2010-11-05 15:42:51 +01:00
Yaourt
f8afa09aa5 Fix some more U tests ... 2010-11-05 09:53:37 +01:00
Yaourt
ead39394a1 Fix some broken U tests (there are stille broken tests, working on it) 2010-11-04 18:55:00 +01:00
Jonathan Leibiusky
ed20894c95 Refactores primitive types in the API. Now int -> Integer and double -> Double.
This is to support Redis null values
2010-09-15 14:41:35 -03:00
Jonathan Leibiusky
a8ffacd30a Added bunch of missing commands and a test to check if Jedis is updated 2010-09-14 12:08:56 -03:00
Jonathan Leibiusky
2c41132c5c Remnoved 2 assertions that made tests to fail with the latest version of redis. It was testing too much 2010-09-06 14:54:25 -03:00
Jonathan Leibiusky
1df234153b New exception management. Less exceptions... assume everything works 2010-08-04 20:15:08 -03:00
Jonathan Leibiusky
b4862828b0 Implemented AUTH 2010-08-03 23:47:52 -03:00
Jonathan Leibiusky
de444d0cd6 Added commands operating on strings 2010-06-13 00:15:42 -03:00
Jonathan Leibiusky
def3f38de7 Added commands operating on all kind of values 2010-06-12 00:29:46 -03:00