Interface DefaultedRedisConnection
- All Superinterfaces:
- RedisCommands,- RedisCommandsProvider,- RedisConnectionCommands,- RedisGeoCommands,- RedisHashCommands,- RedisHyperLogLogCommands,- RedisKeyCommands,- RedisListCommands,- RedisPubSubCommands,- RedisScriptingCommands,- RedisServerCommands,- RedisSetCommands,- RedisStreamCommands,- RedisStringCommands,- RedisTxCommands,- RedisZSetCommands
- All Known Subinterfaces:
- DefaultedRedisClusterConnection,- RedisClusterConnection,- RedisConnection,- RedisConnectionUtils.RedisConnectionProxy,- StringRedisConnection
- All Known Implementing Classes:
- AbstractRedisConnection,- DefaultStringRedisConnection,- JedisClusterConnection,- JedisConnection,- LettuceClusterConnection,- LettuceConnection
Deprecated.
DefaultedRedisConnection provides method delegates to Redis*Command interfaces accessible via
 RedisConnection. This allows us to maintain backwards compatibility while moving the actual implementation
 and stay in sync with ReactiveRedisConnection. Going forward the RedisCommands extension is likely to
 be removed from RedisConnection.- Since:
- 2.0
- Author:
- Christoph Strobl, Mark Paluch, Tugdual Grall, Andrey Shlykov, dengliming, ihaohong, Dennis Neufeld, Shyngys Sapraliyev
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisGeoCommandsRedisGeoCommands.DistanceUnit, RedisGeoCommands.GeoCommandArgs, RedisGeoCommands.GeoLocation<T>, RedisGeoCommands.GeoRadiusCommandArgs, RedisGeoCommands.GeoSearchCommandArgs, RedisGeoCommands.GeoSearchStoreCommandArgsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisListCommandsRedisListCommands.Direction, RedisListCommands.PositionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisServerCommandsRedisServerCommands.FlushOption, RedisServerCommands.MigrateOption, RedisServerCommands.ShutdownOptionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStreamCommandsRedisStreamCommands.XAddOptions, RedisStreamCommands.XClaimOptions, RedisStreamCommands.XPendingOptionsNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisStringCommandsRedisStringCommands.BitOperation, RedisStringCommands.SetOptionNested classes/interfaces inherited from interface org.springframework.data.redis.connection.RedisZSetCommandsRedisZSetCommands.Limit, RedisZSetCommands.Range, RedisZSetCommands.ZAddArgs
- 
Method SummaryModifier and TypeMethodDescriptiondefault Longappend(byte[] key, byte[] value) Deprecated.default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidbgSave()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default LongbitCount(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongbitCount(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.bitField(byte[] key, BitFieldSubCommands subCommands) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongbitOp(RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]bLMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>bLPop(int timeout, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>bRPop(int timeout, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]bRPopLPush(int timeout, byte[] srcKey, byte[] dstKey) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default TupleDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TupleDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Booleancopy(byte[] sourceKey, byte[] targetKey, boolean replace) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongdbSize()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default Longdecr(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongdecrBy(byte[] key, long value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Longdel(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default byte[]dump(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default ValueEncodingencodingOf(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default <T> Teval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default <T> TevalSha(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default <T> TevalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default Booleanexists(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longexists(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Booleanexpire(byte[] key, long seconds) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanexpireAt(byte[] key, long unixTime) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidflushAll()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidflushDb()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default LonggeoAdd(byte[] key, Iterable<RedisGeoCommands.GeoLocation<byte[]>> locations) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.default DistancegeoDist(byte[] key, byte[] member1, byte[] member2) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default DistanceDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.geoHash(byte[] key, byte[]... members) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.geoPos(byte[] key, byte[]... members) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoRadius(byte[] key, Circle within, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoRadiusByMember(byte[] key, byte[] member, Distance radius) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoRadiusByMember(byte[] key, byte[] member, Distance radius, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LonggeoRemove(byte[] key, byte[]... members) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default GeoResults<RedisGeoCommands.GeoLocation<byte[]>>geoSearch(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default LonggeoSearchStore(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.default byte[]get(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleangetBit(byte[] key, long offset) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default List<RedisClientInfo>Deprecated.in favor ofRedisCommandsProvider.serverCommands().default StringDeprecated.in favor ofRedisCommandsProvider.serverCommands().default PropertiesDeprecated.in favor ofRedisCommandsProvider.serverCommands().default byte[]getDel(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]getEx(byte[] key, Expiration expiration) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]getRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default byte[]getSet(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LonghDel(byte[] key, byte[]... fields) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default BooleanhExists(byte[] key, byte[] field) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default byte[]hGet(byte[] key, byte[] field) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Map<byte[],byte[]> hGetAll(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default DoublehIncrBy(byte[] key, byte[] field, double delta) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default LonghIncrBy(byte[] key, byte[] field, long delta) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Set<byte[]>hKeys(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default LonghLen(byte[] key) Deprecated.Get size of hash atkey.default List<byte[]>hMGet(byte[] key, byte[]... fields) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default voidDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.default byte[]hRandField(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default List<byte[]>hRandField(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Map.Entry<byte[],byte[]> hRandFieldWithValues(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.hRandFieldWithValues(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.hScan(byte[] key, ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default BooleanhSet(byte[] key, byte[] field, byte[] value) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default BooleanhSetNX(byte[] key, byte[] field, byte[] value) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default LonghStrLen(byte[] key, byte[] field) Deprecated.in favor ofRedisCommandsProvider.hashCommands().default List<byte[]>hVals(byte[] key) Deprecated.in favor ofRedisCommandsProvider.hashCommands()}.default Durationidletime(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longincr(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default DoubleincrBy(byte[] key, double value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongincrBy(byte[] key, long value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Propertiesinfo()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default PropertiesDeprecated.in favor ofRedisCommandsProvider.serverCommands().default Set<byte[]>keys(byte[] pattern) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidkillClient(String host, int port) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default LonglastSave()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default byte[]lIndex(byte[] key, long index) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglInsert(byte[] key, RedisListCommands.Position where, byte[] pivot, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglLen(byte[] key) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]lMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]lPop(byte[] key) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>lPop(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglPush(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglPushX(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>lRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LonglRem(byte[] key, long count, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default voidlSet(byte[] key, long index, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default voidlTrim(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>mGet(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidmigrate(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidmigrate(byte[] key, RedisNode target, int dbIndex, RedisServerCommands.MigrateOption option, long timeout) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default Booleanmove(byte[] key, int dbIndex) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleanDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Booleanpersist(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanpExpire(byte[] key, long millis) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanpExpireAt(byte[] key, long unixTimeInMillis) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongpfAdd(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().default LongpfCount(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().default voidpfMerge(byte[] destinationKey, byte[]... sourceKeys) Deprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().default BooleanpSetEx(byte[] key, long milliseconds, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default LongpTtl(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongDeprecated.in favor ofRedisCommandsProvider.keyCommands().default byte[]Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longrefcount(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidrename(byte[] oldKey, byte[] newKey) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default BooleanrenameNX(byte[] sourceKey, byte[] targetKey) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default voidrestore(byte[] key, long ttlInMillis, byte[] serializedValue, boolean replace) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default byte[]rPop(byte[] key) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default List<byte[]>rPop(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default byte[]rPopLPush(byte[] srcKey, byte[] dstKey) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LongrPush(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LongrPushX(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.default LongsAdd(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default voidsave()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default Cursor<byte[]>scan(ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongsCard(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.scriptExists(String... scriptShas) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default voidDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().default voidDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().default StringscriptLoad(byte[] script) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().default Set<byte[]>sDiff(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsDiffStore(byte[] destKey, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Booleanset(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Booleanset(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleansetBit(byte[] key, long offset, boolean value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidsetClientName(byte[] name) Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default BooleansetEx(byte[] key, long seconds, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default BooleansetNX(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidsetRange(byte[] key, byte[] value, long offset) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default voidshutdown()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default voidDeprecated.in favor ofRedisCommandsProvider.serverCommands().default Set<byte[]>sInter(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsInterStore(byte[] destKey, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default BooleansIsMember(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Set<byte[]>sMembers(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.sMIsMember(byte[] key, byte[]... value) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default BooleansMove(byte[] srcKey, byte[] destKey, byte[] value) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default List<byte[]>sort(byte[] key, SortParameters params) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longsort(byte[] key, SortParameters params, byte[] sortKey) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default byte[]sPop(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default List<byte[]>sPop(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default byte[]sRandMember(byte[] key) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default List<byte[]>sRandMember(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsRem(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Cursor<byte[]>sScan(byte[] key, ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongstrLen(byte[] key) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.default Set<byte[]>sUnion(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default LongsUnionStore(byte[] destKey, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.setCommands()}.default Longtime()Deprecated.in favor ofRedisCommandsProvider.serverCommands().default LongDeprecated.in favor ofRedisCommandsProvider.serverCommands().default Longtouch(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longttl(byte[] key) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongDeprecated.in favor ofRedisCommandsProvider.keyCommands().default DataTypetype(byte[] pattern) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default Longunlink(byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.keyCommands().default LongDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.default RecordIdxAdd(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xClaim(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StringxGroupCreate(byte[] key, String groupName, ReadOffset readOffset) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StringxGroupCreate(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default BooleanxGroupDelConsumer(byte[] key, Consumer consumer) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default BooleanxGroupDestroy(byte[] key, String groupName) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StreamInfo.XInfoStreamxInfo(byte[] key) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StreamInfo.XInfoConsumersxInfoConsumers(byte[] key, String groupName) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default StreamInfo.XInfoGroupsxInfoGroups(byte[] key) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongxLen(byte[] key) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default PendingMessagesSummaryDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.default PendingMessagesxPending(byte[] key, String groupName, RedisStreamCommands.XPendingOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xRead(StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xReadGroup(Consumer consumer, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default List<ByteRecord>Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongxTrim(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.default LongxTrim(byte[] key, long count, boolean approximateTrimming) Deprecated.default BooleanzAdd(byte[] key, double score, byte[] value, RedisZSetCommands.ZAddArgs args) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzAdd(byte[] key, Set<Tuple> tuples, RedisZSetCommands.ZAddArgs args) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzCard(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzCount(byte[] key, double min, double max) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zDiff(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzDiffStore(byte[] destKey, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zDiffWithScores(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default DoublezIncrBy(byte[] key, double increment, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zInter(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzInterStore(byte[] destKey, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzInterStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzInterStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zInterWithScores(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zInterWithScores(Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zInterWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zMScore(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TuplezPopMax(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zPopMax(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TuplezPopMin(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zPopMin(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default byte[]zRandMember(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default List<byte[]>zRandMember(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default TuplezRandMemberWithScore(byte[] key) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRandMemberWithScore(byte[] key, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByLex(byte[] key, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByScore(byte[] key, String min, String max) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByScore(byte[] key, String min, String max, long offset, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreRevByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRangeStoreRevByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRangeWithScores(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRank(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRem(byte[] key, byte[]... values) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRangeByLex(byte[] key, Range<byte[]> range) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRangeByScore(byte[] key, double min, double max) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRemRangeByScore(byte[] key, Range<? extends Number> range) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRevRange(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRevRangeByLex(byte[] key, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zRevRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRevRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zRevRangeWithScores(byte[] key, long start, long end) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzRevRank(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zScan(byte[] key, ScanOptions options) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default DoublezScore(byte[] key, byte[] value) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default Set<byte[]>zUnion(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzUnionStore(byte[] destKey, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzUnionStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.default LongzUnionStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zUnionWithScores(byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zUnionWithScores(Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.zUnionWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Methods inherited from interface org.springframework.data.redis.connection.RedisCommandsexecuteMethods inherited from interface org.springframework.data.redis.connection.RedisCommandsProvidercommands, geoCommands, hashCommands, hyperLogLogCommands, keyCommands, listCommands, scriptingCommands, serverCommands, setCommands, streamCommands, stringCommands, zSetCommandsMethods inherited from interface org.springframework.data.redis.connection.RedisConnectionCommandsecho, ping, selectMethods inherited from interface org.springframework.data.redis.connection.RedisGeoCommandsgeoAdd, geoRadiusByMemberMethods inherited from interface org.springframework.data.redis.connection.RedisKeyCommandsrestore, scanMethods inherited from interface org.springframework.data.redis.connection.RedisListCommandslPosMethods inherited from interface org.springframework.data.redis.connection.RedisPubSubCommandsgetSubscription, isSubscribed, pSubscribe, publish, subscribeMethods inherited from interface org.springframework.data.redis.connection.RedisStreamCommandsxAck, xAdd, xAdd, xClaim, xDel, xGroupDelConsumer, xPending, xPending, xPending, xPending, xPendingMethods inherited from interface org.springframework.data.redis.connection.RedisStringCommandsbitPosMethods inherited from interface org.springframework.data.redis.connection.RedisTxCommandsdiscard, exec, multi, unwatch, watchMethods inherited from interface org.springframework.data.redis.connection.RedisZSetCommandszAdd, zAdd, zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeStoreByLex, zRangeStoreByScore, zRangeStoreRevByLex, zRangeStoreRevByScore, zRevRangeByLex, zRevRangeByLex, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores
- 
Method Details- 
copyDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsCopy givensourceKeytotargetKey.- Specified by:
- copyin interface- RedisKeyCommands
- Parameters:
- sourceKey- must not be null.
- targetKey- must not be null.
- replace- whether to replace existing keys.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
existsDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsDetermine if givenkeyexists.- Specified by:
- existsin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- true if key exists. null when used in pipeline / transaction.
- See Also:
 
- 
existsDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsCount how many of the givenkeysexist. Providing the very samekeymore than once also counts multiple times.- Specified by:
- existsin interface- RedisKeyCommands
- Parameters:
- keys- must not be null.
- Returns:
- the number of keys existing among the ones specified as arguments. null when used in pipeline / transaction.
 
- 
delDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsDelete givenkeys.- Specified by:
- delin interface- RedisKeyCommands
- Parameters:
- keys- must not be null.
- Returns:
- The number of keys that were removed. null when used in pipeline / transaction.
- See Also:
 
- 
unlinkDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsUnlink thekeysfrom the keyspace. Unlike withRedisKeyCommands.del(byte[]...)the actual memory reclaiming here happens asynchronously.- Specified by:
- unlinkin interface- RedisKeyCommands
- Parameters:
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
typeDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsDetermine the type stored atkey.- Specified by:
- typein interface- RedisKeyCommands
- Parameters:
- pattern- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
touchDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsAlter the last access time of givenkey(s).- Specified by:
- touchin interface- RedisKeyCommands
- Parameters:
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
keysDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRetrieve all keys matching the given pattern.IMPORTANT: The KEYS command is non-interruptible and scans the entire keyspace which may cause performance issues. Consider RedisKeyCommands.scan(ScanOptions)for large datasets.- Specified by:
- keysin interface- RedisKeyCommands
- Parameters:
- pattern- must not be null.
- Returns:
- empty Setif no match found. null when used in pipeline / transaction.
- See Also:
 
- 
scanDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsUse aCursorto iterate over keys.- Specified by:
- scanin interface- RedisKeyCommands
- Parameters:
- options- must not be null.
- Returns:
- never null.
- See Also:
 
- 
randomKeyDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsReturn a random key from the keyspace.- Specified by:
- randomKeyin interface- RedisKeyCommands
- Returns:
- null if no keys available or when used in pipeline or transaction.
- See Also:
 
- 
renameDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRename keyoldKeytonewKey.- Specified by:
- renamein interface- RedisKeyCommands
- Parameters:
- oldKey- must not be null.
- newKey- must not be null.
- See Also:
 
- 
renameNXDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRename keyoldKeytonewKeyonly ifnewKeydoes not exist.- Specified by:
- renameNXin interface- RedisKeyCommands
- Parameters:
- sourceKey- must not be null.
- targetKey- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
expireDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet time to live for givenkeyin seconds.- Specified by:
- expirein interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
persistDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRemove the expiration from givenkey.- Specified by:
- persistin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
moveDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsMove givenkeyto database withindex.- Specified by:
- movein interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
restore@Deprecated default void restore(byte[] key, long ttlInMillis, byte[] serializedValue, boolean replace) Deprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommands- Specified by:
- restorein interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- serializedValue- must not be null.
- replace- use true to replace a potentially existing value instead of erroring.
- See Also:
 
- 
pTtlDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the precise time to live forkeyin milliseconds.- Specified by:
- pTtlin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pTtlDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the precise time to live forkeyin and convert it to the givenTimeUnit.- Specified by:
- pTtlin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- timeUnit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pExpireDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet time to live for givenkeyin milliseconds.- Specified by:
- pExpirein interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pExpireAtDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet the expiration for givenkeyas a UNIX timestamp in milliseconds.- Specified by:
- pExpireAtin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
expireAtDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSet the expiration for givenkeyas a UNIX timestamp.- Specified by:
- expireAtin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
ttlDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the time to live forkeyin seconds.- Specified by:
- ttlin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
ttlDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the time to live forkeyin and convert it to the givenTimeUnit.- Specified by:
- ttlin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- timeUnit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
dumpDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsRetrieve serialized version of the value stored atkey.- Specified by:
- dumpin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
sortDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSort the elements forkey.- Specified by:
- sortin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- params- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sortDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsSort the elements forkeyand store result instoreKey.- Specified by:
- sortin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- params- must not be null.
- sortKey- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
encodingOfDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the type of internal representation used for storing the value at the givenkey.- Specified by:
- encodingOfin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- ValueEncoding.RedisValueEncoding.VACANTif key does not exist or null when used in pipeline / transaction.
- See Also:
 
- 
idletimeDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet theDurationsince the object stored at the givenkeyis idle.- Specified by:
- idletimein interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
refcountDeprecated.in favor ofRedisCommandsProvider.keyCommands().Description copied from interface:RedisKeyCommandsGet the number of references of the value associated with the specifiedkey.- Specified by:
- refcountin interface- RedisKeyCommands
- Parameters:
- key- must not be null.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
getDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet the value ofkey.- Specified by:
- getin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
getExDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsReturn the value atkeyand expire the key by applyingExpiration.Use Expiration.seconds(long)forEX.
 UseExpiration.milliseconds(long)forPX.
 UseExpiration.unixTimestamp(long, TimeUnit)forEXAT | PXAT.- Specified by:
- getExin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- expiration- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
getDelDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsReturn the value atkeyand delete the key.- Specified by:
- getDelin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
getSetDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueofkeyand return its old value.- Specified by:
- getSetin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null if key did not exist before or when used in pipeline / transaction.
- See Also:
 
- 
mGetDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet multiplekeys. Values are in the order of the requested keys Absent field values are represented using null in the resultingList.- Specified by:
- mGetin interface- RedisStringCommands
- Parameters:
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
setDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueforkey.- Specified by:
- setin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
set@Deprecated default Boolean set(byte[] key, byte[] value, Expiration expiration, RedisStringCommands.SetOption option) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueforkeyapplying timeouts fromexpirationif set and inserting/updating values depending onoption.- Specified by:
- setin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- expiration- must not be null. Use- Expiration.persistent()to not set any ttl or- Expiration.keepTtl()to keep the existing expiration.
- option- must not be null. Use- RedisStringCommands.SetOption.upsert()to add non existing.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
setNXDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSetvalueforkey, only ifkeydoes not exist.- Specified by:
- setNXin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
setExDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet thevalueand expiration insecondsforkey.- Specified by:
- setExin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pSetExDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet thevalueand expiration inmillisecondsforkey.- Specified by:
- pSetExin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
mSetDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet multiple keys to multiple values using key-value pairs provided intuple.- Specified by:
- mSetin interface- RedisStringCommands
- Parameters:
- tuple- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
mSetNXDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSet multiple keys to multiple values using key-value pairs provided intupleonly if the provided key does not exist.- Specified by:
- mSetNXin interface- RedisStringCommands
- Parameters:
- tuple- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
incrDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsIncrement an integer value stored as string value ofkeyby 1.- Specified by:
- incrin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
incrByDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsIncrement a floating point number value ofkeybydelta.- Specified by:
- incrByin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
incrByDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsIncrement an integer value stored ofkeybydelta.- Specified by:
- incrByin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
decrDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsDecrement an integer value stored as string value ofkeyby 1.- Specified by:
- decrin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
decrByDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsDecrement an integer value stored as string value ofkeybyvalue.- Specified by:
- decrByin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
appendDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsAppend avaluetokey.- Specified by:
- appendin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
getRangeDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet a substring of value ofkeybetweenstartandend.- Specified by:
- getRangein interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
setRangeDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsOverwrite parts ofkeystarting at the specifiedoffsetwith givenvalue.- Specified by:
- setRangein interface- RedisStringCommands
- Parameters:
- key- must not be null.
- See Also:
 
- 
getBitDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet the bit value atoffsetof value atkey.- Specified by:
- getBitin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
setBitDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsSets the bit atoffsetin value stored atkey.- Specified by:
- setBitin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- the original bit value stored at offsetor null when used in pipeline / transaction.
- See Also:
 
- 
bitCountDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsCount the number of set bits (population counting) in value stored atkey.- Specified by:
- bitCountin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
bitCountDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsCount the number of set bits (population counting) of value stored atkeybetweenstartandend.- Specified by:
- bitCountin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
bitFieldDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet / Manipulate specific integer fields of varying bit widths and arbitrary non (necessary) aligned offset stored at a givenkey.- Specified by:
- bitFieldin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- subCommands- must not be null.
- Returns:
- null when used in pipeline / transaction.
 
- 
bitOp@Deprecated default Long bitOp(RedisStringCommands.BitOperation op, byte[] destination, byte[]... keys) Deprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsPerform bitwise operations between strings.- Specified by:
- bitOpin interface- RedisStringCommands
- Parameters:
- op- must not be null.
- destination- must not be null.
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
bitPosDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsReturn the position of the first bit set to givenbitin a string.Rangestart and end can contain negative values in order to index bytes starting from the end of the string, where -1 is the last byte, -2 is the penultimate.- Specified by:
- bitPosin interface- RedisStringCommands
- Parameters:
- key- the key holding the actual String.
- bit- the bit value to look for.
- range- must not be null. Use- Range.unbounded()to not limit search.
- Returns:
- null when used in pipeline / transaction. The position of the first bit set to 1 or 0 according to the request.
- See Also:
 
- 
strLenDeprecated.in favor ofRedisCommandsProvider.stringCommands()}.Description copied from interface:RedisStringCommandsGet the length of the value stored atkey.- Specified by:
- strLenin interface- RedisStringCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
xAckDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsAcknowledge one or more records, identified via their id, as processed.- Specified by:
- xAckin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- group- name of the consumer group.
- messageIds- the id's of the records to acknowledge.
- Returns:
- length of acknowledged messages. null when used in pipeline / transaction.
- See Also:
 
- 
xAdd@Deprecated default RecordId xAdd(MapRecord<byte[], byte[], byte[]> record, RedisStreamCommands.XAddOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsAppend the givenrecordto the stream stored atRecord#getStream. If you prefer manual id assignment over server generated ones make sure to provide an id viaRecord#withId.- Specified by:
- xAddin interface- RedisStreamCommands
- Parameters:
- record- the- recordto append.
- options- additional options (eg. MAXLEN). Must not be null, use- RedisStreamCommands.XAddOptions.none()instead.
- Returns:
- the idafter save. null when used in pipeline / transaction.
 
- 
xClaimJustId@Deprecated default List<RecordId> xClaimJustId(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsChange the ownership of a pending message to the given new consumer without increasing the delivered count.- Specified by:
- xClaimJustIdin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- group- the name of the consumer group.
- newOwner- the name of the new consumer.
- options- must not be null.
- Returns:
- list of idsthat changed user.
- See Also:
 
- 
xClaim@Deprecated default List<ByteRecord> xClaim(byte[] key, String group, String newOwner, RedisStreamCommands.XClaimOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsChange the ownership of a pending message to the given new consumer.- Specified by:
- xClaimin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- group- the name of the consumer group.
- newOwner- the name of the new consumer.
- options- must not be null.
- Returns:
- list of ByteRecordthat changed user.
- See Also:
 
- 
xDelDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRemoves the records with the given id's from the stream. Returns the number of items deleted, that may be different from the number of id's passed in case certain id's do not exist.- Specified by:
- xDelin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- recordIds- the id's of the records to remove.
- Returns:
- number of removed entries. null when used in pipeline / transaction.
- See Also:
 
- 
xGroupCreateDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsCreate a consumer group.- Specified by:
- xGroupCreatein interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- groupName- name of the consumer group to create.
- readOffset- the offset to start at.
- Returns:
- ok if successful. null when used in pipeline / transaction.
 
- 
xGroupCreate@Deprecated default String xGroupCreate(byte[] key, String groupName, ReadOffset readOffset, boolean mkStream) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsCreate a consumer group.- Specified by:
- xGroupCreatein interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- groupName- name of the consumer group to create.
- readOffset- the offset to start at.
- mkStream- if true the group will create the stream if not already present (MKSTREAM)
- Returns:
- ok if successful. null when used in pipeline / transaction.
 
- 
xGroupDelConsumerDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsDelete a consumer from a consumer group.- Specified by:
- xGroupDelConsumerin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- consumer- consumer identified by group name and consumer name.
- Returns:
- true if successful. null when used in pipeline / transaction.
 
- 
xGroupDestroyDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsDestroy a consumer group.- Specified by:
- xGroupDestroyin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- groupName- name of the consumer group.
- Returns:
- true if successful. null when used in pipeline / transaction.
 
- 
xInfoDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain general information about the stream stored at the specified key.- Specified by:
- xInfoin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- Returns:
- null when used in pipeline / transaction.
 
- 
xInfoGroupsDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain information about consumer groups associated with the stream stored at the specified key.- Specified by:
- xInfoGroupsin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- Returns:
- null when used in pipeline / transaction.
 
- 
xInfoConsumersDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain information about every consumer in a specific consumer group for the stream stored at the specified key.- Specified by:
- xInfoConsumersin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- groupName- name of the consumer group.
- Returns:
- null when used in pipeline / transaction.
 
- 
xLenDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsGet the length of a stream.- Specified by:
- xLenin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- Returns:
- length of the stream. null when used in pipeline / transaction.
- See Also:
 
- 
xPendingDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsObtain thePendingMessagesSummaryfor a given consumer group.- Specified by:
- xPendingin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at. Must not be null.
- groupName- the name of the consumer group. Must not be null.
- Returns:
- a summary of pending messages within the given consumer group or null when used in pipeline / transaction.
- See Also:
 
- 
xPending@Deprecated default PendingMessages xPending(byte[] key, String groupName, RedisStreamCommands.XPendingOptions options) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommands- Specified by:
- xPendingin interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at. Must not be null.
- groupName- the name of the consumer group. Must not be null.
- options- the options containing range, consumer and count. Must not be null.
- Returns:
- pending messages matching given criteria or null when used in pipeline / transaction.
- See Also:
 
- 
xRangeDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRetrieve allrecordswithin a specificRangefrom the stream stored at key.
 UseRange.unbounded()to read from the minimum and the maximum ID possible.- Specified by:
- xRangein interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- range- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
xRangeDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRetrieve alimited numberofrecordswithin a specificRangefrom the stream stored at key.
 UseRange.unbounded()to read from the minimum and the maximum ID possible.
 UseLimit.unlimited()to read all records.- Specified by:
- xRangein interface- RedisStreamCommands
- Parameters:
- key- the key the stream is stored at.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
xReadDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets.- Specified by:
- xReadin interface- RedisStreamCommands
- Parameters:
- streams- the streams to read from.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
xRead@Deprecated default List<ByteRecord> xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets.- Specified by:
- xReadin interface- RedisStreamCommands
- Parameters:
- readOptions- read arguments.
- streams- the streams to read from.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
xReadGroupDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets using a consumer group.- Specified by:
- xReadGroupin interface- RedisStreamCommands
- Parameters:
- consumer- consumer/group.
- streams- the streams to read from.
- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
 
- 
xReadGroup@Deprecated default List<ByteRecord> xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from one or moreStreamOffsets using a consumer group.- Specified by:
- xReadGroupin interface- RedisStreamCommands
- Parameters:
- consumer- consumer/group.
- readOptions- read arguments.
- streams- the streams to read from.
- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
 
- 
xRevRangeDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsRead records from a stream within a specificRangein reverse order.- Specified by:
- xRevRangein interface- RedisStreamCommands
- Parameters:
- key- the stream key.
- range- must not be null.
- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
 
- 
xRevRangeDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommands- Specified by:
- xRevRangein interface- RedisStreamCommands
- Parameters:
- key- the stream key.
- range- must not be null.
- limit- must not be null.
- Returns:
- list with members of the resulting stream. null when used in pipeline / transaction.
- See Also:
 
- 
xTrimDeprecated.in favor ofRedisCommandsProvider.streamCommands()}.Description copied from interface:RedisStreamCommandsTrims the stream tocountelements.- Specified by:
- xTrimin interface- RedisStreamCommands
- Parameters:
- key- the stream key.
- count- length of the stream.
- Returns:
- number of removed entries. null when used in pipeline / transaction.
- See Also:
 
- 
xTrimDeprecated.Description copied from interface:RedisStreamCommandsTrims the stream tocountelements.- Specified by:
- xTrimin interface- RedisStreamCommands
- Parameters:
- key- the stream key.
- count- length of the stream.
- approximateTrimming- the trimming must be performed in a approximated way in order to maximize performances.
- Returns:
- number of removed entries. null when used in pipeline / transaction.
- See Also:
 
- 
rPushDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAppendvaluestokey.- Specified by:
- rPushin interface- RedisListCommands
- Parameters:
- key- must not be null.
- values- must not be empty.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lPos@Deprecated default List<Long> lPos(byte[] key, byte[] element, @Nullable Integer rank, @Nullable Integer count) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsReturns the index of matching elements inside the list stored at given key.
 Requires Redis 6.0.6 or newer.- Specified by:
- lPosin interface- RedisListCommands
- Parameters:
- key- must not be null.
- element- must not be null.
- rank- specifies the "rank" of the first element to return, in case there are multiple matches. A rank of 1 means to return the first match, 2 to return the second match, and so forth.
- count- number of matches to return.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lPushDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsPrependvaluestokey.- Specified by:
- lPushin interface- RedisListCommands
- Parameters:
- key- must not be null.
- values- must not be empty.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
rPushXDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAppendvaluestokeyonly if the list exists.- Specified by:
- rPushXin interface- RedisListCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lPushXDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsPrependvaluestokeyonly if the list exists.- Specified by:
- lPushXin interface- RedisListCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lLenDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsGet the size of list stored atkey.- Specified by:
- lLenin interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lRangeDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsGet elements betweenstartandendfrom list atkey.- Specified by:
- lRangein interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Listif key does not exists or range does not contain values. null when used in pipeline / transaction.
- See Also:
 
- 
lTrimDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsTrim list atkeyto elements betweenstartandend.- Specified by:
- lTrimin interface- RedisListCommands
- Parameters:
- key- must not be null.
- See Also:
 
- 
lIndexDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsGet element atindexform list atkey.- Specified by:
- lIndexin interface- RedisListCommands
- Parameters:
- key- must not be null.
- index- zero based index value. Use negative number to designate elements starting at the tail.
- Returns:
- null when index is out of range or when used in pipeline / transaction.
- See Also:
 
- 
lInsert@Deprecated default Long lInsert(byte[] key, RedisListCommands.Position where, byte[] pivot, byte[] value) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsInsertvalueRedisListCommands.Position.BEFOREorRedisListCommands.Position.AFTERexistingpivotforkey.- Specified by:
- lInsertin interface- RedisListCommands
- Parameters:
- key- must not be null.
- where- must not be null.
- pivot- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lMove@Deprecated default byte[] lMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAtomically returns and removes the first/last element (head/tail depending on thefromargument) of the list stored atsourceKey, and pushes the element at the first/last element (head/tail depending on thetoargument) of the list stored atdestinationKey.- Specified by:
- lMovein interface- RedisListCommands
- Parameters:
- sourceKey- must not be null.
- destinationKey- must not be null.
- from- must not be null.
- to- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
bLMove@Deprecated default byte[] bLMove(byte[] sourceKey, byte[] destinationKey, RedisListCommands.Direction from, RedisListCommands.Direction to, double timeout) Deprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsAtomically returns and removes the first/last element (head/tail depending on thefromargument) of the list stored atsourceKey, and pushes the element at the first/last element (head/tail depending on thetoargument) of the list stored atdestinationKey.Blocks connection until element available or timeoutreached.- Specified by:
- bLMovein interface- RedisListCommands
- Parameters:
- sourceKey- must not be null.
- destinationKey- must not be null.
- from- must not be null.
- to- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lSetDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsSet thevaluelist element atindex.- Specified by:
- lSetin interface- RedisListCommands
- Parameters:
- key- must not be null.
- See Also:
 
- 
lRemDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves the firstcountoccurrences ofvaluefrom the list stored atkey.- Specified by:
- lRemin interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
lPopDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns first element in list stored atkey.- Specified by:
- lPopin interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
lPopDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns first elements in list stored atkey.- Specified by:
- lPopin interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
rPopDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns last element in list stored atkey.- Specified by:
- rPopin interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
rPopDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns last elements in list stored atkey.- Specified by:
- rPopin interface- RedisListCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
bLPopDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns first element from lists stored atkeys.
 Blocks connection until element available ortimeoutreached.- Specified by:
- bLPopin interface- RedisListCommands
- Parameters:
- timeout- seconds to block.
- keys- must not be null.
- Returns:
- empty Listwhen no element could be popped and the timeout was reached. null when used in pipeline / transaction.
- See Also:
 
- 
bRPopDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemoves and returns last element from lists stored atkeys.
 Blocks connection until element available ortimeoutreached.- Specified by:
- bRPopin interface- RedisListCommands
- Parameters:
- timeout- seconds to block.
- keys- must not be null.
- Returns:
- empty Listwhen no element could be popped and the timeout was reached. null when used in pipeline / transaction.
- See Also:
 
- 
rPopLPushDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemove the last element from list atsrcKey, append it todstKeyand return its value.- Specified by:
- rPopLPushin interface- RedisListCommands
- Parameters:
- srcKey- must not be null.
- dstKey- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
bRPopLPushDeprecated.in favor ofRedisCommandsProvider.listCommands()}.Description copied from interface:RedisListCommandsRemove the last element from list atsrcKey, append it todstKeyand return its value.
 Blocks connection until element available ortimeoutreached.- Specified by:
- bRPopLPushin interface- RedisListCommands
- Parameters:
- timeout- seconds to block.
- srcKey- must not be null.
- dstKey- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
sAddDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsAdd givenvaluesto set atkey.- Specified by:
- sAddin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- values- must not be empty.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sCardDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGet size of set atkey.- Specified by:
- sCardin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sDiffDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsDiff all sets for givenkeys.- Specified by:
- sDiffin interface- RedisSetCommands
- Parameters:
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sDiffStoreDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsDiff all sets for givenkeysand store result indestKey.- Specified by:
- sDiffStorein interface- RedisSetCommands
- Parameters:
- destKey- must not be null.
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sInterDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsReturns the members intersecting all given sets atkeys.- Specified by:
- sInterin interface- RedisSetCommands
- Parameters:
- keys- must not be null.
- Returns:
- empty Setif no intersection found. null when used in pipeline / transaction.
- See Also:
 
- 
sInterStoreDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsIntersect all given sets atkeysand store result indestKey.- Specified by:
- sInterStorein interface- RedisSetCommands
- Parameters:
- destKey- must not be null.
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sIsMemberDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsCheck if set atkeycontainsvalue.- Specified by:
- sIsMemberin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sMIsMemberDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsCheck if set atkeycontains one or morevalues.- Specified by:
- sMIsMemberin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sMembersDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGet all elements of set atkey.- Specified by:
- sMembersin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Setwhen key does not exist. null when used in pipeline / transaction.
- See Also:
 
- 
sMoveDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsMovevaluefromsrcKeytodestKey- Specified by:
- sMovein interface- RedisSetCommands
- Parameters:
- srcKey- must not be null.
- destKey- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sPopDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsRemove and return a random member from set atkey.- Specified by:
- sPopin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when key does not exist or used in pipeline / transaction.
- See Also:
 
- 
sPopDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsRemove and returncountrandom members from set atkey.- Specified by:
- sPopin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- count- number of random members to pop from the set.
- Returns:
- empty Listif set does not exist. null when used in pipeline / transaction.
- See Also:
 
- 
sRandMemberDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGet random element from set atkey.- Specified by:
- sRandMemberin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
sRandMemberDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsGetcountrandom elements from set atkey.- Specified by:
- sRandMemberin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sRemDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsRemove givenvaluesfrom set atkeyand return the number of removed elements.- Specified by:
- sRemin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- values- must not be empty.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sUnionDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsUnion all sets at givenkeys.- Specified by:
- sUnionin interface- RedisSetCommands
- Parameters:
- keys- must not be null.
- Returns:
- empty Setif keys do not exist. null when used in pipeline / transaction.
- See Also:
 
- 
sUnionStoreDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsUnion all sets at givenkeysand store result indestKey.- Specified by:
- sUnionStorein interface- RedisSetCommands
- Parameters:
- destKey- must not be null.
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
sScanDeprecated.in favor ofRedisCommandsProvider.setCommands()}.Description copied from interface:RedisSetCommandsUse aCursorto iterate over elements in set atkey.- Specified by:
- sScanin interface- RedisSetCommands
- Parameters:
- key- must not be null.
- options- must not be null.
- Returns:
- never null.
- See Also:
 
- 
zAdd@Deprecated default Boolean zAdd(byte[] key, double score, byte[] value, RedisZSetCommands.ZAddArgs args) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
- zAddin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- score- the score.
- value- the value.
- args- must not be null use- RedisZSetCommands.ZAddArgs.empty()instead.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zAddDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
- zAddin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- tuples- must not be null.
- args- must not be null use- RedisZSetCommands.ZAddArgs.empty()instead.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zCardDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet the size of sorted set withkey.- Specified by:
- zCardin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zCountDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsCount number of elements within sorted set with scores betweenminandmax.- Specified by:
- zCountin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zLexCountDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsCount number of elements within sorted set with value betweenRange#minandRange#maxapplying lexicographical ordering.- Specified by:
- zLexCountin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zPopMinDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the lowest score from sorted set atkey.- Specified by:
- zPopMinin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
 
- 
zPopMinDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and returncountvalues with their score having the lowest score from sorted set atkey.- Specified by:
- zPopMinin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- count- number of elements to pop.
- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
 
- 
bZPopMinDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the lowest score from sorted set atkey.
 Blocks connection until element available ortimeoutreached.- Specified by:
- bZPopMinin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- unit- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
zPopMaxDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the highest score from sorted set atkey.- Specified by:
- zPopMaxin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
 
- 
zPopMaxDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and returncountvalues with their score having the highest score from sorted set atkey.- Specified by:
- zPopMaxin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- count- number of elements to pop.
- Returns:
- null when the sorted set is empty or used in pipeline / transaction.
- See Also:
 
- 
bZPopMaxDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove and return the value with its score having the highest score from sorted set atkey.
 Blocks connection until element available ortimeoutreached.- Specified by:
- bZPopMaxin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- unit- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
zCountDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsCount number of elements within sorted set with scores betweenRange#minandRange#max.- Specified by:
- zCountin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zDiffDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDiff sortedsets.- Specified by:
- zDiffin interface- RedisZSetCommands
- Parameters:
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zDiffWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDiff sortedsets.- Specified by:
- zDiffWithScoresin interface- RedisZSetCommands
- Parameters:
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zDiffStoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDiff sortedsetsand store result in destinationdestKey.- Specified by:
- zDiffStorein interface- RedisZSetCommands
- Parameters:
- destKey- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zIncrByDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIncrement the score of element withvaluein sorted set byincrement.- Specified by:
- zIncrByin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- value- the value.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zInterDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
- zInterin interface- RedisZSetCommands
- Parameters:
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zInterWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
- zInterWithScoresin interface- RedisZSetCommands
- Parameters:
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- See Also:
 
- 
zInterWithScores@Deprecated default Set<Tuple> zInterWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
- zInterWithScoresin interface- RedisZSetCommands
- Parameters:
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- See Also:
 
- 
zInterWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsets.- Specified by:
- zInterWithScoresin interface- RedisZSetCommands
- Parameters:
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zInterStore@Deprecated default Long zInterStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsetsand store result in destinationdestKey.- Specified by:
- zInterStorein interface- RedisZSetCommands
- Parameters:
- destKey- must not be null.
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zInterStore@Deprecated default Long zInterStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsetsand store result in destinationdestKey.- Specified by:
- zInterStorein interface- RedisZSetCommands
- Parameters:
- destKey- must not be null.
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zInterStoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsIntersect sortedsetsand store result in destinationdestKey.- Specified by:
- zInterStorein interface- RedisZSetCommands
- Parameters:
- destKey- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRandMemberDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet random element from sorted set atkey.- Specified by:
- zRandMemberin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
zRandMemberDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGetcountrandom elements from sorted set atkey.- Specified by:
- zRandMemberin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- count- if the provided- countargument is positive, return a list of distinct fields, capped either at- countor the set size. If- countis negative, the behavior changes and the command is allowed to return the same value multiple times. In this case, the number of returned values is the absolute value of the specified count.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRandMemberWithScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet random element from sorted set atkey.- Specified by:
- zRandMemberWithScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- can be null.
- See Also:
 
- 
zRandMemberWithScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGetcountrandom elements from sorted set atkey.- Specified by:
- zRandMemberWithScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- count- if the provided- countargument is positive, return a list of distinct fields, capped either at- countor the set size. If- countis negative, the behavior changes and the command is allowed to return the same value multiple times. In this case, the number of returned values is the absolute value of the specified count.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements betweenstartandendfrom sorted set.- Specified by:
- zRangein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Setwhen key does not exists or no members in range. null when used in pipeline / transaction.
- See Also:
 
- 
zRangeWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
- zRangeWithScoresin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Setwhen key does not exists or no members in range. null when used in pipeline / transaction.
- See Also:
 
- 
zRangeByLexDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet all the elements inRangefrom the sorted set at key in lexicographical ordering. Result is limited viaRedisZSetCommands.Limit.- Specified by:
- zRangeByLexin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRevRangeByLexDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet all the elements inRangefrom the sorted set at key in reversed lexicographical ordering. Result is limited viaRedisZSetCommands.Limit.- Specified by:
- zRevRangeByLexin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeByScore@Deprecated default Set<byte[]> zRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromLimit#counttoLimit#offsetwhere score is betweenRange#minandRange#maxfrom sorted set.- Specified by:
- zRangeByScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeByScoreWithScores@Deprecated default Set<Tuple> zRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet set ofTuples in range fromLimit#offsettoLimit#offset + Limit#countwhere score is betweenRange#minandRange#maxfrom sorted set.- Specified by:
- zRangeByScoreWithScoresin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- empty Setwhen key does not exists or no members in range. null when used in pipeline / transaction.
- See Also:
 
- 
zRevRangeWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommands- Specified by:
- zRevRangeWithScoresin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Setwhen key does not exists or no members in range. null when used in pipeline / transaction.
- See Also:
 
- 
zRevRangeByScore@Deprecated default Set<byte[]> zRevRangeByScore(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromLimit#offsettoLimit#offset + Limit#countwhere score is betweenRange#minandRange#maxfrom sorted set ordered high -> low.- Specified by:
- zRevRangeByScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRevRangeByScoreWithScores@Deprecated default Set<Tuple> zRevRangeByScoreWithScores(byte[] key, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet set ofTuplein range fromLimit#offsettoLimit#countwhere score is betweenRange#minandRange#maxfrom sorted set ordered high -> low.- Specified by:
- zRevRangeByScoreWithScoresin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRankDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDetermine the index of element withvaluein a sorted set.- Specified by:
- zRankin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- value- the value. Must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRemDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemovevaluesfrom sorted set. Return number of removed elements.- Specified by:
- zRemin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- values- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRemRangeDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove elements in range betweenstartandendfrom sorted set withkey.- Specified by:
- zRemRangein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRemRangeByLexDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove all elements between the lexicographicalRange.- Specified by:
- zRemRangeByLexin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- Returns:
- the number of elements removed, or null when used in pipeline / transaction.
- See Also:
 
- 
zRemRangeByScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove elements with scores betweenRange#minandRange#maxfrom sorted set withkey.- Specified by:
- zRemRangeByScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- range- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRemRangeByScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsRemove elements with scores betweenminandmaxfrom sorted set withkey.- Specified by:
- zRemRangeByScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRevRangeDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromstarttoendfrom sorted set ordered from high to low.- Specified by:
- zRevRangein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Setwhen key does not exists or no members in range. null when used in pipeline / transaction.
- See Also:
 
- 
zRevRankDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsDetermine the index of element withvaluein a sorted set when scored high to low.- Specified by:
- zRevRankin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- value- the value.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet the score of element withvaluefrom sorted set with keykey.- Specified by:
- zScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- value- the value.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zMScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet the scores of elements withvaluesfrom sorted set with keykey.- Specified by:
- zMScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- values- the values.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
- zUnionin interface- RedisZSetCommands
- Parameters:
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
- zUnionWithScoresin interface- RedisZSetCommands
- Parameters:
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionWithScores@Deprecated default Set<Tuple> zUnionWithScores(Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
- zUnionWithScoresin interface- RedisZSetCommands
- Parameters:
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionWithScoresDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
- zUnionWithScoresin interface- RedisZSetCommands
- Parameters:
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionStore@Deprecated default Long zUnionStore(byte[] destKey, Aggregate aggregate, int[] weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsetsand store result in destinationdestKey.- Specified by:
- zUnionStorein interface- RedisZSetCommands
- Parameters:
- destKey- must not be null.
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionStore@Deprecated default Long zUnionStore(byte[] destKey, Aggregate aggregate, Weights weights, byte[]... sets) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsetsand store result in destinationdestKey.- Specified by:
- zUnionStorein interface- RedisZSetCommands
- Parameters:
- destKey- must not be null.
- aggregate- must not be null.
- weights- must not be null.
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zUnionStoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUnion sortedsets.- Specified by:
- zUnionStorein interface- RedisZSetCommands
- sets- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zScanDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsUse aCursorto iterate over elements in sorted set atkey.- Specified by:
- zScanin interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- options- must not be null.
- Returns:
- See Also:
 
- 
zRangeByScoreDeprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements where score is betweenminandmaxfrom sorted set.- Specified by:
- zRangeByScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeByScore@Deprecated default Set<byte[]> zRangeByScore(byte[] key, String min, String max, long offset, long count) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsGet elements in range fromstarttoendwhere score is betweenminandmaxfrom sorted set.- Specified by:
- zRangeByScorein interface- RedisZSetCommands
- Parameters:
- key- must not be null.
- min- must not be null.
- max- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hSetDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsSet thevalueof a hashfield.- Specified by:
- hSetin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hSetNXDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsSet thevalueof a hashfieldonly iffielddoes not exist.- Specified by:
- hSetNXin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- value- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hDelDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsDelete given hashfields.- Specified by:
- hDelin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- fields- must not be empty.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hExistsDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsDetermine if given hashfieldexists.- Specified by:
- hExistsin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hGetDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet value for givenfieldfrom hash atkey.- Specified by:
- hGetin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- Returns:
- null when key or field do not exists or when used in pipeline / transaction.
- See Also:
 
- 
hGetAllDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet entire hash stored atkey.- Specified by:
- hGetAllin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Mapif key does not exist or null when used in pipeline / transaction.
- See Also:
 
- 
hIncrByDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsIncrementvalueof a hashfieldby the givendelta.- Specified by:
- hIncrByin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hIncrByDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsIncrementvalueof a hashfieldby the givendelta.- Specified by:
- hIncrByin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hRandFieldDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash stored atkey.- Specified by:
- hRandFieldin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
hRandFieldWithValuesDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash along with its value stored atkey.- Specified by:
- hRandFieldWithValuesin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
hRandFieldDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash stored atkey. If the providedcountargument is positive, return a list of distinct fields, capped either atcountor the hash size. Ifcountis negative, the behavior changes and the command is allowed to return the same field multiple times. In this case, the number of returned fields is the absolute value of the specified count.- Specified by:
- hRandFieldin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- count- number of fields to return.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
hRandFieldWithValuesDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsReturn a random field from the hash along with its value stored atkey. If the providedcountargument is positive, return a list of distinct fields, capped either atcountor the hash size. Ifcountis negative, the behavior changes and the command is allowed to return the same field multiple times. In this case, the number of returned fields is the absolute value of the specified count.- Specified by:
- hRandFieldWithValuesin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- count- number of fields to return.
- Returns:
- null if key does not exist or when used in pipeline / transaction.
- See Also:
 
- 
hKeysDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet key set (fields) of hash atkey.- Specified by:
- hKeysin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hLenDeprecated.Description copied from interface:RedisHashCommandsGet size of hash atkey.- Specified by:
- hLenin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
hMGetDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet values for givenfieldsfrom hash atkey. Values are in the order of the requested keys Absent field values are represented using null in the resultingList.- Specified by:
- hMGetin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- fields- must not be empty.
- Returns:
- empty Listif key does not exist. null when used in pipeline / transaction.
- See Also:
 
- 
hMSetDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsSet multiple hash fields to multiple values using data provided inhashes- Specified by:
- hMSetin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- hashes- must not be null.
- See Also:
 
- 
hValsDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsGet entry set (values) of hash atfield.- Specified by:
- hValsin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- Returns:
- empty Listif key does not exist. null when used in pipeline / transaction.
- See Also:
 
- 
hScanDeprecated.in favor ofRedisCommandsProvider.hashCommands()}.Description copied from interface:RedisHashCommandsUse aCursorto iterate over entries in hash atkey.- Specified by:
- hScanin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- options- must not be null.
- Returns:
- See Also:
 
- 
hStrLenDeprecated.in favor ofRedisCommandsProvider.hashCommands().Description copied from interface:RedisHashCommandsReturns the length of the value associated withfieldin the hash stored atkey. If thekeyor thefielddo not exist,0is returned.- Specified by:
- hStrLenin interface- RedisHashCommands
- Parameters:
- key- must not be null.
- field- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
geoAddDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsAddPointwith given member name to key.- Specified by:
- geoAddin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- point- must not be null.
- member- must not be null.
- Returns:
- Number of elements added. null when used in pipeline / transaction.
- See Also:
 
- 
geoAddDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommands- Specified by:
- geoAddin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- memberCoordinateMap- must not be null.
- Returns:
- Number of elements added. null when used in pipeline / transaction.
- See Also:
 
- 
geoAdd@Deprecated default Long geoAdd(byte[] key, Iterable<RedisGeoCommands.GeoLocation<byte[]>> locations) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsAddRedisGeoCommands.GeoLocations to key- Specified by:
- geoAddin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- locations- must not be null.
- Returns:
- Number of elements added. null when used in pipeline / transaction.
- See Also:
 
- 
geoDistDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet theDistancebetween member1 and member2.- Specified by:
- geoDistin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- member1- must not be null.
- member2- must not be null.
- Returns:
- can be null. null when used in pipeline / transaction.
- See Also:
 
- 
geoDistDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommands- Specified by:
- geoDistin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- member1- must not be null.
- member2- must not be null.
- metric- must not be null.
- Returns:
- can be null. null when used in pipeline / transaction.
- See Also:
 
- 
geoHashDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet Geohash representation of the position for one or more members.- Specified by:
- geoHashin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- members- must not be null.
- Returns:
- empty list when key or members do not exists. null when used in pipeline / transaction.
- See Also:
 
- 
geoPosDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet thePointrepresentation of positions for one or more members.- Specified by:
- geoPosin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- members- must not be null.
- Returns:
- empty Listwhen key of members do not exist. null when used in pipeline / transaction.
- See Also:
 
- 
geoRadius@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, Circle within) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the boundaries of a givenCircle.- Specified by:
- geoRadiusin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- within- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
geoRadius@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadius(byte[] key, Circle within, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the boundaries of a givenCircleapplyingRedisGeoCommands.GeoRadiusCommandArgs.- Specified by:
- geoRadiusin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- within- must not be null.
- args- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
geoRadiusByMember@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, Distance radius) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the circle defined by the members coordinates and givenDistance.- Specified by:
- geoRadiusByMemberin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- member- must not be null.
- radius- must not be null.
- Returns:
- null when used in pipeline / transaction..
- See Also:
 
- 
geoRadiusByMember@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoRadiusByMember(byte[] key, byte[] member, Distance radius, RedisGeoCommands.GeoRadiusCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsGet the members within the circle defined by the members coordinates, givenDistanceandRedisGeoCommands.GeoRadiusCommandArgs.- Specified by:
- geoRadiusByMemberin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- member- must not be null.
- radius- must not be null.
- args- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
geoRemoveDeprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsRemove the members.- Specified by:
- geoRemovein interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- members- must not be null.
- Returns:
- Number of elements removed. null when used in pipeline / transaction.
- See Also:
 
- 
geoSearch@Deprecated default GeoResults<RedisGeoCommands.GeoLocation<byte[]>> geoSearch(byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsReturn the members of a geo set which are within the borders of the area specified by a givenshape. The query's center point is provided byGeoReference.- Specified by:
- geoSearchin interface- RedisGeoCommands
- Parameters:
- key- must not be null.
- reference- must not be null.
- predicate- must not be null.
- args- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
geoSearchStore@Deprecated default Long geoSearchStore(byte[] destKey, byte[] key, GeoReference<byte[]> reference, GeoShape predicate, RedisGeoCommands.GeoSearchStoreCommandArgs args) Deprecated.in favor ofRedisCommandsProvider.geoCommands()}.Description copied from interface:RedisGeoCommandsQuery the members of a geo set which are within the borders of the area specified by a givenshapeand store the result atdestKey. The query's center point is provided byGeoReference.- Specified by:
- geoSearchStorein interface- RedisGeoCommands
- key- must not be null.
- reference- must not be null.
- predicate- must not be null.
- args- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pfAddDeprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().Description copied from interface:RedisHyperLogLogCommandsAdds given values to the HyperLogLog stored at given key.- Specified by:
- pfAddin interface- RedisHyperLogLogCommands
- Parameters:
- key- must not be null.
- values- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pfCountDeprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().Description copied from interface:RedisHyperLogLogCommandsReturn the approximated cardinality of the structures observed by the HyperLogLog at key(s).- Specified by:
- pfCountin interface- RedisHyperLogLogCommands
- Parameters:
- keys- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
pfMergeDeprecated.in favor ofRedisCommandsProvider.hyperLogLogCommands().Description copied from interface:RedisHyperLogLogCommandsMerge N different HyperLogLogs at sourceKeys into a single destinationKey.- Specified by:
- pfMergein interface- RedisHyperLogLogCommands
- Parameters:
- destinationKey- must not be null.
- sourceKeys- must not be null.
- See Also:
 
- 
bgReWriteAofDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsStart an Append Only File rewrite process on server.- Specified by:
- bgReWriteAofin interface- RedisServerCommands
- See Also:
 
- 
bgSaveDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsStart background saving of db on server.- Specified by:
- bgSavein interface- RedisServerCommands
- See Also:
 
- 
lastSaveDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsGet time of lastRedisServerCommands.bgSave()operation in seconds.- Specified by:
- lastSavein interface- RedisServerCommands
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
saveDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsSynchronous save current db snapshot on server.- Specified by:
- savein interface- RedisServerCommands
- See Also:
 
- 
dbSizeDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsGet the total number of available keys in currently selected database.- Specified by:
- dbSizein interface- RedisServerCommands
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
flushDbDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all keys of the currently selected database.- Specified by:
- flushDbin interface- RedisServerCommands
- See Also:
 
- 
flushDbDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all keys of the currently selected database using the specifiedRedisServerCommands.FlushOption.- Specified by:
- flushDbin interface- RedisServerCommands
- See Also:
 
- 
flushAllDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all all keys from all databases.- Specified by:
- flushAllin interface- RedisServerCommands
- See Also:
 
- 
flushAllDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsDelete all all keys from all databases using the specifiedRedisServerCommands.FlushOption.- Specified by:
- flushAllin interface- RedisServerCommands
- See Also:
 
- 
infoDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsLoad default server information like- memory
- cpu utilization
- replication
 - Specified by:
- infoin interface- RedisServerCommands
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
infoDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsLoad server information for givenselection.- Specified by:
- infoin interface- RedisServerCommands
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
shutdownDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsShutdown server.- Specified by:
- shutdownin interface- RedisServerCommands
- See Also:
 
- 
shutdownDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsShutdown server.- Specified by:
- shutdownin interface- RedisServerCommands
- See Also:
 
- 
getConfigDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsLoad configuration parameters for givenpatternfrom server.- Specified by:
- getConfigin interface- RedisServerCommands
- Parameters:
- pattern- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
setConfigDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsSet server configuration forparamtovalue.- Specified by:
- setConfigin interface- RedisServerCommands
- Parameters:
- param- must not be null.
- value- must not be null.
- See Also:
 
- 
resetConfigStatsDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsReset statistic counters on server.
 Counters can be retrieved usingRedisServerCommands.info().- Specified by:
- resetConfigStatsin interface- RedisServerCommands
- See Also:
 
- 
rewriteConfigDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRewrites theredis.conffile.- Specified by:
- rewriteConfigin interface- RedisServerCommands
- See Also:
 
- 
timeDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRequest server timestamp usingTIMEcommand inTimeUnit.MILLISECONDS.- Specified by:
- timein interface- RedisServerCommands
- Returns:
- current server time in milliseconds or null when used in pipeline / transaction.
- See Also:
 
- 
timeDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRequest server timestamp usingTIMEcommand.- Specified by:
- timein interface- RedisServerCommands
- Parameters:
- timeUnit- target unit.
- Returns:
- current server time in TimeUnitor null when used in pipeline / transaction.
- See Also:
 
- 
killClientDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsCloses a given client connection identified by host:port.- Specified by:
- killClientin interface- RedisServerCommands
- Parameters:
- host- of connection to close.
- port- of connection to close
- See Also:
 
- 
setClientNameDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsAssign given name to current connection.- Specified by:
- setClientNamein interface- RedisServerCommands
- See Also:
 
- 
getClientNameDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsReturns the name of the current connection.- Specified by:
- getClientNamein interface- RedisServerCommands
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
getClientListDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsRequest information and statistics about connected clients.- Specified by:
- getClientListin interface- RedisServerCommands
- Returns:
- Listof- RedisClientInfoobjects or null when used in pipeline / transaction.
- See Also:
 
- 
replicaOfDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsChange redis replication setting to new master.- Specified by:
- replicaOfin interface- RedisServerCommands
- Parameters:
- host- must not be null.
- See Also:
 
- 
replicaOfNoOneDeprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsChange server into master.- Specified by:
- replicaOfNoOnein interface- RedisServerCommands
- See Also:
 
- 
migrate@Deprecated default void migrate(byte[] key, RedisNode target, int dbIndex, @Nullable RedisServerCommands.MigrateOption option) Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsAtomically transfer a key from a source Redis instance to a destination Redis instance. On success the key is deleted from the original instance and is guaranteed to exist in the target instance.- Specified by:
- migratein interface- RedisServerCommands
- Parameters:
- key- must not be null.
- target- must not be null.
- option- can be null. Defaulted to- RedisServerCommands.MigrateOption.COPY.
- See Also:
 
- 
migrate@Deprecated default void migrate(byte[] key, RedisNode target, int dbIndex, @Nullable RedisServerCommands.MigrateOption option, long timeout) Deprecated.in favor ofRedisCommandsProvider.serverCommands().Description copied from interface:RedisServerCommandsAtomically transfer a key from a source Redis instance to a destination Redis instance. On success the key is deleted from the original instance and is guaranteed to exist in the target instance.- Specified by:
- migratein interface- RedisServerCommands
- Parameters:
- key- must not be null.
- target- must not be null.
- option- can be null. Defaulted to- RedisServerCommands.MigrateOption.COPY.
- See Also:
 
- 
scriptFlushDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsFlush lua script cache.- Specified by:
- scriptFlushin interface- RedisScriptingCommands
- See Also:
 
- 
scriptKillDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsKill current lua script execution.- Specified by:
- scriptKillin interface- RedisScriptingCommands
- See Also:
 
- 
scriptLoadDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsLoad lua script into scripts cache, without executing it.
 Execute the script by callingRedisScriptingCommands.evalSha(byte[], ReturnType, int, byte[]...).- Specified by:
- scriptLoadin interface- RedisScriptingCommands
- Parameters:
- script- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
scriptExistsDeprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsCheck if givenscriptShasexist in script cache.- Specified by:
- scriptExistsin interface- RedisScriptingCommands
- Returns:
- one entry per given scriptSha in returned Listor null when used in pipeline / transaction.
- See Also:
 
- 
eval@Deprecated default <T> T eval(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsEvaluate givenscript.- Specified by:
- evalin interface- RedisScriptingCommands
- Parameters:
- script- must not be null.
- returnType- must not be null.
- keysAndArgs- must not be null.
- Returns:
- script result. null when used in pipeline / transaction.
- See Also:
 
- 
evalSha@Deprecated default <T> T evalSha(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsEvaluate givenscriptSha.- Specified by:
- evalShain interface- RedisScriptingCommands
- Parameters:
- scriptSha- must not be null.
- returnType- must not be null.
- keysAndArgs- must not be null.
- Returns:
- script result. null when used in pipeline / transaction.
- See Also:
 
- 
evalSha@Deprecated default <T> T evalSha(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands().Description copied from interface:RedisScriptingCommandsEvaluate givenscriptSha.- Specified by:
- evalShain interface- RedisScriptingCommands
- Parameters:
- scriptSha- must not be null.
- returnType- must not be null.
- keysAndArgs- must not be null.
- Returns:
- script result. null when used in pipeline / transaction.
- See Also:
 
- 
zRangeStoreByLex@Deprecated default Long zRangeStoreByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE , but stores the result in the dstKey destination key.- Specified by:
- zRangeStoreByLexin interface- RedisZSetCommands
- Parameters:
- dstKey- must not be null.
- srcKey- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeStoreRevByLex@Deprecated default Long zRangeStoreRevByLex(byte[] dstKey, byte[] srcKey, Range<byte[]> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE … REV , but stores the result in the dstKey destination key.- Specified by:
- zRangeStoreRevByLexin interface- RedisZSetCommands
- Parameters:
- dstKey- must not be null.
- srcKey- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeStoreByScore@Deprecated default Long zRangeStoreByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE, but stores the result in the dstKey destination key.- Specified by:
- zRangeStoreByScorein interface- RedisZSetCommands
- Parameters:
- dstKey- must not be null.
- srcKey- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
- 
zRangeStoreRevByScore@Deprecated default Long zRangeStoreRevByScore(byte[] dstKey, byte[] srcKey, Range<? extends Number> range, Limit limit) Deprecated.in favor ofRedisCommandsProvider.zSetCommands()}.Description copied from interface:RedisZSetCommandsThis command is like ZRANGE … REV, but stores the result in the dstKey destination key.- Specified by:
- zRangeStoreRevByScorein interface- RedisZSetCommands
- Parameters:
- dstKey- must not be null.
- srcKey- must not be null.
- range- must not be null.
- limit- must not be null.
- Returns:
- null when used in pipeline / transaction.
- See Also:
 
 
- 
RedisCommandsProvider.stringCommands()}.