|
| void | WaitConnectedOnce (RedisWaitConnected wait_connected) override |
| bool | IsReady (const HealthCheckParams ¶ms) const override |
| size_t | ShardsCount () const override |
| bool | IsInClusterMode () const override |
| size_t | ShardByKey (const std::string &key) const override |
| RequestAppend | Append (std::string key, std::string value, const CommandControl &command_control) override |
| RequestBitop | Bitop (BitOperation op, std::string dest_key, std::vector< std::string > src_keys, const CommandControl &command_control) override |
| RequestDbsize | Dbsize (size_t shard, const CommandControl &command_control) override |
| RequestDecr | Decr (std::string key, const CommandControl &command_control) override |
| RequestDel | Del (std::string key, const CommandControl &command_control) override |
| RequestDel | Del (std::vector< std::string > keys, const CommandControl &command_control) override |
| RequestUnlink | Unlink (std::string key, const CommandControl &command_control) override |
| RequestUnlink | Unlink (std::vector< std::string > keys, const CommandControl &command_control) override |
| RequestEvalCommon | EvalCommon (std::string script, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) override |
| RequestEvalShaCommon | EvalShaCommon (std::string script, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) override |
| RequestEvalCommon | EvalReadOnlyCommon (std::string script, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) override |
| RequestEvalShaCommon | EvalShaReadOnlyCommon (std::string script, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) override |
| RequestGenericCommon | GenericCommon (std::string command, std::vector< std::string > args, size_t key_index, const CommandControl &command_control) override |
| RequestScriptLoad | ScriptLoad (std::string script, size_t shard, const CommandControl &command_control) override |
| | Load the script to the server for further execution via EvalSha() member function.
|
| RequestExists | Exists (std::string key, const CommandControl &command_control) override |
| RequestExists | Exists (std::vector< std::string > keys, const CommandControl &command_control) override |
| RequestExpire | Expire (std::string key, std::chrono::seconds ttl, const CommandControl &command_control) override |
| RequestExpire | Expire (std::string key, std::chrono::seconds ttl, ExpireOptions options, const CommandControl &command_control) override |
| RequestGeoadd | Geoadd (std::string key, GeoaddArg point_member, const CommandControl &command_control) override |
| RequestGeoadd | Geoadd (std::string key, std::vector< GeoaddArg > point_members, const CommandControl &command_control) override |
| RequestGeopos | Geopos (std::string key, std::vector< std::string > members, const CommandControl &command_control) override |
| RequestGeoradius | Georadius (std::string key, Longitude lon, Latitude lat, double radius, const GeoradiusOptions &georadius_options, const CommandControl &command_control) override |
| RequestGeosearch | Geosearch (std::string key, std::string member, double radius, const GeosearchOptions &geosearch_options, const CommandControl &command_control) override |
| RequestGeosearch | Geosearch (std::string key, std::string member, BoxWidth width, BoxHeight height, const GeosearchOptions &geosearch_options, const CommandControl &command_control) override |
| RequestGeosearch | Geosearch (std::string key, Longitude lon, Latitude lat, double radius, const GeosearchOptions &geosearch_options, const CommandControl &command_control) override |
| RequestGeosearch | Geosearch (std::string key, Longitude lon, Latitude lat, BoxWidth width, BoxHeight height, const GeosearchOptions &geosearch_options, const CommandControl &command_control) override |
| RequestGet | Get (std::string key, const CommandControl &command_control) override |
| RequestGetdel | Getdel (std::string key, const CommandControl &command_control) override |
| | Atomically returns the string value of a key and deletes the key.
|
| RequestGetset | Getset (std::string key, std::string value, const CommandControl &command_control) override |
| RequestHdel | Hdel (std::string key, std::string field, const CommandControl &command_control) override |
| RequestHdel | Hdel (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| RequestHexists | Hexists (std::string key, std::string field, const CommandControl &command_control) override |
| RequestHget | Hget (std::string key, std::string field, const CommandControl &command_control) override |
| RequestHgetall | Hgetall (std::string key, const CommandControl &command_control) override |
| RequestHincrby | Hincrby (std::string key, std::string field, int64_t increment, const CommandControl &command_control) override |
| RequestHincrbyfloat | Hincrbyfloat (std::string key, std::string field, double increment, const CommandControl &command_control) override |
| RequestHkeys | Hkeys (std::string key, const CommandControl &command_control) override |
| RequestHlen | Hlen (std::string key, const CommandControl &command_control) override |
| RequestHmget | Hmget (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| RequestHmset | Hmset (std::string key, std::vector< std::pair< std::string, std::string > > field_values, const CommandControl &command_control) override |
| ScanRequest< ScanTag::kHscan > | Hscan (std::string key, HscanOptions options, const CommandControl &command_control) override |
| | Iterate over a collection of elements.
|
| RequestHset | Hset (std::string key, std::string field, std::string value, const CommandControl &command_control) override |
| RequestHsetnx | Hsetnx (std::string key, std::string field, std::string value, const CommandControl &command_control) override |
| RequestHvals | Hvals (std::string key, const CommandControl &command_control) override |
| RequestIncr | Incr (std::string key, const CommandControl &command_control) override |
| RequestKeys | Keys (std::string keys_pattern, size_t shard, const CommandControl &command_control) override |
| RequestLindex | Lindex (std::string key, int64_t index, const CommandControl &command_control) override |
| RequestLlen | Llen (std::string key, const CommandControl &command_control) override |
| RequestLpop | Lpop (std::string key, const CommandControl &command_control) override |
| RequestLpush | Lpush (std::string key, std::string value, const CommandControl &command_control) override |
| RequestLpush | Lpush (std::string key, std::vector< std::string > values, const CommandControl &command_control) override |
| RequestLpushx | Lpushx (std::string key, std::string element, const CommandControl &command_control) override |
| RequestLrange | Lrange (std::string key, int64_t start, int64_t stop, const CommandControl &command_control) override |
| RequestLrem | Lrem (std::string key, int64_t count, std::string element, const CommandControl &command_control) override |
| RequestLtrim | Ltrim (std::string key, int64_t start, int64_t stop, const CommandControl &command_control) override |
| RequestMget | Mget (std::vector< std::string > keys, const CommandControl &command_control) override |
| RequestMset | Mset (std::vector< std::pair< std::string, std::string > > key_values, const CommandControl &command_control) override |
| RequestMsetex | Msetex (std::vector< std::pair< std::string, std::string > > key_values, const CommandControl &command_control) override |
| | Atomically set multiple key-value pairs, without an expiration clause.
|
| RequestMsetex | Msetex (std::vector< std::pair< std::string, std::string > > key_values, MsetexOptions options, const CommandControl &command_control) override |
| | Atomically set multiple key-value pairs with optional existence and TTL conditions.
|
| RequestPersist | Persist (std::string key, const CommandControl &command_control) override |
| RequestPexpire | Pexpire (std::string key, std::chrono::milliseconds ttl, const CommandControl &command_control) override |
| RequestPing | Ping (size_t shard, const CommandControl &command_control) override |
| RequestPingMessage | Ping (size_t shard, std::string message, const CommandControl &command_control) override |
| void | Publish (std::string channel, std::string message, const CommandControl &command_control, PubShard policy) override |
| void | Spublish (std::string channel, std::string message, const CommandControl &command_control) override |
| RequestRename | Rename (std::string key, std::string new_key, const CommandControl &command_control) override |
| RequestRpop | Rpop (std::string key, const CommandControl &command_control) override |
| RequestRpush | Rpush (std::string key, std::string value, const CommandControl &command_control) override |
| RequestRpush | Rpush (std::string key, std::vector< std::string > values, const CommandControl &command_control) override |
| RequestRpushx | Rpushx (std::string key, std::string element, const CommandControl &command_control) override |
| RequestSadd | Sadd (std::string key, std::string member, const CommandControl &command_control) override |
| | Add member to a set of elements.
|
| RequestSadd | Sadd (std::string key, std::vector< std::string > members, const CommandControl &command_control) override |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| ScanRequest< ScanTag::kScan > | Scan (size_t shard, ScanOptions options, const CommandControl &command_control) override |
| | Iterate over a collection of elements.
|
| RequestScard | Scard (std::string key, const CommandControl &command_control) override |
| RequestSet | Set (std::string key, std::string value, const CommandControl &command_control) override |
| RequestSet | Set (std::string key, std::string value, std::chrono::milliseconds ttl, const CommandControl &command_control) override |
| RequestSetIfExist | SetIfExist (std::string key, std::string value, const CommandControl &command_control) override |
| RequestSetIfExist | SetIfExist (std::string key, std::string value, std::chrono::milliseconds ttl, const CommandControl &command_control) override |
| RequestSetIfNotExist | SetIfNotExist (std::string key, std::string value, const CommandControl &command_control) override |
| RequestSetIfNotExist | SetIfNotExist (std::string key, std::string value, std::chrono::milliseconds ttl, const CommandControl &command_control) override |
| RequestSetIfNotExistOrGet | SetIfNotExistOrGet (std::string key, std::string value, const CommandControl &command_control) override |
| RequestSetIfNotExistOrGet | SetIfNotExistOrGet (std::string key, std::string value, std::chrono::milliseconds ttl, const CommandControl &command_control) override |
| RequestSetex | Setex (std::string key, std::chrono::seconds seconds, std::string value, const CommandControl &command_control) override |
| RequestSetAndGetPrevious | SetAndGetPrevious (std::string key, std::string value, std::chrono::milliseconds ttl, const CommandControl &command_control) override |
| RequestSismember | Sismember (std::string key, std::string member, const CommandControl &command_control) override |
| RequestSmembers | Smembers (std::string key, const CommandControl &command_control) override |
| RequestSrandmember | Srandmember (std::string key, const CommandControl &command_control) override |
| RequestSrandmembers | Srandmembers (std::string key, int64_t count, const CommandControl &command_control) override |
| RequestSrem | Srem (std::string key, std::string member, const CommandControl &command_control) override |
| RequestSrem | Srem (std::string key, std::vector< std::string > members, const CommandControl &command_control) override |
| ScanRequest< ScanTag::kSscan > | Sscan (std::string key, SscanOptions options, const CommandControl &command_control) override |
| | Iterate over a collection of elements.
|
| RequestStrlen | Strlen (std::string key, const CommandControl &command_control) override |
| RequestTime | Time (size_t shard, const CommandControl &command_control) override |
| RequestTtl | Ttl (std::string key, const CommandControl &command_control) override |
| RequestType | Type (std::string key, const CommandControl &command_control) override |
| RequestZadd | Zadd (std::string key, double score, std::string member, const CommandControl &command_control) override |
| RequestZadd | Zadd (std::string key, double score, std::string member, const ZaddOptions &options, const CommandControl &command_control) override |
| RequestZadd | Zadd (std::string key, std::vector< std::pair< double, std::string > > scored_members, const CommandControl &command_control) override |
| RequestZadd | Zadd (std::string key, std::vector< std::pair< double, std::string > > scored_members, const ZaddOptions &options, const CommandControl &command_control) override |
| RequestZaddIncr | ZaddIncr (std::string key, double score, std::string member, const CommandControl &command_control) override |
| RequestZaddIncrExisting | ZaddIncrExisting (std::string key, double score, std::string member, const CommandControl &command_control) override |
| RequestZcard | Zcard (std::string key, const CommandControl &command_control) override |
| RequestZcount | Zcount (std::string key, double min, double max, const CommandControl &command_control) override |
| RequestZrange | Zrange (std::string key, int64_t start, int64_t stop, const CommandControl &command_control) override |
| RequestZrangeWithScores | ZrangeWithScores (std::string key, int64_t start, int64_t stop, const CommandControl &command_control) override |
| RequestZrangebyscore | Zrangebyscore (std::string key, double min, double max, const CommandControl &command_control) override |
| RequestZrangebyscore | Zrangebyscore (std::string key, std::string min, std::string max, const CommandControl &command_control) override |
| RequestZrangebyscore | Zrangebyscore (std::string key, double min, double max, const RangeOptions &range_options, const CommandControl &command_control) override |
| RequestZrangebyscore | Zrangebyscore (std::string key, std::string min, std::string max, const RangeOptions &range_options, const CommandControl &command_control) override |
| RequestZrangebyscoreWithScores | ZrangebyscoreWithScores (std::string key, double min, double max, const CommandControl &command_control) override |
| RequestZrangebyscoreWithScores | ZrangebyscoreWithScores (std::string key, std::string min, std::string max, const CommandControl &command_control) override |
| RequestZrangebyscoreWithScores | ZrangebyscoreWithScores (std::string key, double min, double max, const RangeOptions &range_options, const CommandControl &command_control) override |
| RequestZrangebyscoreWithScores | ZrangebyscoreWithScores (std::string key, std::string min, std::string max, const RangeOptions &range_options, const CommandControl &command_control) override |
| RequestZrem | Zrem (std::string key, std::string member, const CommandControl &command_control) override |
| RequestZrem | Zrem (std::string key, std::vector< std::string > members, const CommandControl &command_control) override |
| RequestZremrangebyrank | Zremrangebyrank (std::string key, int64_t start, int64_t stop, const CommandControl &command_control) override |
| RequestZremrangebyscore | Zremrangebyscore (std::string key, double min, double max, const CommandControl &command_control) override |
| RequestZremrangebyscore | Zremrangebyscore (std::string key, std::string min, std::string max, const CommandControl &command_control) override |
| ScanRequest< ScanTag::kZscan > | Zscan (std::string key, ZscanOptions options, const CommandControl &command_control) override |
| | Iterate over a collection of elements.
|
| RequestZscore | Zscore (std::string key, std::string member, const CommandControl &command_control) override |
| RequestHexpire | Hexpire (std::string key, std::chrono::seconds ttl, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set TTL (in seconds) on one or more hash fields (HEXPIRE).
|
| RequestHexpire | Hexpire (std::string key, std::chrono::seconds ttl, ExpireOptions options, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set TTL (in seconds) on one or more hash fields with NX/XX/GT/LT modifier (HEXPIRE).
|
| RequestHexpire | Hpexpire (std::string key, std::chrono::milliseconds ttl, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set TTL (in milliseconds) on one or more hash fields (HPEXPIRE).
|
| RequestHexpire | Hpexpire (std::string key, std::chrono::milliseconds ttl, ExpireOptions options, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set TTL (in milliseconds) on one or more hash fields with NX/XX/GT/LT modifier (HPEXPIRE).
|
| RequestHexpire | Hexpireat (std::string key, std::chrono::system_clock::time_point deadline, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set absolute expiration deadline on one or more hash fields (HEXPIREAT, seconds-precision).
|
| RequestHexpire | Hexpireat (std::string key, std::chrono::system_clock::time_point deadline, ExpireOptions options, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set absolute expiration deadline on one or more hash fields with modifier (HEXPIREAT).
|
| RequestHexpire | Hpexpireat (std::string key, std::chrono::system_clock::time_point deadline, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set absolute expiration deadline on one or more hash fields (HPEXPIREAT, ms-precision).
|
| RequestHexpire | Hpexpireat (std::string key, std::chrono::system_clock::time_point deadline, ExpireOptions options, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Set absolute expiration deadline on one or more hash fields with modifier (HPEXPIREAT).
|
| RequestHexpiretime | Hexpiretime (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Get absolute expiration unix timestamp (seconds) of one or more hash fields (HEXPIRETIME).
|
| RequestHpexpiretime | Hpexpiretime (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Get absolute expiration unix timestamp (ms) of one or more hash fields (HPEXPIRETIME).
|
| RequestHttl | Httl (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Get remaining TTL (in seconds) of one or more hash fields (HTTL).
|
| RequestHpttl | Hpttl (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Get remaining TTL (in milliseconds) of one or more hash fields (HPTTL).
|
| RequestHpersist | Hpersist (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Remove the TTL from one or more hash fields.
|
| RequestHgetex | Hgetex (std::string key, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Get the values of one or more hash fields.
|
| RequestHgetex | Hgetex (std::string key, HgetexOptions options, std::vector< std::string > fields, const CommandControl &command_control) override |
| | Get the values of one or more hash fields, optionally updating their TTL.
|
| RequestHsetex | Hsetex (std::string key, std::vector< HsetexFieldValue > field_values, const CommandControl &command_control) override |
| | Set one or more field/value pairs in a hash without a TTL clause.
|
| RequestHsetex | Hsetex (std::string key, HsetexOptions options, std::vector< HsetexFieldValue > field_values, const CommandControl &command_control) override |
| | Set one or more field/value pairs in a hash with optional FNX|FXX and TTL modifiers.
|
| RequestJsonSet | JsonSet (std::string key, std::string path, formats::json::Value value, const CommandControl &command_control) override |
| | Set a JSON value at the given key and path.
|
| RequestJsonSetIfNotExist | JsonSetIfNotExist (std::string key, std::string path, formats::json::Value value, const CommandControl &command_control) override |
| | Set a JSON value only if the path does not already exist (NX).
|
| RequestJsonSetIfExist | JsonSetIfExist (std::string key, std::string path, formats::json::Value value, const CommandControl &command_control) override |
| | Set a JSON value only if the path already exists (XX).
|
| RequestJsonGet | JsonGet (std::string key, const CommandControl &command_control) override |
| | Get the JSON value at the root path of the given key.
|
| RequestJsonGet | JsonGet (std::string key, std::string path, const CommandControl &command_control) override |
| | Get the JSON value at the given path of the given key.
|
| RequestJsonGet | JsonGet (std::string key, std::vector< std::string > paths, const CommandControl &command_control) override |
| | Get the JSON value at multiple paths of the given key.
|
| RequestJsonMget | JsonMget (std::vector< std::string > keys, std::string path, const CommandControl &command_control) override |
| | Get JSON values from multiple keys at the given path.
|
| RequestJsonMset | JsonMset (std::vector< JsonKeyPathValue > key_path_values, const CommandControl &command_control) override |
| | Set JSON values for multiple key-path-value triplets.
|
| TransactionPtr | Multi () final |
| TransactionPtr | Multi (Transaction::CheckShards check_shards) final |
| template<typename MockTransactionImpl> |
| void | SetMockTransactionImplType () |
| void | SetMockTransactionImplCreator (std::shared_ptr< MockTransactionImplCreatorBase > mock_transaction_impl_creator) |
|
| MockClientBase (std::shared_ptr< MockTransactionImplCreatorBase > mock_transaction_impl_creator, std::optional< size_t > force_shard_idx) |
|
void | CheckShardIdx (size_t shard_idx) const |
| bool | IsReady (WaitConnectedMode mode) const |
| template<typename ScriptResult, typename ReplyType = ScriptResult> |
| RequestEval< ScriptResult, ReplyType > | Eval (std::string script, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) |
| | Invoke the execution of a server-side Lua script.
|
| template<typename ScriptInfo, typename ReplyType = std::decay_t<ScriptInfo>> |
| RequestEval< std::decay_t< ScriptInfo >, ReplyType > | Eval (const ScriptInfo &script_info, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| template<typename ScriptResult, typename ReplyType = ScriptResult> |
| RequestEvalSha< ScriptResult, ReplyType > | EvalSha (std::string script_hash, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) |
| | Invoke the execution of a server-side Lua script that was previously uploaded to the server via ScriptLoad() member function.
|
| template<typename ScriptResult, typename ReplyType = ScriptResult> |
| RequestEval< ScriptResult, ReplyType > | EvalReadOnly (std::string script, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) |
| | This is a read-only variant of the Eval() command that cannot execute commands that modify data.
|
| template<typename ScriptResult, typename ReplyType = ScriptResult> |
| RequestEvalSha< ScriptResult, ReplyType > | EvalShaReadOnly (std::string script_hash, std::vector< std::string > keys, std::vector< std::string > args, const CommandControl &command_control) |
| | This is a read-only variant of the EvalSha() command that cannot execute commands that modify data.
|
| template<typename ReplyType> |
| RequestGeneric< ReplyType > | GenericCommand (std::string command, std::vector< std::string > args, size_t key_index, const CommandControl &command_control) |
| | Execute a custom Redis command.
|
|
RequestGet | Get (std::string key, RetryNilFromMaster, const CommandControl &command_control) |
|
RequestHget | Hget (std::string key, std::string field, RetryNilFromMaster, const CommandControl &command_control) |
|
RequestHscan | Hscan (std::string key, const CommandControl &command_control) |
|
void | Publish (std::string channel, std::string message, const CommandControl &command_control) |
|
RequestScan | Scan (size_t shard, const CommandControl &command_control) |
|
RequestSscan | Sscan (std::string key, const CommandControl &command_control) |
|
RequestZscan | Zscan (std::string key, const CommandControl &command_control) |
|
RequestZscore | Zscore (std::string key, std::string member, RetryNilFromMaster, const CommandControl &command_control) |