Interface RedisCommands
- All Superinterfaces:
- RedisConnectionCommands,- RedisGeoCommands,- RedisHashCommands,- RedisHyperLogLogCommands,- RedisKeyCommands,- RedisListCommands,- RedisPubSubCommands,- RedisScriptingCommands,- RedisServerCommands,- RedisSetCommands,- RedisStreamCommands,- RedisStringCommands,- RedisTxCommands,- RedisZSetCommands
- All Known Subinterfaces:
- DefaultedRedisClusterConnection,- DefaultedRedisConnection,- RedisClusterConnection,- RedisConnection,- RedisConnectionUtils.RedisConnectionProxy,- StringRedisConnection
- All Known Implementing Classes:
- AbstractRedisConnection,- DefaultStringRedisConnection,- JedisClusterConnection,- JedisConnection,- LettuceClusterConnection,- LettuceConnection
public interface RedisCommands
extends RedisKeyCommands, RedisStringCommands, RedisListCommands, RedisSetCommands, RedisZSetCommands, RedisHashCommands, RedisTxCommands, RedisPubSubCommands, RedisConnectionCommands, RedisServerCommands, RedisStreamCommands, RedisScriptingCommands, RedisGeoCommands, RedisHyperLogLogCommands
Interface defining the commands supported by Redis.
- Author:
- Costin Leau, Christoph Strobl, Mark Paluch
- 
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 SummaryMethods inherited from interface org.springframework.data.redis.connection.RedisConnectionCommandsecho, ping, selectMethods inherited from interface org.springframework.data.redis.connection.RedisGeoCommandsgeoAdd, geoAdd, geoAdd, geoAdd, geoDist, geoDist, geoHash, geoPos, geoRadius, geoRadius, geoRadiusByMember, geoRadiusByMember, geoRadiusByMember, geoRemove, geoSearch, geoSearchStoreMethods inherited from interface org.springframework.data.redis.connection.RedisHashCommandshDel, hExists, hGet, hGetAll, hIncrBy, hIncrBy, hKeys, hLen, hMGet, hMSet, hRandField, hRandField, hRandFieldWithValues, hRandFieldWithValues, hScan, hSet, hSetNX, hStrLen, hValsMethods inherited from interface org.springframework.data.redis.connection.RedisHyperLogLogCommandspfAdd, pfCount, pfMergeMethods inherited from interface org.springframework.data.redis.connection.RedisKeyCommandscopy, del, dump, encodingOf, exists, exists, expire, expireAt, idletime, keys, move, persist, pExpire, pExpireAt, pTtl, pTtl, randomKey, refcount, rename, renameNX, restore, restore, scan, scan, sort, sort, touch, ttl, ttl, type, unlinkMethods inherited from interface org.springframework.data.redis.connection.RedisListCommandsbLMove, bLPop, bRPop, bRPopLPush, lIndex, lInsert, lLen, lMove, lPop, lPop, lPos, lPos, lPush, lPushX, lRange, lRem, lSet, lTrim, rPop, rPop, rPopLPush, rPush, rPushXMethods inherited from interface org.springframework.data.redis.connection.RedisPubSubCommandsgetSubscription, isSubscribed, pSubscribe, publish, subscribeMethods inherited from interface org.springframework.data.redis.connection.RedisScriptingCommandseval, evalSha, evalSha, scriptExists, scriptFlush, scriptKill, scriptLoadMethods inherited from interface org.springframework.data.redis.connection.RedisServerCommandsbgReWriteAof, bgSave, dbSize, flushAll, flushAll, flushDb, flushDb, getClientList, getClientName, getConfig, info, info, killClient, lastSave, migrate, migrate, replicaOf, replicaOfNoOne, resetConfigStats, rewriteConfig, save, setClientName, setConfig, shutdown, shutdown, time, timeMethods inherited from interface org.springframework.data.redis.connection.RedisSetCommandssAdd, sCard, sDiff, sDiffStore, sInter, sInterStore, sIsMember, sMembers, sMIsMember, sMove, sPop, sPop, sRandMember, sRandMember, sRem, sScan, sUnion, sUnionStoreMethods inherited from interface org.springframework.data.redis.connection.RedisStreamCommandsxAck, xAck, xAdd, xAdd, xAdd, xClaim, xClaim, xClaimJustId, xDel, xDel, xGroupCreate, xGroupCreate, xGroupDelConsumer, xGroupDelConsumer, xGroupDestroy, xInfo, xInfoConsumers, xInfoGroups, xLen, xPending, xPending, xPending, xPending, xPending, xPending, xPending, xRange, xRange, xRead, xRead, xReadGroup, xReadGroup, xRevRange, xRevRange, xTrim, xTrimMethods inherited from interface org.springframework.data.redis.connection.RedisStringCommandsappend, bitCount, bitCount, bitField, bitOp, bitPos, bitPos, decr, decrBy, get, getBit, getDel, getEx, getRange, getSet, incr, incrBy, incrBy, mGet, mSet, mSetNX, pSetEx, set, set, setBit, setEx, setNX, setRange, strLenMethods inherited from interface org.springframework.data.redis.connection.RedisTxCommandsdiscard, exec, multi, unwatch, watchMethods inherited from interface org.springframework.data.redis.connection.RedisZSetCommandsbZPopMax, bZPopMin, zAdd, zAdd, zAdd, zAdd, zCard, zCount, zCount, zDiff, zDiffStore, zDiffWithScores, zIncrBy, zInter, zInterStore, zInterStore, zInterStore, zInterWithScores, zInterWithScores, zInterWithScores, zLexCount, zMScore, zPopMax, zPopMax, zPopMin, zPopMin, zRandMember, zRandMember, zRandMemberWithScore, zRandMemberWithScore, zRange, zRangeByLex, zRangeByLex, zRangeByLex, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScore, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeByScoreWithScores, zRangeStoreByLex, zRangeStoreByLex, zRangeStoreByScore, zRangeStoreByScore, zRangeStoreRevByLex, zRangeStoreRevByLex, zRangeStoreRevByScore, zRangeStoreRevByScore, zRangeWithScores, zRank, zRem, zRemRange, zRemRangeByLex, zRemRangeByScore, zRemRangeByScore, zRevRange, zRevRangeByLex, zRevRangeByLex, zRevRangeByLex, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScore, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeByScoreWithScores, zRevRangeWithScores, zRevRank, zScan, zScore, zUnion, zUnionStore, zUnionStore, zUnionStore, zUnionWithScores, zUnionWithScores, zUnionWithScores
- 
Method Details- 
executeNative or raw execution of the given Redis command along with the given arguments.The command is executed as is, with as little interpretation as possible - it is up to the caller to take care of any processing of arguments or the result. - Parameters:
- command- Redis- commandto execute; must not be null.
- args- optional array of command arguments; may be empty;
- Returns:
- the execution result; may be null.
 
 
-