Support of Redis for Java

CAST supports Redis via its com.castsoftware.nosqljava extension. Details about the support provided for Java source code is discussed below.

Supported Libraries

Library Version Supported
Jedis Up to: 4.3.2

JedisPool Up to: 4.3.2

JedisSentinePool Up to: 4.3.2

JedisCommands Up to: 4.3.2

JedisTransactions Up to: 4.3.2

Jedis TransactionBase Up to: 4.3.2

Lettuce Up to: 6.2.2

RedisClient Up to: 6.2.2

RedisCommands Up to: 6.2.2

RedisSyncCommands Up to: 6.2.2

RedisAsyncCommands Up to: 6.2.2

RedisReactiveCommands Up to: 6.2.2

Supported Operations

Operation

Methods Supported

Insert
Jedis Base Commands

redis.clients.jedis.Jedis.copy

redis.clients.jedis.Jedis.expire

redis.clients.jedis.Jedis.expireAt

redis.clients.jedis.Jedis.geoadd

redis.clients.jedis.Jedis.geosearchStore

redis.clients.jedis.Jedis.geosearchStoreStoreDist

redis.clients.jedis.Jedis.hmset

redis.clients.jedis.Jedis.hset

redis.clients.jedis.Jedis.hsetnx

redis.clients.jedis.Jedis.linsert

redis.clients.jedis.Jedis.lpush

redis.clients.jedis.Jedis.lpushx

redis.clients.jedis.Jedis.lset

redis.clients.jedis.Jedis.rpush

redis.clients.jedis.Jedis.rpushx

redis.clients.jedis.Jedis.blmove

redis.clients.jedis.Jedis.brpoplpush

redis.clients.jedis.Jedis.lmove

redis.clients.jedis.Jedis.rpoplpush

redis.clients.jedis.Jedis.append

redis.clients.jedis.Jedis.getSet

redis.clients.jedis.Jedis.set

redis.clients.jedis.Jedis.psetex

redis.clients.jedis.Jedis.setbit

redis.clients.jedis.Jedis.setex

redis.clients.jedis.Jedis.setnx

redis.clients.jedis.Jedis.setrange

redis.clients.jedis.Jedis.setGet

redis.clients.jedis.Jedis.sadd

redis.clients.jedis.Jedis.sdiffstore

redis.clients.jedis.Jedis.sinterstore

redis.clients.jedis.Jedis.sunionstore

redis.clients.jedis.Jedis.smove

redis.clients.jedis.Jedis.zadd

redis.clients.jedis.Jedis.zdiffStore

redis.clients.jedis.Jedis.zinterstore

redis.clients.jedis.Jedis.zunionstore

redis.clients.jedis.Jedis.zrangestore

redis.clients.jedis.Jedis.zrangestorebylex

redis.clients.jedis.Jedis.zrangestorebyscore

redis.clients.jedis.Jedis.zrevrangestore

redis.clients.jedis.Jedis.zrevrangestorebylex

redis.clients.jedis.Jedis.zrevrangestorebyscore

redis.clients.jedis.Jedis.xadd

Jedis Transaction Commands

redis.clients.jedis.TransactionBase.copy

redis.clients.jedis.TransactionBase.expire

redis.clients.jedis.TransactionBase.expireAt

redis.clients.jedis.TransactionBase.geoadd

redis.clients.jedis.TransactionBase.geosearchStore

redis.clients.jedis.TransactionBase.geosearchStoreStoreDist

redis.clients.jedis.TransactionBase.hmset

redis.clients.jedis.TransactionBase.hset

redis.clients.jedis.TransactionBase.hsetnx

redis.clients.jedis.TransactionBase.linsert

redis.clients.jedis.TransactionBase.lpush

redis.clients.jedis.TransactionBase.lpushx

redis.clients.jedis.TransactionBase.lset

redis.clients.jedis.TransactionBase.rpush

redis.clients.jedis.TransactionBase.rpushx

redis.clients.jedis.TransactionBase.blmove

redis.clients.jedis.TransactionBase.brpoplpush

redis.clients.jedis.TransactionBase.lmove

redis.clients.jedis.TransactionBase.rpoplpush

redis.clients.jedis.TransactionBase.append

redis.clients.jedis.TransactionBase.getSet

redis.clients.jedis.TransactionBase.set

redis.clients.jedis.TransactionBase.psetex

redis.clients.jedis.TransactionBase.setbit

redis.clients.jedis.TransactionBase.setex

redis.clients.jedis.TransactionBase.setnx

redis.clients.jedis.TransactionBase.setrange

redis.clients.jedis.TransactionBase.setGet

redis.clients.jedis.TransactionBase.sadd

redis.clients.jedis.TransactionBase.sdiffstore

redis.clients.jedis.TransactionBase.sinterstore

redis.clients.jedis.TransactionBase.sunionstore

redis.clients.jedis.TransactionBase.smove

redis.clients.jedis.TransactionBase.zadd

redis.clients.jedis.TransactionBase.zdiffStore

redis.clients.jedis.TransactionBase.zinterstore

redis.clients.jedis.TransactionBase.zunionstore

redis.clients.jedis.TransactionBase.zrangestore

redis.clients.jedis.TransactionBase.zrangestorebylex

redis.clients.jedis.TransactionBase.zrangestorebyscore

redis.clients.jedis.TransactionBase.zrevrangestore

redis.clients.jedis.TransactionBase.zrevrangestorebylex

redis.clients.jedis.TransactionBase.zrevrangestorebyscore

redis.clients.jedis.TransactionBase.xadd

JedisCommands Commands

redis.clients.jedis.commands.KeyCommands.copy

redis.clients.jedis.commands.KeyCommands.expire

redis.clients.jedis.commands.KeyCommands.expireAt

redis.clients.jedis.commands.GeoCommands.geoadd

redis.clients.jedis.commands.GeoCommands.geosearchStore

redis.clients.jedis.commands.GeoCommands.geosearchStoreStoreDist

redis.clients.jedis.commands.HashCommands.hmset

redis.clients.jedis.commands.HashCommands.hset

redis.clients.jedis.commands.HashCommands.hsetnx

redis.clients.jedis.commands.ListCommands.linsert

redis.clients.jedis.commands.ListCommands.lpush

redis.clients.jedis.commands.ListCommands.lpushx

redis.clients.jedis.commands.ListCommands.lset

redis.clients.jedis.commands.ListCommands.rpush

redis.clients.jedis.commands.ListCommands.rpushx

redis.clients.jedis.commands.ListCommands.blmove

redis.clients.jedis.commands.ListCommands.brpoplpush

redis.clients.jedis.commands.ListCommands.lmove

redis.clients.jedis.commands.ListCommands.rpoplpush

redis.clients.jedis.commands.StringCommands.append

redis.clients.jedis.commands.StringCommands.getSet

redis.clients.jedis.commands.StringCommands.set

redis.clients.jedis.commands.StringCommands.psetex

redis.clients.jedis.commands.StringCommands.setbit

redis.clients.jedis.commands.StringCommands.setex

redis.clients.jedis.commands.StringCommands.setnx

redis.clients.jedis.commands.StringCommands.setrange

redis.clients.jedis.commands.StringCommands.setGet

redis.clients.jedis.commands.SetCommands.sadd

redis.clients.jedis.commands.SetCommands.sdiffstore

redis.clients.jedis.commands.SetCommands.sinterstore

redis.clients.jedis.commands.SetCommands.sunionstore

redis.clients.jedis.commands.SetCommands.smove

redis.clients.jedis.commands.SortedSetCommands.zadd

redis.clients.jedis.commands.SortedSetCommands.zdiffStore

redis.clients.jedis.commands.SortedSetCommands.zinterstore

redis.clients.jedis.commands.SortedSetCommands.zunionstore

redis.clients.jedis.commands.SortedSetCommands.zrangestore

redis.clients.jedis.commands.SortedSetCommands.zrangestorebylex

redis.clients.jedis.commands.SortedSetCommands.zrangestorebyscore

redis.clients.jedis.commands.SortedSetCommands.zrevrangestore

redis.clients.jedis.commands.SortedSetCommands.zrevrangestorebylex

redis.clients.jedis.commands.SortedSetCommands.zrevrangestorebyscore

redis.clients.jedis.commands.StreamCommands.xadd

Lettuce Commands
Sync Commands

io.lettuce.core.api.sync.RedisListCommands.blmove

io.lettuce.core.api.sync.RedisListCommands.lmove

io.lettuce.core.api.sync.RedisListCommands.rpoplpush

io.lettuce.core.api.sync.RedisListCommands.linsert

io.lettuce.core.api.sync.RedisListCommands.lpush

io.lettuce.core.api.sync.RedisListCommands.lpushx

io.lettuce.core.api.sync.RedisListCommands.lset

io.lettuce.core.api.sync.RedisListCommands.rpush

io.lettuce.core.api.sync.RedisListCommands.rpushx

io.lettuce.core.api.sync.RedisListCommands.brpoplpush


io.lettuce.core.api.sync.RedisStringCommands.bitopAnd

io.lettuce.core.api.sync.RedisStringCommands.bitopNot

io.lettuce.core.api.sync.RedisStringCommands.bitopOr

io.lettuce.core.api.sync.RedisStringCommands.bitopXor

io.lettuce.core.api.sync.RedisStringCommands.setGet

io.lettuce.core.api.sync.RedisStringCommands.getset

io.lettuce.core.api.sync.RedisStringCommands.append

io.lettuce.core.api.sync.RedisStringCommands.psetex

io.lettuce.core.api.sync.RedisStringCommands.set

io.lettuce.core.api.sync.RedisStringCommands.setbit

io.lettuce.core.api.sync.RedisStringCommands.setex

io.lettuce.core.api.sync.RedisStringCommands.setnx

io.lettuce.core.api.sync.RedisStringCommands.setrange

io.lettuce.core.api.sync.RedisStringCommands.mset

io.lettuce.core.api.sync.RedisStringCommands.msetnx


io.lettuce.core.api.sync.RedisGeoCommands.geosearchstore

io.lettuce.core.api.sync.RedisGeoCommands.geoadd


io.lettuce.core.api.sync.RedisHashCommands.hmset

io.lettuce.core.api.sync.RedisHashCommands.hset

io.lettuce.core.api.sync.RedisHashCommands.hsetnx


io.lettuce.core.api.sync.RedisSetCommands.sadd

io.lettuce.core.api.sync.RedisSetCommands.smove

io.lettuce.core.api.sync.RedisSetCommands.sdiffstore

io.lettuce.core.api.sync.RedisSetCommands.sinterstore

io.lettuce.core.api.sync.RedisSetCommands.sunionstore


io.lettuce.core.api.sync.RedisSortedSetCommands.zadd

io.lettuce.core.api.sync.RedisSortedSetCommands.zdiffStore

io.lettuce.core.api.sync.RedisSortedSetCommands.zinterstore

io.lettuce.core.api.sync.RedisSortedSetCommands.zunionstore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangestore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangestorebylex

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangestorebyscore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangestore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangestorebylex

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangestorebyscore


io.lettuce.core.api.sync.RedisStreamCommands.xadd

Async Commands

io.lettuce.core.api.async.RedisListAsyncCommands.blmove

io.lettuce.core.api.async.RedisListAsyncCommands.lmove

io.lettuce.core.api.async.RedisListAsyncCommands.rpoplpush

io.lettuce.core.api.async.RedisListAsyncCommands.linsert

io.lettuce.core.api.async.RedisListAsyncCommands.lpush

io.lettuce.core.api.async.RedisListAsyncCommands.lpushx

io.lettuce.core.api.async.RedisListAsyncCommands.lset

io.lettuce.core.api.async.RedisListAsyncCommands.rpush

io.lettuce.core.api.async.RedisListAsyncCommands.rpushx

io.lettuce.core.api.async.RedisListAsyncCommands.brpoplpush


io.lettuce.core.api.async.RedisStringAsyncCommands.bitopAnd

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopNot

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopOr

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopXor

io.lettuce.core.api.async.RedisStringAsyncCommands.setGet

io.lettuce.core.api.async.RedisStringAsyncCommands.getset

io.lettuce.core.api.async.RedisStringAsyncCommands.append

io.lettuce.core.api.async.RedisStringAsyncCommands.psetex

io.lettuce.core.api.async.RedisStringAsyncCommands.set

io.lettuce.core.api.async.RedisStringAsyncCommands.setbit

io.lettuce.core.api.async.RedisStringAsyncCommands.setex

io.lettuce.core.api.async.RedisStringAsyncCommands.setnx

io.lettuce.core.api.async.RedisStringAsyncCommands.setrange

io.lettuce.core.api.async.RedisStringAsyncCommands.mset

io.lettuce.core.api.async.RedisStringAsyncCommands.msetnx


io.lettuce.core.api.async.RedisGeoAsyncCommands.geosearchstore

io.lettuce.core.api.async.RedisGeoAsyncCommands.geoadd


io.lettuce.core.api.async.RedisHashAsyncCommands.hmset

io.lettuce.core.api.async.RedisHashAsyncCommands.hset

io.lettuce.core.api.async.RedisHashAsyncCommands.hsetnx


io.lettuce.core.api.async.RedisSetAsyncCommands.sadd

io.lettuce.core.api.async.RedisSetAsyncCommands.smove

io.lettuce.core.api.async.RedisSetAsyncCommands.sdiffstore

io.lettuce.core.api.async.RedisSetAsyncCommands.sinterstore

io.lettuce.core.api.async.RedisSetAsyncCommands.sunionstore


io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zadd

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zdiffStore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zinterstore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zunionstore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangestore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangestorebylex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangestorebyscore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangestore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangestorebylex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangestorebyscore


io.lettuce.core.api.async.RedisStreamAsyncCommands.xadd

Reactive Commands

io.lettuce.core.api.reactive.RedisListReactiveCommands.linsert

io.lettuce.core.api.reactive.RedisListReactiveCommands.lpush

io.lettuce.core.api.reactive.RedisListReactiveCommands.lpushx

io.lettuce.core.api.reactive.RedisListReactiveCommands.lset

io.lettuce.core.api.reactive.RedisListReactiveCommands.rpush

io.lettuce.core.api.reactive.RedisListReactiveCommands.rpushx

io.lettuce.core.api.reactive.RedisListReactiveCommands.blmove

io.lettuce.core.api.reactive.RedisListReactiveCommands.lmove

io.lettuce.core.api.reactive.RedisListReactiveCommands.rpoplpush

io.lettuce.core.api.reactive.RedisListReactiveCommands.brpoplpush


io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopAnd

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopNot

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopOr

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopXor

io.lettuce.core.api.reactive.RedisStringReactiveCommands.setGet

io.lettuce.core.api.reactive.RedisStringReactiveCommands.getset

io.lettuce.core.api.reactive.RedisStringReactiveCommands.append

io.lettuce.core.api.reactive.RedisStringReactiveCommands.psetex

io.lettuce.core.api.reactive.RedisStringReactiveCommands.set

io.lettuce.core.api.reactive.RedisStringReactiveCommands.setbit

io.lettuce.core.api.reactive.RedisStringReactiveCommands.setex

io.lettuce.core.api.reactive.RedisStringReactiveCommands.setnx

io.lettuce.core.api.reactive.RedisStringReactiveCommands.setrange

io.lettuce.core.api.reactive.RedisStringReactiveCommands.mset

io.lettuce.core.api.reactive.RedisStringReactiveCommands.msetnx


io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geosearchstore

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geoadd


io.lettuce.core.api.reactive.RedisHashReactiveCommands.hmset

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hset

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hsetnx


io.lettuce.core.api.reactive.RedisSetReactiveCommands.smove

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sadd

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sdiffstore

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sinterstore

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sunionstore


io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zadd

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zdiffStore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zinterstore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zunionstore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangestore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangestorebylex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangestorebyscore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangestore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangestorebylex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangestorebyscore


io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xadd

Select
Jedis Base Commands

redis.clients.jedis.Jedis.scan

redis.clients.jedis.Jedis.keys

redis.clients.jedis.Jedis.exists

redis.clients.jedis.Jedis.sort

redis.clients.jedis.Jedis.expireTime

redis.clients.jedis.Jedis.geodist

redis.clients.jedis.Jedis.geohash

redis.clients.jedis.Jedis.geopos

redis.clients.jedis.Jedis.georadius

redis.clients.jedis.Jedis.georadiusByMember

redis.clients.jedis.Jedis.georadiusByMemberReadonly

redis.clients.jedis.Jedis.georadiusReadonly

redis.clients.jedis.Jedis.geosearch

redis.clients.jedis.Jedis.hexists

redis.clients.jedis.Jedis.hget

redis.clients.jedis.Jedis.hgetAll

redis.clients.jedis.Jedis.hkeys

redis.clients.jedis.Jedis.hlen

redis.clients.jedis.Jedis.hmget

redis.clients.jedis.Jedis.hrandfield

redis.clients.jedis.Jedis.hrandfieldWithValues

redis.clients.jedis.Jedis.hscan

redis.clients.jedis.Jedis.hstrlen

redis.clients.jedis.Jedis.hvals

redis.clients.jedis.Jedis.lindex

redis.clients.jedis.Jedis.llen

redis.clients.jedis.Jedis.lpos

redis.clients.jedis.Jedis.lrange

redis.clients.jedis.Jedis.bitfield

redis.clients.jedis.Jedis.bitfieldReadonly

redis.clients.jedis.Jedis.bitpos

redis.clients.jedis.Jedis.bitcount

redis.clients.jedis.Jedis.getbit

redis.clients.jedis.Jedis.getSet

redis.clients.jedis.Jedis.getDel

redis.clients.jedis.Jedis.getrange

redis.clients.jedis.Jedis.getEx

redis.clients.jedis.Jedis.get

redis.clients.jedis.Jedis.strlen

redis.clients.jedis.Jedis.setGet

redis.clients.jedis.Jedis.scard

redis.clients.jedis.Jedis.sismember

redis.clients.jedis.Jedis.smismember

redis.clients.jedis.Jedis.srandmember

redis.clients.jedis.Jedis.sscan

redis.clients.jedis.Jedis.zscore

redis.clients.jedis.Jedis.zcount

redis.clients.jedis.Jedis.zlexcount

redis.clients.jedis.Jedis.zmscore

redis.clients.jedis.Jedis.zrandmember

redis.clients.jedis.Jedis.zrandmemberWithScores

redis.clients.jedis.Jedis.zrange

redis.clients.jedis.Jedis.zrangeByLex

redis.clients.jedis.Jedis.zrangeByScore

redis.clients.jedis.Jedis.zrangeByScoreWithScores

redis.clients.jedis.Jedis.zrangeWithScores

redis.clients.jedis.Jedis.zrank

redis.clients.jedis.Jedis.zrevrange

redis.clients.jedis.Jedis.zrevrangeByLex

redis.clients.jedis.Jedis.zrevrangeByScore

redis.clients.jedis.Jedis.zrevrangeByScoreWithScores

redis.clients.jedis.Jedis.zrevrangeWithScores

redis.clients.jedis.Jedis.zrevrank

redis.clients.jedis.Jedis.zscan

redis.clients.jedis.Jedis.sdiff

redis.clients.jedis.Jedis.sinter

redis.clients.jedis.Jedis.sunion

redis.clients.jedis.Jedis.zdiff

redis.clients.jedis.Jedis.zinter

redis.clients.jedis.Jedis.zunion

redis.clients.jedis.Jedis.sdiffstore

redis.clients.jedis.Jedis.sinterstore

redis.clients.jedis.Jedis.sunionstore

redis.clients.jedis.Jedis.zdiffStore

redis.clients.jedis.Jedis.zinterstore

redis.clients.jedis.Jedis.zunionstore

redis.clients.jedis.Jedis.smembers

redis.clients.jedis.Jedis.mget

redis.clients.jedis.Jedis.sintercard

redis.clients.jedis.Jedis.zcard

redis.clients.jedis.Jedis.zintercard

redis.clients.jedis.Jedis.zdiffWithScores

redis.clients.jedis.Jedis.zinterWithScores

redis.clients.jedis.Jedis.zunionWithScores

redis.clients.jedis.Jedis.zrangestore

redis.clients.jedis.Jedis.zrangestorebylex

redis.clients.jedis.Jedis.zrangestorebyscore

redis.clients.jedis.Jedis.zrevrangestore

redis.clients.jedis.Jedis.zrevrangestorebylex

redis.clients.jedis.Jedis.zrevrangestorebyscore

redis.clients.jedis.Jedis.xlen

redis.clients.jedis.Jedis.xpending

redis.clients.jedis.Jedis.xrange

redis.clients.jedis.Jedis.xrevrange

Jedis Transaction Commands

redis.clients.jedis.TransactionBase.scan

redis.clients.jedis.TransactionBase.keys

redis.clients.jedis.TransactionBase.exists

redis.clients.jedis.TransactionBase.sort

redis.clients.jedis.TransactionBase.expireTime

redis.clients.jedis.TransactionBase.geodist

redis.clients.jedis.TransactionBase.geohash

redis.clients.jedis.TransactionBase.geopos

redis.clients.jedis.TransactionBase.georadius

redis.clients.jedis.TransactionBase.georadiusByMember

redis.clients.jedis.TransactionBase.georadiusByMemberReadonly

redis.clients.jedis.TransactionBase.georadiusReadonly

redis.clients.jedis.TransactionBase.geosearch

redis.clients.jedis.TransactionBase.hexists

redis.clients.jedis.TransactionBase.hget

redis.clients.jedis.TransactionBase.hgetAll

redis.clients.jedis.TransactionBase.hkeys

redis.clients.jedis.TransactionBase.hlen

redis.clients.jedis.TransactionBase.hmget

redis.clients.jedis.TransactionBase.hrandfield

redis.clients.jedis.TransactionBase.hrandfieldWithValues

redis.clients.jedis.TransactionBase.hscan

redis.clients.jedis.TransactionBase.hstrlen

redis.clients.jedis.TransactionBase.hvals

redis.clients.jedis.TransactionBase.lindex

redis.clients.jedis.TransactionBase.llen

redis.clients.jedis.TransactionBase.lpos

redis.clients.jedis.TransactionBase.lrange

redis.clients.jedis.TransactionBase.bitfield

redis.clients.jedis.TransactionBase.bitfieldReadonly

redis.clients.jedis.TransactionBase.bitpos

redis.clients.jedis.TransactionBase.bitcount

redis.clients.jedis.TransactionBase.getbit

redis.clients.jedis.TransactionBase.getSet

redis.clients.jedis.TransactionBase.getDel

redis.clients.jedis.TransactionBase.getrange

redis.clients.jedis.TransactionBase.getEx

redis.clients.jedis.TransactionBase.get

redis.clients.jedis.TransactionBase.strlen

redis.clients.jedis.TransactionBase.setGet

redis.clients.jedis.TransactionBase.mget

redis.clients.jedis.TransactionBase.scard

redis.clients.jedis.TransactionBase.sismember

redis.clients.jedis.TransactionBase.smismember

redis.clients.jedis.TransactionBase.srandmember

redis.clients.jedis.TransactionBase.sscan

redis.clients.jedis.TransactionBase.zscore

redis.clients.jedis.TransactionBase.zcount

redis.clients.jedis.TransactionBase.zlexcount

redis.clients.jedis.TransactionBase.zmscore

redis.clients.jedis.TransactionBase.zrandmember

redis.clients.jedis.TransactionBase.zrandmemberWithScores

redis.clients.jedis.TransactionBase.zrange

redis.clients.jedis.TransactionBase.zrangeByLex

redis.clients.jedis.TransactionBase.zrangeByScore

redis.clients.jedis.TransactionBase.zrangeByScoreWithScores

redis.clients.jedis.TransactionBase.zrangeWithScores

redis.clients.jedis.TransactionBase.zrank

redis.clients.jedis.TransactionBase.zrevrange

redis.clients.jedis.TransactionBase.zrevrangeByLex

redis.clients.jedis.TransactionBase.zrevrangeByScore

redis.clients.jedis.TransactionBase.zrevrangeByScoreWithScores

redis.clients.jedis.TransactionBase.zrevrangeWithScores

redis.clients.jedis.TransactionBase.zrevrank

redis.clients.jedis.TransactionBase.zscan

redis.clients.jedis.TransactionBase.sdiff

redis.clients.jedis.TransactionBase.sinter

redis.clients.jedis.TransactionBase.sunion

redis.clients.jedis.TransactionBase.zdiff

redis.clients.jedis.TransactionBase.zinter

redis.clients.jedis.TransactionBase.zunion

redis.clients.jedis.TransactionBase.sdiffstore

redis.clients.jedis.TransactionBase.sinterstore

redis.clients.jedis.TransactionBase.sunionstore

redis.clients.jedis.TransactionBase.zdiffStore

redis.clients.jedis.TransactionBase.zinterstore

redis.clients.jedis.TransactionBase.zunionstore

redis.clients.jedis.TransactionBase.smembers

redis.clients.jedis.TransactionBase.sintercard

redis.clients.jedis.TransactionBase.zcard

redis.clients.jedis.TransactionBase.zintercard

redis.clients.jedis.TransactionBase.zdiffWithScores

redis.clients.jedis.TransactionBase.zinterWithScores

redis.clients.jedis.TransactionBase.zunionWithScores

redis.clients.jedis.TransactionBase.zrangestore

redis.clients.jedis.TransactionBase.zrangestorebylex

redis.clients.jedis.TransactionBase.zrangestorebyscore

redis.clients.jedis.TransactionBase.zrevrangestore

redis.clients.jedis.TransactionBase.zrevrangestorebylex

redis.clients.jedis.TransactionBase.zrevrangestorebyscore

redis.clients.jedis.TransactionBase.xlen

redis.clients.jedis.TransactionBase.xpending

redis.clients.jedis.TransactionBase.xrange

redis.clients.jedis.TransactionBase.xrevrange

JedisCommands Commands

redis.clients.jedis.commands.KeyCommands.scan

redis.clients.jedis.commands.KeyCommands.keys

redis.clients.jedis.commands.KeyCommands.exists

redis.clients.jedis.commands.KeyCommands.sort

redis.clients.jedis.commands.KeyCommands.expireTime

redis.clients.jedis.commands.GeoCommands.geodist

redis.clients.jedis.commands.GeoCommands.geohash

redis.clients.jedis.commands.GeoCommands.geopos

redis.clients.jedis.commands.GeoCommands.georadius

redis.clients.jedis.commands.GeoCommands.georadiusByMember

redis.clients.jedis.commands.GeoCommands.georadiusByMemberReadonly

redis.clients.jedis.commands.GeoCommands.georadiusReadonly

redis.clients.jedis.commands.GeoCommands.geosearch

redis.clients.jedis.commands.HashCommands.hexists

redis.clients.jedis.commands.HashCommands.hget

redis.clients.jedis.commands.HashCommands.hgetAll

redis.clients.jedis.commands.HashCommands.hkeys

redis.clients.jedis.commands.HashCommands.hlen

redis.clients.jedis.commands.HashCommands.hmget

redis.clients.jedis.commands.HashCommands.hrandfield

redis.clients.jedis.commands.HashCommands.hrandfieldWithValues

redis.clients.jedis.commands.HashCommands.hscan

redis.clients.jedis.commands.HashCommands.hstrlen

redis.clients.jedis.commands.HashCommands.hvals

redis.clients.jedis.commands.ListCommands.lindex

redis.clients.jedis.commands.ListCommands.llen

redis.clients.jedis.commands.ListCommands.lpos

redis.clients.jedis.commands.ListCommands.lrange

redis.clients.jedis.commands.StringCommands.bitfield

redis.clients.jedis.commands.StringCommands.bitfieldReadonly

redis.clients.jedis.commands.StringCommands.bitpos

redis.clients.jedis.commands.StringCommands.bitcount

redis.clients.jedis.commands.StringCommands.getbit

redis.clients.jedis.commands.StringCommands.getSet

redis.clients.jedis.commands.StringCommands.getDel

redis.clients.jedis.commands.StringCommands.getrange

redis.clients.jedis.commands.StringCommands.getEx

redis.clients.jedis.commands.StringCommands.get

redis.clients.jedis.commands.StringCommands.strlen

redis.clients.jedis.commands.StringCommands.setGet

redis.clients.jedis.commands.StringCommands.mget

redis.clients.jedis.commands.SetCommands.scard

redis.clients.jedis.commands.SetCommands.sismember

redis.clients.jedis.commands.SetCommands.smismember

redis.clients.jedis.commands.SetCommands.srandmember

redis.clients.jedis.commands.SetCommands.sscan

redis.clients.jedis.commands.SetCommands.smembers

redis.clients.jedis.commands.SetCommands.sdiff

redis.clients.jedis.commands.SetCommands.sinter

redis.clients.jedis.commands.SetCommands.sunion

redis.clients.jedis.commands.SetCommands.sdiffstore

redis.clients.jedis.commands.SetCommands.sinterstore

redis.clients.jedis.commands.SetCommands.sunionstore

redis.clients.jedis.commands.SortedSetCommands.zscore

redis.clients.jedis.commands.SortedSetCommands.zcount

redis.clients.jedis.commands.SortedSetCommands.zlexcount

redis.clients.jedis.commands.SortedSetCommands.zmscore

redis.clients.jedis.commands.SortedSetCommands.zrandmember

redis.clients.jedis.commands.SortedSetCommands.zrandmemberWithScores

redis.clients.jedis.commands.SortedSetCommands.zrange

redis.clients.jedis.commands.SortedSetCommands.zrangeByLex

redis.clients.jedis.commands.SortedSetCommands.zrangeByScore

redis.clients.jedis.commands.SortedSetCommands.zrangeByScoreWithScores

redis.clients.jedis.commands.SortedSetCommands.zrangeWithScores

redis.clients.jedis.commands.SortedSetCommands.zrank

redis.clients.jedis.commands.SortedSetCommands.zrevrange

redis.clients.jedis.commands.SortedSetCommands.zrevrangeByLex

redis.clients.jedis.commands.SortedSetCommands.zrevrangeByScore

redis.clients.jedis.commands.SortedSetCommands.zrevrangeByScoreWithScores

redis.clients.jedis.commands.SortedSetCommands.zrevrangeWithScores

redis.clients.jedis.commands.SortedSetCommands.zrevrank

redis.clients.jedis.commands.SortedSetCommands.zscan

redis.clients.jedis.commands.SortedSetCommands.zdiff

redis.clients.jedis.commands.SortedSetCommands.zinter

redis.clients.jedis.commands.SortedSetCommands.zunion

redis.clients.jedis.commands.SortedSetCommands.zdiffStore

redis.clients.jedis.commands.SortedSetCommands.zinterstore

redis.clients.jedis.commands.SortedSetCommands.zunionstore

redis.clients.jedis.commands.SetCommands.sintercard

redis.clients.jedis.commands.SortedSetCommands.zcard

redis.clients.jedis.commands.SortedSetCommands.zintercard

redis.clients.jedis.commands.SortedSetCommands.zdiffWithScores

redis.clients.jedis.commands.SortedSetCommands.zinterWithScores

redis.clients.jedis.commands.SortedSetCommands.zunionWithScores

redis.clients.jedis.commands.SortedSetCommands.zrangestore

redis.clients.jedis.commands.SortedSetCommands.zrangestorebylex

redis.clients.jedis.commands.SortedSetCommands.zrangestorebyscore

redis.clients.jedis.commands.SortedSetCommands.zrevrangestore

redis.clients.jedis.commands.SortedSetCommands.zrevrangestorebylex

redis.clients.jedis.commands.SortedSetCommands.zrevrangestorebyscore

redis.clients.jedis.commands.StreamCommands.xlen

redis.clients.jedis.commands.StreamCommands.xpending

redis.clients.jedis.commands.StreamCommands.xrange

redis.clients.jedis.commands.StreamCommands.xrevrange

Lettuce Commands
Sync Commands

io.lettuce.core.api.sync.RedisListCommands.lindex

io.lettuce.core.api.sync.RedisListCommands.llen

io.lettuce.core.api.sync.RedisListCommands.lpos

io.lettuce.core.api.sync.RedisListCommands.lrange


io.lettuce.core.api.sync.RedisStringCommands.getdel

io.lettuce.core.api.sync.RedisStringCommands.bitopAnd

io.lettuce.core.api.sync.RedisStringCommands.bitopNot

io.lettuce.core.api.sync.RedisStringCommands.bitopOr

io.lettuce.core.api.sync.RedisStringCommands.bitopXor

io.lettuce.core.api.sync.RedisStringCommands.bitpos

io.lettuce.core.api.sync.RedisStringCommands.bitcount

io.lettuce.core.api.sync.RedisStringCommands.get

io.lettuce.core.api.sync.RedisStringCommands.getbit

io.lettuce.core.api.sync.RedisStringCommands.getex

io.lettuce.core.api.sync.RedisStringCommands.getrange

io.lettuce.core.api.sync.RedisStringCommands.mget

io.lettuce.core.api.sync.RedisStringCommands.strlen

io.lettuce.core.api.sync.RedisStringCommands.setGet

io.lettuce.core.api.sync.RedisStringCommands.getset


io.lettuce.core.api.sync.RedisGeoCommands.geosearchstore

io.lettuce.core.api.sync.RedisGeoCommands.geodist

io.lettuce.core.api.sync.RedisGeoCommands.geohash

io.lettuce.core.api.sync.RedisGeoCommands.geopos

io.lettuce.core.api.sync.RedisGeoCommands.georadius

io.lettuce.core.api.sync.RedisGeoCommands.georadiusbymember

io.lettuce.core.api.sync.RedisGeoCommands.geosearch


io.lettuce.core.api.sync.RedisHashCommands.hexists

io.lettuce.core.api.sync.RedisHashCommands.hget

io.lettuce.core.api.sync.RedisHashCommands.hgetall

io.lettuce.core.api.sync.RedisHashCommands.hkeys

io.lettuce.core.api.sync.RedisHashCommands.hvals

io.lettuce.core.api.sync.RedisHashCommands.hlen

io.lettuce.core.api.sync.RedisHashCommands.hmget

io.lettuce.core.api.sync.RedisHashCommands.hrandfield

io.lettuce.core.api.sync.RedisHashCommands.hrandfieldWithvalues

io.lettuce.core.api.sync.RedisHashCommands.hscan

io.lettuce.core.api.sync.RedisHashCommands.hstrlen


io.lettuce.core.api.sync.RedisSetCommands.scard

io.lettuce.core.api.sync.RedisSetCommands.sismember

io.lettuce.core.api.sync.RedisSetCommands.sdiff

io.lettuce.core.api.sync.RedisSetCommands.sinter

io.lettuce.core.api.sync.RedisSetCommands.sunion

io.lettuce.core.api.sync.RedisSetCommands.smembers

io.lettuce.core.api.sync.RedisSetCommands.smismember

io.lettuce.core.api.sync.RedisSetCommands.srandmember

io.lettuce.core.api.sync.RedisSetCommands.sscan

io.lettuce.core.api.sync.RedisSetCommands.sdiffstore

io.lettuce.core.api.sync.RedisSetCommands.sinterstore

io.lettuce.core.api.sync.RedisSetCommands.sunionstore

io.lettuce.core.api.sync.RedisSetCommands.sintercard


io.lettuce.core.api.sync.RedisSortedSetCommands.zscore

io.lettuce.core.api.sync.RedisSortedSetCommands.zcount

io.lettuce.core.api.sync.RedisSortedSetCommands.zlexcount

io.lettuce.core.api.sync.RedisSortedSetCommands.zmscore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrandmember

io.lettuce.core.api.sync.RedisSortedSetCommands.zrandmemberWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zrange

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangeByLex

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangeByScore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangeByScoreWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangeWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zrank

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrange

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangeByLex

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangeByScore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangeByScoreWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangeWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrank

io.lettuce.core.api.sync.RedisSortedSetCommands.zscan

io.lettuce.core.api.sync.RedisSortedSetCommands.zdiff

io.lettuce.core.api.sync.RedisSortedSetCommands.zinter

io.lettuce.core.api.sync.RedisSortedSetCommands.zunion

io.lettuce.core.api.sync.RedisSortedSetCommands.zdiffStore

io.lettuce.core.api.sync.RedisSortedSetCommands.zinterstore

io.lettuce.core.api.sync.RedisSortedSetCommands.zunionstore

io.lettuce.core.api.sync.RedisSortedSetCommands.zcard

io.lettuce.core.api.sync.RedisSortedSetCommands.zintercard

io.lettuce.core.api.sync.RedisSortedSetCommands.zdiffWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zinterWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zunionWithScores

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangestore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangestorebylex

io.lettuce.core.api.sync.RedisSortedSetCommands.zrangestorebyscore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangestore

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangestorebylex

io.lettuce.core.api.sync.RedisSortedSetCommands.zrevrangestorebyscore


io.lettuce.core.api.sync.RedisStreamCommands.xlen

io.lettuce.core.api.sync.RedisStreamCommands.xpending

io.lettuce.core.api.sync.RedisStreamCommands.xrange

io.lettuce.core.api.sync.RedisStreamCommands.xrevrange

Async Commands

io.lettuce.core.api.async.RedisListAsyncCommands.lindex

io.lettuce.core.api.async.RedisListAsyncCommands.llen

io.lettuce.core.api.async.RedisListAsyncCommands.lpos

io.lettuce.core.api.async.RedisListAsyncCommands.lrange


io.lettuce.core.api.async.RedisStringAsyncCommands.getdel

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopAnd

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopNot

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopOr

io.lettuce.core.api.async.RedisStringAsyncCommands.bitopXor

io.lettuce.core.api.async.RedisStringAsyncCommands.bitpos

io.lettuce.core.api.async.RedisStringAsyncCommands.mget

io.lettuce.core.api.async.RedisStringAsyncCommands.bitcount

io.lettuce.core.api.async.RedisStringAsyncCommands.get

io.lettuce.core.api.async.RedisStringAsyncCommands.getbit

io.lettuce.core.api.async.RedisStringAsyncCommands.getex

io.lettuce.core.api.async.RedisStringAsyncCommands.getrange

io.lettuce.core.api.async.RedisStringAsyncCommands.strlen

io.lettuce.core.api.async.RedisStringAsyncCommands.setGet

io.lettuce.core.api.async.RedisStringAsyncCommands.getset


io.lettuce.core.api.async.RedisGeoAsyncCommands.geosearchstore

io.lettuce.core.api.async.RedisGeoAsyncCommands.geodist

io.lettuce.core.api.async.RedisGeoAsyncCommands.geohash

io.lettuce.core.api.async.RedisGeoAsyncCommands.geopos

io.lettuce.core.api.async.RedisGeoAsyncCommands.georadius

io.lettuce.core.api.async.RedisGeoAsyncCommands.georadiusbymember

io.lettuce.core.api.async.RedisGeoAsyncCommands.geosearch


io.lettuce.core.api.async.RedisHashAsyncCommands.hexists

io.lettuce.core.api.async.RedisHashAsyncCommands.hget

io.lettuce.core.api.async.RedisHashAsyncCommands.hgetall

io.lettuce.core.api.async.RedisHashAsyncCommands.hkeys

io.lettuce.core.api.async.RedisHashAsyncCommands.hvals

io.lettuce.core.api.async.RedisHashAsyncCommands.hlen

io.lettuce.core.api.async.RedisHashAsyncCommands.hmget

io.lettuce.core.api.async.RedisHashAsyncCommands.hrandfield

io.lettuce.core.api.async.RedisHashAsyncCommands.hrandfieldWithvalues

io.lettuce.core.api.async.RedisHashAsyncCommands.hscan

io.lettuce.core.api.async.RedisHashAsyncCommands.hstrlen


io.lettuce.core.api.async.RedisSetAsyncCommands.scard

io.lettuce.core.api.async.RedisSetAsyncCommands.sismember

io.lettuce.core.api.async.RedisSetAsyncCommands.sdiff

io.lettuce.core.api.async.RedisSetAsyncCommands.sinter

io.lettuce.core.api.async.RedisSetAsyncCommands.sunion

io.lettuce.core.api.async.RedisSetAsyncCommands.smembers

io.lettuce.core.api.async.RedisSetAsyncCommands.smismember

io.lettuce.core.api.async.RedisSetAsyncCommands.srandmember

io.lettuce.core.api.async.RedisSetAsyncCommands.sscan

io.lettuce.core.api.async.RedisSetAsyncCommands.sdiffstore

io.lettuce.core.api.async.RedisSetAsyncCommands.sinterstore

io.lettuce.core.api.async.RedisSetAsyncCommands.sunionstore

io.lettuce.core.api.async.RedisSetAsyncCommands.sintercard


io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zscore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zcount

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zlexcount

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zmscore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrandmember

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrandmemberWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrange

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangeByLex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangeByScore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangeByScoreWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangeWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrank

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrange

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangeByLex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangeByScore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangeByScoreWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangeWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrank

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zscan

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zdiff

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zinter

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zunion

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zdiffStore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zinterstore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zunionstore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zcard

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zintercard

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zdiffWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zinterWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zunionWithScores

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangestore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangestorebylex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrangestorebyscore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangestore

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangestorebylex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrevrangestorebyscore


io.lettuce.core.api.async.RedisStreamAsyncCommands.xlen

io.lettuce.core.api.async.RedisStreamAsyncCommands.xpending

io.lettuce.core.api.async.RedisStreamAsyncCommands.xrange

io.lettuce.core.api.async.RedisStreamAsyncCommands.xrevrange

Reactive Commands

io.lettuce.core.api.reactive.RedisListReactiveCommands.lindex

io.lettuce.core.api.reactive.RedisListReactiveCommands.llen

io.lettuce.core.api.reactive.RedisListReactiveCommands.lpos

io.lettuce.core.api.reactive.RedisListReactiveCommands.lrange


io.lettuce.core.api.reactive.RedisStringReactiveCommands.getdel

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopAnd

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopNot

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopOr

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitopXor

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitpos

io.lettuce.core.api.reactive.RedisStringReactiveCommands.mget

io.lettuce.core.api.reactive.RedisStringReactiveCommands.bitcount

io.lettuce.core.api.reactive.RedisStringReactiveCommands.get

io.lettuce.core.api.reactive.RedisStringReactiveCommands.getbit

io.lettuce.core.api.reactive.RedisStringReactiveCommands.getex

io.lettuce.core.api.reactive.RedisStringReactiveCommands.getrange

io.lettuce.core.api.reactive.RedisStringReactiveCommands.strlen

io.lettuce.core.api.reactive.RedisStringReactiveCommands.setGet

io.lettuce.core.api.reactive.RedisStringReactiveCommands.getset


io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geosearchstore

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geodist

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geohash

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geopos

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.georadius

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.georadiusbymember

io.lettuce.core.api.reactive.RedisGeoReactiveCommands.geosearch


io.lettuce.core.api.reactive.RedisHashReactiveCommands.hexists

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hget

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hgetall

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hkeys

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hvals

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hlen

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hmget

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hrandfield

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hrandfieldWithvalues

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hscan

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hstrlen


io.lettuce.core.api.reactive.RedisSetReactiveCommands.scard

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sismember

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sdiff

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sinter

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sunion

io.lettuce.core.api.reactive.RedisSetReactiveCommands.smembers

io.lettuce.core.api.reactive.RedisSetReactiveCommands.smismember

io.lettuce.core.api.reactive.RedisSetReactiveCommands.srandmember

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sscan

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sdiffstore

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sinterstore

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sunionstore

io.lettuce.core.api.reactive.RedisSetReactiveCommands.sintercard


io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zscore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zcount

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zlexcount

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zmscore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrandmember

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrandmemberWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrange

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangeByLex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangeByScore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangeByScoreWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangeWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrank

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrange

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangeByLex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangeByScore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangeByScoreWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangeWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrank

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zscan

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zdiff

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zinter

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zunion

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zdiffStore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zinterstore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zunionstore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zcard

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zintercard

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zdiffWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zinterWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zunionWithScores

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangestore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangestorebylex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrangestorebyscore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangestore

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangestorebylex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrevrangestorebyscore


io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xlen

io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xpending

io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xrange

io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xrevrange

Delete
Jedis Base Commands

redis.clients.jedis.Jedis.del

redis.clients.jedis.Jedis.hdel

redis.clients.jedis.Jedis.lpop

redis.clients.jedis.Jedis.lrem

redis.clients.jedis.Jedis.ltrim

redis.clients.jedis.Jedis.rpop

redis.clients.jedis.Jedis.blpop

redis.clients.jedis.Jedis.brpop

redis.clients.jedis.Jedis.brpoplpush

redis.clients.jedis.Jedis.lmove

redis.clients.jedis.Jedis.blmove

redis.clients.jedis.Jedis.rpoplpush

redis.clients.jedis.Jedis.lpop

redis.clients.jedis.Jedis.rpop

redis.clients.jedis.Jedis.getDel

redis.clients.jedis.Jedis.spop

redis.clients.jedis.Jedis.srem

redis.clients.jedis.Jedis.smove

redis.clients.jedis.Jedis.bzpopmax

redis.clients.jedis.Jedis.bzpopmin

redis.clients.jedis.Jedis.zpopmax

redis.clients.jedis.Jedis.zpopmin

redis.clients.jedis.Jedis.zrem

redis.clients.jedis.Jedis.zremrangeByLex

redis.clients.jedis.Jedis.zremrangeByRank

redis.clients.jedis.Jedis.zremrangeByScore

redis.clients.jedis.Jedis.xtrim

redis.clients.jedis.Jedis.xdel

Jedis Transaction Commands

redis.clients.jedis.TransactionBase.del

redis.clients.jedis.TransactionBase.hdel

redis.clients.jedis.TransactionBase.lpop

redis.clients.jedis.TransactionBase.lrem

redis.clients.jedis.TransactionBase.ltrim

redis.clients.jedis.TransactionBase.rpop

redis.clients.jedis.TransactionBase.blpop

redis.clients.jedis.TransactionBase.brpop

redis.clients.jedis.TransactionBase.brpoplpush

redis.clients.jedis.TransactionBase.lmove

redis.clients.jedis.TransactionBase.blmove

redis.clients.jedis.TransactionBase.rpoplpush

redis.clients.jedis.TransactionBase.lpop

redis.clients.jedis.TransactionBase.rpop

redis.clients.jedis.TransactionBase.getDel

redis.clients.jedis.TransactionBase.spop

redis.clients.jedis.TransactionBase.srem

redis.clients.jedis.TransactionBase.smove

redis.clients.jedis.TransactionBase.bzpopmax

redis.clients.jedis.TransactionBase.bzpopmin

redis.clients.jedis.TransactionBase.zpopmax

redis.clients.jedis.TransactionBase.zpopmin

redis.clients.jedis.TransactionBase.zrem

redis.clients.jedis.TransactionBase.zremrangeByLex

redis.clients.jedis.TransactionBase.zremrangeByRank

redis.clients.jedis.TransactionBase.zremrangeByScore

redis.clients.jedis.TransactionBase.xtrim

redis.clients.jedis.TransactionBase.xdel

JedisCommands Commands

redis.clients.jedis.commands.KeyCommands.del

redis.clients.jedis.commands.HashCommands.hdel

redis.clients.jedis.commands.ListCommands.lpop

redis.clients.jedis.commands.ListCommands.lrem

redis.clients.jedis.commands.ListCommands.ltrim

redis.clients.jedis.commands.ListCommands.rpop

redis.clients.jedis.commands.ListCommands.blpop

redis.clients.jedis.commands.ListCommands.brpop

redis.clients.jedis.commands.ListCommands.brpoplpush

redis.clients.jedis.commands.ListCommands.lmove

redis.clients.jedis.commands.ListCommands.blmove

redis.clients.jedis.commands.ListCommands.rpoplpush

redis.clients.jedis.commands.ListCommands.lpop

redis.clients.jedis.commands.ListCommands.rpop

redis.clients.jedis.commands.StringCommands.getDel

redis.clients.jedis.commands.SetCommands.spop

redis.clients.jedis.commands.SetCommands.srem

redis.clients.jedis.commands.SetCommands.smove

redis.clients.jedis.commands.SortedSetCommands.bzpopmax

redis.clients.jedis.commands.SortedSetCommands.bzpopmin

redis.clients.jedis.commands.SortedSetCommands.zpopmax

redis.clients.jedis.commands.SortedSetCommands.zpopmin

redis.clients.jedis.commands.SortedSetCommands.zrem

redis.clients.jedis.commands.SortedSetCommands.zremrangeByLex

redis.clients.jedis.commands.SortedSetCommands.zremrangeByRank

redis.clients.jedis.commands.SortedSetCommands.zremrangeByScore

redis.clients.jedis.commands.StreamCommands.xtrim

redis.clients.jedis.commands.StreamCommands.xdel

Lettuce Commands
Sync Commands

io.lettuce.core.api.sync.RedisListCommands.blmove

io.lettuce.core.api.sync.RedisListCommands.lmove

io.lettuce.core.api.sync.RedisListCommands.rpoplpush

io.lettuce.core.api.sync.RedisListCommands.brpoplpush

io.lettuce.core.api.sync.RedisListCommands.blmpop

io.lettuce.core.api.sync.RedisListCommands.blpop

io.lettuce.core.api.sync.RedisListCommands.brpop

io.lettuce.core.api.sync.RedisListCommands.lmpop

io.lettuce.core.api.sync.RedisListCommands.lpop

io.lettuce.core.api.sync.RedisListCommands.rpop

io.lettuce.core.api.sync.RedisListCommands.lrem

io.lettuce.core.api.sync.RedisListCommands.ltrim


io.lettuce.core.api.sync.RedisStringCommands.getdel


io.lettuce.core.api.sync.RedisHashCommands.hdel


io.lettuce.core.api.sync.RedisSetCommands.spop

io.lettuce.core.api.sync.RedisSetCommands.srem

io.lettuce.core.api.sync.RedisSetCommands.smove


io.lettuce.core.api.sync.RedisSortedSetCommands.bzpopmax

io.lettuce.core.api.sync.RedisSortedSetCommands.bzpopmin

io.lettuce.core.api.sync.RedisSortedSetCommands.zpopmax

io.lettuce.core.api.sync.RedisSortedSetCommands.zpopmin

io.lettuce.core.api.sync.RedisSortedSetCommands.zrem

io.lettuce.core.api.sync.RedisSortedSetCommands.zremrangeByLex

io.lettuce.core.api.sync.RedisSortedSetCommands.zremrangeByRank

io.lettuce.core.api.sync.RedisSortedSetCommands.zremrangeByScore


io.lettuce.core.api.sync.RedisStreamCommands.xtrim

io.lettuce.core.api.sync.RedisStreamCommands.xdel

Async Commands

io.lettuce.core.api.async.RedisListAsyncCommands.blmove

io.lettuce.core.api.async.RedisListAsyncCommands.lmove

io.lettuce.core.api.async.RedisListAsyncCommands.rpoplpush

io.lettuce.core.api.async.RedisListAsyncCommands.brpoplpush

io.lettuce.core.api.async.RedisListAsyncCommands.blmpop

io.lettuce.core.api.async.RedisListAsyncCommands.blpop

io.lettuce.core.api.async.RedisListAsyncCommands.brpop

io.lettuce.core.api.async.RedisListAsyncCommands.lmpop

io.lettuce.core.api.async.RedisListAsyncCommands.lpop

io.lettuce.core.api.async.RedisListAsyncCommands.rpop

io.lettuce.core.api.async.RedisListAsyncCommands.lrem

io.lettuce.core.api.async.RedisListAsyncCommands.ltrim


io.lettuce.core.api.async.RedisStringAsyncCommands.getdel


io.lettuce.core.api.async.RedisHashAsyncCommands.hdel


io.lettuce.core.api.async.RedisSetAsyncCommands.spop

io.lettuce.core.api.async.RedisSetAsyncCommands.srem

io.lettuce.core.api.async.RedisSetAsyncCommands.smove


io.lettuce.core.api.async.RedisSortedSetAsyncCommands.bzpopmax

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.bzpopmin

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zpopmax

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zpopmin

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zrem

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zremrangeByLex

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zremrangeByRank

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zremrangeByScore


io.lettuce.core.api.async.RedisStreamAsyncCommands.xtrim

io.lettuce.core.api.async.RedisStreamAsyncCommands.xdel

Reactive Commands

io.lettuce.core.api.reactive.RedisListReactiveCommands.blmove

io.lettuce.core.api.reactive.RedisListReactiveCommands.lmove

io.lettuce.core.api.reactive.RedisListReactiveCommands.rpoplpush

io.lettuce.core.api.reactive.RedisListReactiveCommands.brpoplpush

io.lettuce.core.api.reactive.RedisListReactiveCommands.blmpop

io.lettuce.core.api.reactive.RedisListReactiveCommands.blpop

io.lettuce.core.api.reactive.RedisListReactiveCommands.brpop

io.lettuce.core.api.reactive.RedisListReactiveCommands.lmpop

io.lettuce.core.api.reactive.RedisListReactiveCommands.lpop

io.lettuce.core.api.reactive.RedisListReactiveCommands.rpop

io.lettuce.core.api.reactive.RedisListReactiveCommands.lrem

io.lettuce.core.api.reactive.RedisListReactiveCommands.ltrim


io.lettuce.core.api.reactive.RedisStringReactiveCommands.getdel


io.lettuce.core.api.reactive.RedisHashReactiveCommands.hdel


io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.spop

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.srem

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.smove


io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.bzpopmax

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.bzpopmin

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zpopmax

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zpopmin

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zrem

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zremrangeByLex

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zremrangeByRank

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zremrangeByScore


io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xtrim

io.lettuce.core.api.reactive.RedisStreamReactiveCommands.xdel

Update
Jedis Base Commands

redis.clients.jedis.Jedis.hincrBy

redis.clients.jedis.Jedis.hincrByFloat

redis.clients.jedis.Jedis.decr

redis.clients.jedis.Jedis.decrBy

redis.clients.jedis.Jedis.incr

redis.clients.jedis.Jedis.incrBy

redis.clients.jedis.Jedis.incrByFloat

redis.clients.jedis.Jedis.zaddIncr

redis.clients.jedis.Jedis.zincrby

Jedis Transaction Commands

redis.clients.jedis.TransactionBase.hincrBy

redis.clients.jedis.TransactionBase.hincrByFloat

redis.clients.jedis.TransactionBase.decr

redis.clients.jedis.TransactionBase.decrBy

redis.clients.jedis.TransactionBase.incr

redis.clients.jedis.TransactionBase.incrBy

redis.clients.jedis.TransactionBase.incrByFloat

redis.clients.jedis.TransactionBase.zaddIncr

redis.clients.jedis.TransactionBase.zincrby

JedisCommands Commands

redis.clients.jedis.commands.HashCommands.hincrBy

redis.clients.jedis.commands.HashCommands.hincrByFloat

redis.clients.jedis.commands.StringCommands.decr

redis.clients.jedis.commands.StringCommands.decrBy

redis.clients.jedis.commands.StringCommands.incr

redis.clients.jedis.commands.StringCommands.incrBy

redis.clients.jedis.commands.StringCommands.incrByFloat

redis.clients.jedis.commands.SortedSetCommands.zaddIncr

redis.clients.jedis.commands.SortedSetCommands.zincrby

Lettuce Commands
Sync Commands

io.lettuce.core.api.sync.RedisStringCommands.decr

io.lettuce.core.api.sync.RedisStringCommands.decrby

io.lettuce.core.api.sync.RedisStringCommands.incr

io.lettuce.core.api.sync.RedisStringCommands.incrby

io.lettuce.core.api.sync.RedisStringCommands.incrbyfloat


io.lettuce.core.api.sync.RedisHashCommands.hincrby

io.lettuce.core.api.sync.RedisHashCommands.hincrbyfloat


io.lettuce.core.api.sync.RedisSortedSetCommands.zaddIncr

io.lettuce.core.api.sync.RedisSortedSetCommands.zincrby

Async Commands

io.lettuce.core.api.async.RedisStringAsyncCommands.decr

io.lettuce.core.api.async.RedisStringAsyncCommands.decrby

io.lettuce.core.api.async.RedisStringAsyncCommands.incr

io.lettuce.core.api.async.RedisStringAsyncCommands.incrby

io.lettuce.core.api.async.RedisStringAsyncCommands.incrbyfloat


io.lettuce.core.api.async.RedisHashAsyncCommands.hincrby

io.lettuce.core.api.async.RedisHashAsyncCommands.hincrbyfloat


io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zaddIncr

io.lettuce.core.api.async.RedisSortedSetAsyncCommands.zincrby

Reactive Commands

io.lettuce.core.api.reactive.RedisStringReactiveCommands.decr

io.lettuce.core.api.reactive.RedisStringReactiveCommands.decrby

io.lettuce.core.api.reactive.RedisStringReactiveCommands.incr

io.lettuce.core.api.reactive.RedisStringReactiveCommands.incrby

io.lettuce.core.api.reactive.RedisStringReactiveCommands.incrbyfloat


io.lettuce.core.api.reactive.RedisHashReactiveCommands.hincrby

io.lettuce.core.api.reactive.RedisHashReactiveCommands.hincrbyfloat


io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zaddIncr

io.lettuce.core.api.reactive.RedisSortedSetReactiveCommands.zincrby

Objects

Icon

Description

Java Redis Connection

Java Redis Collection

Java Unknown Redis Connection

Java Unknown Redis Collection
Link type When is this created? Methods Supported
belongsTo

From Redis collection object to Redis connection object 

-
useSelectLink Between the caller Java method object and Redis collection object

lrange

smembers

zscore

zrevrange

hget

hgetAll

keys

get

getbit

getex

getrange

mget

strlen

useInsertLink Between the caller Java method object and Redis collection object

 lpush

 rpush

 hmset

 sadd

 zadd

 hset

 set

geoadd

hmset

hset

hsetnx

useDeleteLink

Between the caller Java method object and Redis collection object

del

lrem

lpop

rpop

srem

spop

zrem

hdel

spop

srem

useUpdateLink Between the caller Java method object and Redis collection object

hincrby

hincrbyfloat

hincrby

hincrbyfloat

decr

decrby

incr

incrby

incrbyfloat

What results can you expect?

Once the analysis/snapshot generation has completed, you can view the results in the normal manner (for example via CAST Enlighten). Some examples are shown below.

Redis Connection

Jedis Connection

public class RedisService {

public static String server = "localhost";

public Boolean addEmployee(Employee employee) {
Jedis jedis = new Jedis(server);
}

# for unknown 
public void addDeptInfo(String key, String data) {
Jedis jedis = new Jedis(RedisProperties.connection);
jedis.set(key, data);
}

}

Lettuce Connection

public static void main(String[] args) {
        RedisClient client = RedisClient.create("redis://localhost");
        StatefulRedisConnection<String, String> connection = client.connect();
        
        RedisHashCommands<String, String> hashCommands = connection.sync().commands();
        
        KeyValueStreamingChannel<String, String> channel = new KeyValueStreamingChannel<String, String>() {
            @Override
            public void onKeyValue(String key, String value) {
                System.out.println(key + " => " + value);
            }
        };
}

Insert Operation

Jedis Insert Operation

//adding employee in a redis list
public Boolean addEmployee(Employee employee) {
    Jedis jedis = new Jedis(server);
    Employee emp = new Employee();
    emp=getEmployee(employee.getEmployeeId());
    jedis.lpush("employeelist", employee.toString());
    return true;
}
 
 
//add departments in a set
public void addDept(String dept) {
    Jedis jedis = new Jedis(server);
    jedis.sadd("departments", dept);
}

Lettuce Insert Operation

Lettuce Insert Operation

// Inserts field=value to myhash
public void set_operation(RedisHashCommands hashCommands){
    hashCommands.hset("myhash", "field1", "value1");
    hashCommands.hset("myhash", "field2", "value2");
    hashCommands.hset("myhash", "field3", "value3");
}

Select Operation

Jedis Select Operation

//get all employees from employee list
public List<Employee> getAllEmployee(){
    List<Employee> employeeList = new ArrayList<>();
    Jedis jedis = new Jedis(server);
    List<String> employees = jedis.lrange("employeelist", 0, jedis.llen("employeelist"));
    for (String employee: employees) {
        String[] emp1=employee.split(",");
        Employee emp = new Employee(Integer.parseInt(emp1[0]), emp1[1], emp1[2]);
        employeeList.add(emp);
    }
    return employeeList;
}
 
 
//get all departments from set
public Set<String> getDepts() {
    Jedis jedis = new Jedis(server);
    return jedis.smembers("departments");
}

Lettuce Select Operation

// retrieves all the data from myhash
public void get_operation(RedisHashCommands hashCommands, KeyValueStreamingChannel channel){
    hashCommands.hgetall(channel, "myhash");
}

Delete Operation

Jedis Delete Operation

// delete first visitor from visitors set
public Visitor deleteVisitor() {
    Jedis jedis = new Jedis(server);
    Map<String,Integer> visitors = get_Visitors();
    Visitor vis = new Visitor();
    for (Map.Entry<String, Integer> visitor : visitors.entrySet()) {
        vis.setName(visitor.getKey());
        vis.setId(jedis.zscore("visitors", visitor.getKey()));
        break;
    }
    jedis.zrem("visitors", vis.getName());
    return vis;
}
 
//delete department information from cache
public String deleteDeptInfo(String key) {
    Jedis jedis = new Jedis(server);
    String value = jedis.get(key);
    jedis.del(key);
    return key + " = " + value + " successfully deleted";
}

Lettuce Delete Operation

// Deletes field3 and field4 from myhash
public void del_operation(RedisHashCommands hashCommands){
    hashCommands.hdel("myhash", "field3", "field4");
}

Update Operation

Jedis Update Operation

public class Example {
    public static void main(String[] args) {
    // Create a new Jedis instance connected to Redis
    Jedis jedis = new Jedis("localhost");

    // Set the initial value of a key "mycounter" to 10
    jedis.set("mycounter", "10");

    // Decrement the value of "mycounter" by 3 using decrBy method
    Long newCounterValue = jedis.decrBy("mycounter", 3);

    // Retrieving the elements of mycounter
    System.out.println("Elements in mycounter: " + jedis.smembers("mycounter"));

    // Close the Jedis instance
    jedis.close();
    }
}

Lettuce Update Operation

// Updates myhash field4 by 10
public void update_operation(RedisHashCommands hashCommands){
    hashCommands.hincrby("myhash", "field4", 10);
}

Jedis Commands

Insert Command

void set_value(){
        // Add some fields to the hash
        transaction.hset("myhash", "field1", "3");
        transaction.hset("myhash", "field2", "2");
        transaction.hset("myhash", "field3", "3");
        
        // Execute the transaction
        transaction.exec_();
        
    }   

Select Command

   void get_value() {
        // Retrieve the values after the transaction
        System.out.println(transaction.hget("myhash", "field1"));
    }

Delete Command

void del_value() {
// Perform hdel operation within a transaction
transaction.hdel("myhash", "field3");

// Execute the transaction
transaction.exec_();
}

Update Command

void incr_value() {
        // Perform hincrBy operation within a transaction
        transaction.hincrBy("myhash", "field1", 5);
        
        // Execute the transaction
        transaction.exec_();
        
}

Lettuce Commands

Insert Command

public void set_operation(RedisHashCommands hashCommands){
        hashCommands.hset("myhash", "field1", "value1");
        hashCommands.hset("myhash", "field2", "value2");
        hashCommands.hset("myhash", "field3", "value3");
}

Select Command

public void get_operation(RedisHashCommands hashCommands, KeyValueStreamingChannel channel){
        hashCommands.hgetall(channel, "myhash");
} 

Delete Command

public void del_operation(RedisHashCommands hashCommands){
        hashCommands.hdel("myhash", "field3", "field4");
}

Update Command

public void update_operation(RedisHashCommands hashCommands){
        hashCommands.hincrby("myhash", "field4", 10);
}

Known Limitations

  • Unknown Redis connection/collection objects are created in case of unresolved names.