Package redis.clients.jedis
Class MultiKeyPipelineBase
- java.lang.Object
-
- redis.clients.jedis.Queable
-
- redis.clients.jedis.PipelineBase
-
- redis.clients.jedis.MultiKeyPipelineBase
-
- All Implemented Interfaces:
BasicRedisPipeline,BinaryRedisPipeline,BinaryScriptingCommandsPipeline,ClusterPipeline,MultiKeyBinaryRedisPipeline,MultiKeyCommandsPipeline,RedisPipeline,ScriptingCommandsPipeline
- Direct Known Subclasses:
Pipeline,Transaction
public abstract class MultiKeyPipelineBase extends PipelineBase implements MultiKeyBinaryRedisPipeline, MultiKeyCommandsPipeline, ClusterPipeline, BinaryScriptingCommandsPipeline, ScriptingCommandsPipeline, BasicRedisPipeline
-
-
Constructor Summary
Constructors Constructor Description MultiKeyPipelineBase()
-
Method Summary
-
Methods inherited from class redis.clients.jedis.PipelineBase
append, append, bitcount, bitcount, bitcount, bitcount, bitfield, bitfield, bitfieldReadonly, bitfieldReadonly, bitpos, bitpos, bitpos, bitpos, blpop, blpop, brpop, brpop, decr, decr, decrBy, decrBy, del, del, dump, dump, echo, echo, exists, exists, expire, expire, expireAt, expireAt, geoadd, geoadd, geoadd, geoadd, geodist, geodist, geodist, geodist, geohash, geohash, geopos, geopos, georadius, georadius, georadius, georadius, georadiusByMember, georadiusByMember, georadiusByMember, georadiusByMember, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusByMemberReadonly, georadiusReadonly, georadiusReadonly, georadiusReadonly, georadiusReadonly, get, get, getbit, getbit, getClient, getClient, getrange, getrange, getSet, getSet, hdel, hdel, hexists, hexists, hget, hget, hgetAll, hgetAll, hincrBy, hincrBy, hincrByFloat, hincrByFloat, hkeys, hkeys, hlen, hlen, hmget, hmget, hmset, hmset, hset, hset, hset, hset, hsetnx, hsetnx, hstrlen, hstrlen, hvals, hvals, incr, incr, incrBy, incrBy, incrByFloat, incrByFloat, lindex, lindex, linsert, linsert, llen, llen, lpop, lpop, lpop, lpop, lpos, lpos, lpos, lpos, lpos, lpos, lpush, lpush, lpushx, lpushx, lrange, lrange, lrem, lrem, lset, lset, ltrim, ltrim, migrate, migrate, move, move, objectEncoding, objectEncoding, objectFreq, objectFreq, objectIdletime, objectIdletime, objectRefcount, objectRefcount, persist, persist, pexpire, pexpire, pexpireAt, pexpireAt, pfadd, pfadd, pfcount, pfcount, psetex, psetex, pttl, pttl, restore, restore, restoreReplace, restoreReplace, rpop, rpop, rpop, rpop, rpush, rpush, rpushx, rpushx, sadd, sadd, scard, scard, sendCommand, sendCommand, set, set, set, set, setbit, setbit, setex, setex, setnx, setnx, setrange, setrange, sismember, sismember, smembers, smembers, smismember, smismember, sort, sort, sort, sort, spop, spop, spop, spop, srandmember, srandmember, srandmember, srandmember, srem, srem, strlen, strlen, substr, substr, touch, touch, ttl, ttl, type, type, unlink, unlink, xack, xack, xadd, xadd, xadd, xadd, xclaim, xclaim, xdel, xdel, xgroupCreate, xgroupCreate, xgroupDelConsumer, xgroupDelConsumer, xgroupDestroy, xgroupDestroy, xgroupSetID, xgroupSetID, xlen, xlen, xpending, xpending, xrange, xrange, xrevrange, xrevrange, xtrim, xtrim, zadd, zadd, zadd, zadd, zadd, zadd, zadd, zadd, zcard, zcard, zcount, zcount, zcount, zcount, zincrby, zincrby, zincrby, zincrby, zlexcount, zlexcount, zmscore, zmscore, zpopmax, zpopmax, zpopmax, zpopmax, zpopmin, zpopmin, zpopmin, zpopmin, zrange, zrange, zrangeByLex, zrangeByLex, zrangeByLex, zrangeByLex, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScore, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeByScoreWithScores, zrangeWithScores, zrangeWithScores, zrank, zrank, zrem, zrem, zremrangeByLex, zremrangeByLex, zremrangeByRank, zremrangeByRank, zremrangeByScore, zremrangeByScore, zremrangeByScore, zremrangeByScore, zrevrange, zrevrange, zrevrangeByLex, zrevrangeByLex, zrevrangeByLex, zrevrangeByLex, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScore, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeByScoreWithScores, zrevrangeWithScores, zrevrangeWithScores, zrevrank, zrevrank, zscore, zscore
-
Methods inherited from class redis.clients.jedis.Queable
clean, generateResponse, getPipelinedResponseLength, getResponse, hasPipelinedResponse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface redis.clients.jedis.commands.BasicRedisPipeline
migrate
-
-
-
-
Field Detail
-
client
protected Client client
-
-
Method Detail
-
brpop
public Response<List<String>> brpop(String... args)
- Specified by:
brpopin interfaceMultiKeyCommandsPipeline
-
blpop
public Response<List<String>> blpop(String... args)
- Specified by:
blpopin interfaceMultiKeyCommandsPipeline
-
brpop
public Response<List<byte[]>> brpop(byte[]... args)
- Specified by:
brpopin interfaceMultiKeyBinaryRedisPipeline
-
blpop
public Response<List<byte[]>> blpop(byte[]... args)
- Specified by:
blpopin interfaceMultiKeyBinaryRedisPipeline
-
del
public Response<Long> del(String... keys)
- Specified by:
delin interfaceMultiKeyCommandsPipeline
-
del
public Response<Long> del(byte[]... keys)
- Specified by:
delin interfaceMultiKeyBinaryRedisPipeline
-
unlink
public Response<Long> unlink(String... keys)
- Specified by:
unlinkin interfaceMultiKeyCommandsPipeline
-
unlink
public Response<Long> unlink(byte[]... keys)
- Specified by:
unlinkin interfaceMultiKeyBinaryRedisPipeline
-
exists
public Response<Long> exists(String... keys)
- Specified by:
existsin interfaceMultiKeyCommandsPipeline
-
exists
public Response<Long> exists(byte[]... keys)
- Specified by:
existsin interfaceMultiKeyBinaryRedisPipeline
-
keys
public Response<Set<String>> keys(String pattern)
- Specified by:
keysin interfaceMultiKeyCommandsPipeline
-
keys
public Response<Set<byte[]>> keys(byte[] pattern)
- Specified by:
keysin interfaceMultiKeyBinaryRedisPipeline
-
mget
public Response<List<String>> mget(String... keys)
- Specified by:
mgetin interfaceMultiKeyCommandsPipeline
-
mget
public Response<List<byte[]>> mget(byte[]... keys)
- Specified by:
mgetin interfaceMultiKeyBinaryRedisPipeline
-
mset
public Response<String> mset(String... keysvalues)
- Specified by:
msetin interfaceMultiKeyCommandsPipeline
-
mset
public Response<String> mset(byte[]... keysvalues)
- Specified by:
msetin interfaceMultiKeyBinaryRedisPipeline
-
msetnx
public Response<Long> msetnx(String... keysvalues)
- Specified by:
msetnxin interfaceMultiKeyCommandsPipeline
-
msetnx
public Response<Long> msetnx(byte[]... keysvalues)
- Specified by:
msetnxin interfaceMultiKeyBinaryRedisPipeline
-
rename
public Response<String> rename(String oldkey, String newkey)
- Specified by:
renamein interfaceMultiKeyCommandsPipeline
-
rename
public Response<String> rename(byte[] oldkey, byte[] newkey)
- Specified by:
renamein interfaceMultiKeyBinaryRedisPipeline
-
renamenx
public Response<Long> renamenx(String oldkey, String newkey)
- Specified by:
renamenxin interfaceMultiKeyCommandsPipeline
-
renamenx
public Response<Long> renamenx(byte[] oldkey, byte[] newkey)
- Specified by:
renamenxin interfaceMultiKeyBinaryRedisPipeline
-
rpoplpush
public Response<String> rpoplpush(String srckey, String dstkey)
- Specified by:
rpoplpushin interfaceMultiKeyCommandsPipeline
-
rpoplpush
public Response<byte[]> rpoplpush(byte[] srckey, byte[] dstkey)
- Specified by:
rpoplpushin interfaceMultiKeyBinaryRedisPipeline
-
sdiff
public Response<Set<String>> sdiff(String... keys)
- Specified by:
sdiffin interfaceMultiKeyCommandsPipeline
-
sdiff
public Response<Set<byte[]>> sdiff(byte[]... keys)
- Specified by:
sdiffin interfaceMultiKeyBinaryRedisPipeline
-
sdiffstore
public Response<Long> sdiffstore(String dstkey, String... keys)
- Specified by:
sdiffstorein interfaceMultiKeyCommandsPipeline
-
sdiffstore
public Response<Long> sdiffstore(byte[] dstkey, byte[]... keys)
- Specified by:
sdiffstorein interfaceMultiKeyBinaryRedisPipeline
-
sinter
public Response<Set<String>> sinter(String... keys)
- Specified by:
sinterin interfaceMultiKeyCommandsPipeline
-
sinter
public Response<Set<byte[]>> sinter(byte[]... keys)
- Specified by:
sinterin interfaceMultiKeyBinaryRedisPipeline
-
sinterstore
public Response<Long> sinterstore(String dstkey, String... keys)
- Specified by:
sinterstorein interfaceMultiKeyCommandsPipeline
-
sinterstore
public Response<Long> sinterstore(byte[] dstkey, byte[]... keys)
- Specified by:
sinterstorein interfaceMultiKeyBinaryRedisPipeline
-
smove
public Response<Long> smove(String srckey, String dstkey, String member)
- Specified by:
smovein interfaceMultiKeyCommandsPipeline
-
smove
public Response<Long> smove(byte[] srckey, byte[] dstkey, byte[] member)
- Specified by:
smovein interfaceMultiKeyBinaryRedisPipeline
-
sort
public Response<Long> sort(String key, SortingParams sortingParameters, String dstkey)
- Specified by:
sortin interfaceMultiKeyCommandsPipeline
-
sort
public Response<Long> sort(byte[] key, SortingParams sortingParameters, byte[] dstkey)
- Specified by:
sortin interfaceMultiKeyBinaryRedisPipeline
-
sort
public Response<Long> sort(String key, String dstkey)
- Specified by:
sortin interfaceMultiKeyCommandsPipeline
-
sort
public Response<Long> sort(byte[] key, byte[] dstkey)
- Specified by:
sortin interfaceMultiKeyBinaryRedisPipeline
-
sunion
public Response<Set<String>> sunion(String... keys)
- Specified by:
sunionin interfaceMultiKeyCommandsPipeline
-
sunion
public Response<Set<byte[]>> sunion(byte[]... keys)
- Specified by:
sunionin interfaceMultiKeyBinaryRedisPipeline
-
sunionstore
public Response<Long> sunionstore(String dstkey, String... keys)
- Specified by:
sunionstorein interfaceMultiKeyCommandsPipeline
-
sunionstore
public Response<Long> sunionstore(byte[] dstkey, byte[]... keys)
- Specified by:
sunionstorein interfaceMultiKeyBinaryRedisPipeline
-
watch
public Response<String> watch(String... keys)
- Specified by:
watchin interfaceMultiKeyCommandsPipeline
-
watch
public Response<String> watch(byte[]... keys)
- Specified by:
watchin interfaceMultiKeyBinaryRedisPipeline
-
unwatch
public Response<String> unwatch()
- Specified by:
unwatchin interfaceMultiKeyBinaryRedisPipeline- Specified by:
unwatchin interfaceMultiKeyCommandsPipeline
-
zinterstore
public Response<Long> zinterstore(String dstkey, String... sets)
- Specified by:
zinterstorein interfaceMultiKeyCommandsPipeline
-
zinterstore
public Response<Long> zinterstore(byte[] dstkey, byte[]... sets)
- Specified by:
zinterstorein interfaceMultiKeyBinaryRedisPipeline
-
zinterstore
public Response<Long> zinterstore(String dstkey, ZParams params, String... sets)
- Specified by:
zinterstorein interfaceMultiKeyCommandsPipeline
-
zinterstore
public Response<Long> zinterstore(byte[] dstkey, ZParams params, byte[]... sets)
- Specified by:
zinterstorein interfaceMultiKeyBinaryRedisPipeline
-
zunionstore
public Response<Long> zunionstore(String dstkey, String... sets)
- Specified by:
zunionstorein interfaceMultiKeyCommandsPipeline
-
zunionstore
public Response<Long> zunionstore(byte[] dstkey, byte[]... sets)
- Specified by:
zunionstorein interfaceMultiKeyBinaryRedisPipeline
-
zunionstore
public Response<Long> zunionstore(String dstkey, ZParams params, String... sets)
- Specified by:
zunionstorein interfaceMultiKeyCommandsPipeline
-
zunionstore
public Response<Long> zunionstore(byte[] dstkey, ZParams params, byte[]... sets)
- Specified by:
zunionstorein interfaceMultiKeyBinaryRedisPipeline
-
bgrewriteaof
public Response<String> bgrewriteaof()
- Specified by:
bgrewriteaofin interfaceBasicRedisPipeline
-
bgsave
public Response<String> bgsave()
- Specified by:
bgsavein interfaceBasicRedisPipeline
-
configGet
public Response<List<String>> configGet(String pattern)
- Specified by:
configGetin interfaceBasicRedisPipeline
-
configSet
public Response<String> configSet(String parameter, String value)
- Specified by:
configSetin interfaceBasicRedisPipeline
-
brpoplpush
public Response<String> brpoplpush(String source, String destination, int timeout)
- Specified by:
brpoplpushin interfaceMultiKeyCommandsPipeline
-
brpoplpush
public Response<byte[]> brpoplpush(byte[] source, byte[] destination, int timeout)
- Specified by:
brpoplpushin interfaceMultiKeyBinaryRedisPipeline
-
configResetStat
public Response<String> configResetStat()
- Specified by:
configResetStatin interfaceBasicRedisPipeline
-
save
public Response<String> save()
- Specified by:
savein interfaceBasicRedisPipeline
-
lastsave
public Response<Long> lastsave()
- Specified by:
lastsavein interfaceBasicRedisPipeline
-
publish
public Response<Long> publish(String channel, String message)
- Specified by:
publishin interfaceMultiKeyCommandsPipeline
-
publish
public Response<Long> publish(byte[] channel, byte[] message)
- Specified by:
publishin interfaceMultiKeyBinaryRedisPipeline
-
randomKey
public Response<String> randomKey()
- Specified by:
randomKeyin interfaceMultiKeyCommandsPipeline
-
randomKeyBinary
public Response<byte[]> randomKeyBinary()
- Specified by:
randomKeyBinaryin interfaceMultiKeyBinaryRedisPipeline
-
flushDB
public Response<String> flushDB()
- Specified by:
flushDBin interfaceBasicRedisPipeline
-
flushAll
public Response<String> flushAll()
- Specified by:
flushAllin interfaceBasicRedisPipeline
-
info
public Response<String> info()
- Specified by:
infoin interfaceBasicRedisPipeline
-
dbSize
public Response<Long> dbSize()
- Specified by:
dbSizein interfaceBasicRedisPipeline
-
shutdown
public Response<String> shutdown()
- Specified by:
shutdownin interfaceBasicRedisPipeline
-
ping
public Response<String> ping()
- Specified by:
pingin interfaceBasicRedisPipeline
-
select
public Response<String> select(int index)
- Specified by:
selectin interfaceBasicRedisPipeline
-
swapDB
public Response<String> swapDB(int index1, int index2)
- Specified by:
swapDBin interfaceBasicRedisPipeline
-
bitop
public Response<Long> bitop(BitOP op, byte[] destKey, byte[]... srcKeys)
- Specified by:
bitopin interfaceMultiKeyBinaryRedisPipeline
-
bitop
public Response<Long> bitop(BitOP op, String destKey, String... srcKeys)
- Specified by:
bitopin interfaceMultiKeyCommandsPipeline
-
clusterNodes
public Response<String> clusterNodes()
- Specified by:
clusterNodesin interfaceClusterPipeline
-
clusterMeet
public Response<String> clusterMeet(String ip, int port)
- Specified by:
clusterMeetin interfaceClusterPipeline
-
clusterAddSlots
public Response<String> clusterAddSlots(int... slots)
- Specified by:
clusterAddSlotsin interfaceClusterPipeline
-
clusterDelSlots
public Response<String> clusterDelSlots(int... slots)
- Specified by:
clusterDelSlotsin interfaceClusterPipeline
-
clusterInfo
public Response<String> clusterInfo()
- Specified by:
clusterInfoin interfaceClusterPipeline
-
clusterGetKeysInSlot
public Response<List<String>> clusterGetKeysInSlot(int slot, int count)
- Specified by:
clusterGetKeysInSlotin interfaceClusterPipeline
-
clusterSetSlotNode
public Response<String> clusterSetSlotNode(int slot, String nodeId)
- Specified by:
clusterSetSlotNodein interfaceClusterPipeline
-
clusterSetSlotMigrating
public Response<String> clusterSetSlotMigrating(int slot, String nodeId)
- Specified by:
clusterSetSlotMigratingin interfaceClusterPipeline
-
clusterSetSlotImporting
public Response<String> clusterSetSlotImporting(int slot, String nodeId)
- Specified by:
clusterSetSlotImportingin interfaceClusterPipeline
-
eval
public Response<Object> eval(String script)
- Specified by:
evalin interfaceScriptingCommandsPipeline
-
eval
public Response<Object> eval(String script, List<String> keys, List<String> args)
- Specified by:
evalin interfaceScriptingCommandsPipeline
-
eval
public Response<Object> eval(String script, int keyCount, String... params)
- Specified by:
evalin interfaceScriptingCommandsPipeline
-
evalsha
public Response<Object> evalsha(String sha1)
- Specified by:
evalshain interfaceScriptingCommandsPipeline
-
evalsha
public Response<Object> evalsha(String sha1, List<String> keys, List<String> args)
- Specified by:
evalshain interfaceScriptingCommandsPipeline
-
evalsha
public Response<Object> evalsha(String sha1, int keyCount, String... params)
- Specified by:
evalshain interfaceScriptingCommandsPipeline
-
eval
public Response<Object> eval(byte[] script)
- Specified by:
evalin interfaceBinaryScriptingCommandsPipeline
-
eval
public Response<Object> eval(byte[] script, byte[] keyCount, byte[]... params)
- Specified by:
evalin interfaceBinaryScriptingCommandsPipeline
-
eval
public Response<Object> eval(byte[] script, List<byte[]> keys, List<byte[]> args)
- Specified by:
evalin interfaceBinaryScriptingCommandsPipeline
-
eval
public Response<Object> eval(byte[] script, int keyCount, byte[]... params)
- Specified by:
evalin interfaceBinaryScriptingCommandsPipeline
-
evalsha
public Response<Object> evalsha(byte[] sha1)
- Specified by:
evalshain interfaceBinaryScriptingCommandsPipeline
-
evalsha
public Response<Object> evalsha(byte[] sha1, List<byte[]> keys, List<byte[]> args)
- Specified by:
evalshain interfaceBinaryScriptingCommandsPipeline
-
evalsha
public Response<Object> evalsha(byte[] sha1, int keyCount, byte[]... params)
- Specified by:
evalshain interfaceBinaryScriptingCommandsPipeline
-
pfcount
public Response<Long> pfcount(String... keys)
- Specified by:
pfcountin interfaceMultiKeyCommandsPipeline
-
pfcount
public Response<Long> pfcount(byte[]... keys)
- Specified by:
pfcountin interfaceMultiKeyBinaryRedisPipeline
-
pfmerge
public Response<String> pfmerge(byte[] destkey, byte[]... sourcekeys)
- Specified by:
pfmergein interfaceMultiKeyBinaryRedisPipeline
-
pfmerge
public Response<String> pfmerge(String destkey, String... sourcekeys)
- Specified by:
pfmergein interfaceMultiKeyCommandsPipeline
-
time
public Response<List<String>> time()
- Specified by:
timein interfaceBasicRedisPipeline
-
touch
public Response<Long> touch(String... keys)
- Specified by:
touchin interfaceMultiKeyCommandsPipeline
-
touch
public Response<Long> touch(byte[]... keys)
- Specified by:
touchin interfaceMultiKeyBinaryRedisPipeline
-
moduleUnload
public Response<String> moduleUnload(String name)
- Specified by:
moduleUnloadin interfaceBasicRedisPipeline
-
moduleList
public Response<List<Module>> moduleList()
- Specified by:
moduleListin interfaceBasicRedisPipeline
-
moduleLoad
public Response<String> moduleLoad(String path)
- Specified by:
moduleLoadin interfaceBasicRedisPipeline
-
migrate
public Response<String> migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, String... keys)
- Specified by:
migratein interfaceMultiKeyCommandsPipeline
-
migrate
public Response<String> migrate(String host, int port, int destinationDB, int timeout, MigrateParams params, byte[]... keys)
- Specified by:
migratein interfaceMultiKeyBinaryRedisPipeline
-
sendCommand
public Response<Object> sendCommand(ProtocolCommand cmd, String... args)
-
sendCommand
public Response<Object> sendCommand(ProtocolCommand cmd, byte[]... args)
-
georadiusStore
public Response<Long> georadiusStore(String key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusStorein interfaceMultiKeyCommandsPipeline
-
georadiusStore
public Response<Long> georadiusStore(byte[] key, double longitude, double latitude, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusStorein interfaceMultiKeyBinaryRedisPipeline
-
georadiusByMemberStore
public Response<Long> georadiusByMemberStore(byte[] key, byte[] member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusByMemberStorein interfaceMultiKeyBinaryRedisPipeline
-
georadiusByMemberStore
public Response<Long> georadiusByMemberStore(String key, String member, double radius, GeoUnit unit, GeoRadiusParam param, GeoRadiusStoreParam storeParam)
- Specified by:
georadiusByMemberStorein interfaceMultiKeyCommandsPipeline
-
-