Interface RedisAPI


public interface RedisAPI
Auto generated Redis API client wrapper.
Version:
redis_version:8.6.2
  • Method Details

    • api

      static RedisAPI api(Redis client)
    • api

      static RedisAPI api(RedisConnection connection)
    • close

      void close()
    • ftAdd

      default Future<Response> ftAdd(List<String> args)
      See Also:
    • ftAggregate

      default Future<Response> ftAggregate(List<String> args)
      Run a search query on an index and perform aggregate transformations on the results.
      Since:
      Redis Search 1.1.0
      See Also:
    • ftAliasadd

      default Future<Response> ftAliasadd(List<String> args)
      Adds an alias to the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftAliasdel

      default Future<Response> ftAliasdel(List<String> args)
      Deletes an alias from the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftAliasupdate

      default Future<Response> ftAliasupdate(List<String> args)
      Adds or updates an alias to the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftAlter

      default Future<Response> ftAlter(List<String> args)
      Adds a new field to the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftConfig

      default Future<Response> ftConfig(List<String> args)
      See Also:
    • ftCreate

      default Future<Response> ftCreate(List<String> args)
      Creates an index with the given spec.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftCursor

      default Future<Response> ftCursor(List<String> args)
      See Also:
    • ftDebug

      default Future<Response> ftDebug(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • ftDel

      default Future<Response> ftDel(List<String> args)
      See Also:
    • ftDictadd

      default Future<Response> ftDictadd(List<String> args)
      Adds terms to a dictionary.
      Since:
      Redis Search 1.4.0
      See Also:
    • ftDictdel

      default Future<Response> ftDictdel(List<String> args)
      Deletes terms from a dictionary.
      Since:
      Redis Search 1.4.0
      See Also:
    • ftDictdump

      default Future<Response> ftDictdump(List<String> args)
      Dumps all terms in the given dictionary.
      Since:
      Redis Search 1.4.0
      See Also:
    • ftDrop

      default Future<Response> ftDrop(List<String> args)
      See Also:
    • ftDropindex

      default Future<Response> ftDropindex(List<String> args)
      Deletes the index.
      Since:
      Redis Search 2.0.0
      See Also:
    • ftExplain

      default Future<Response> ftExplain(List<String> args)
      Returns the execution plan for a complex query.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftExplaincli

      default Future<Response> ftExplaincli(List<String> args)
      Returns the execution plan for a complex query.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftGet

      default Future<Response> ftGet(List<String> args)
      See Also:
    • ftHybrid

      default Future<Response> ftHybrid(List<String> args)
      Performs hybrid search combining text search and vector similarity search.
      Since:
      Redis Search 8.4.4
      See Also:
    • ftInfo

      default Future<Response> ftInfo(List<String> args)
      Returns information and statistics on the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftMget

      default Future<Response> ftMget(List<String> args)
      See Also:
    • ftProfile

      default Future<Response> ftProfile(List<String> args)
      Performs a `FT.SEARCH` or `FT.AGGREGATE` command and collects performance information.
      Since:
      Redis Search 2.2.0
      See Also:
    • ftSafeadd

      default Future<Response> ftSafeadd(List<String> args)
      See Also:
    • ftSearch

      default Future<Response> ftSearch(List<String> args)
      Searches the index with a textual query, returning either documents or just ids.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftSpellcheck

      default Future<Response> ftSpellcheck(List<String> args)
      Performs spelling correction on a query, returning suggestions for misspelled terms.
      Since:
      Redis Search 1.4.0
      See Also:
    • ftSugadd

      default Future<Response> ftSugadd(List<String> args)
      Adds a suggestion string to an auto-complete suggestion dictionary.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftSugdel

      default Future<Response> ftSugdel(List<String> args)
      Deletes a string from a suggestion index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftSugget

      default Future<Response> ftSugget(List<String> args)
      Gets completion suggestions for a prefix.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftSuglen

      default Future<Response> ftSuglen(List<String> args)
      Gets the size of an auto-complete suggestion dictionary.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftSynadd

      default Future<Response> ftSynadd(List<String> args)
      See Also:
    • ftSyndump

      default Future<Response> ftSyndump(List<String> args)
      Dumps the contents of a synonym group.
      Since:
      Redis Search 1.2.0
      See Also:
    • ftSynupdate

      default Future<Response> ftSynupdate(List<String> args)
      Creates or updates a synonym group with additional terms.
      Since:
      Redis Search 1.2.0
      See Also:
    • ftTagvals

      default Future<Response> ftTagvals(List<String> args)
      Returns the distinct tags indexed in a Tag field.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftAliasaddifnx

      default Future<Response> ftAliasaddifnx(List<String> args)
      Adds an alias to the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftAliasdelifx

      default Future<Response> ftAliasdelifx(List<String> args)
      Deletes an alias from the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftAlterifnx

      default Future<Response> ftAlterifnx(List<String> args)
      Adds a new field to the index.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftCreateifnx

      default Future<Response> ftCreateifnx(List<String> args)
      Creates an index with the given spec.
      Since:
      Redis Search 1.0.0
      See Also:
    • ftDropifx

      default Future<Response> ftDropifx(List<String> args)
      See Also:
    • ftDropindexifx

      default Future<Response> ftDropindexifx(List<String> args)
      Deletes the index.
      Since:
      Redis Search 2.0.0
      See Also:
    • ftList

      default Future<Response> ftList(List<String> args)
      Returns a list of all existing indexes.
      Since:
      Redis Search 2.0.0
      See Also:
    • vadd

      default Future<Response> vadd(List<String> args)
      Add one or more elements to a vector set, or update its vector if it already exists.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vcard

      default Future<Response> vcard(String arg0)
      Return the number of elements in a vector set.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vdim

      default Future<Response> vdim(String arg0)
      Return the dimension of vectors in the vector set.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vemb

      default Future<Response> vemb(List<String> args)
      Return the vector associated with an element.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vgetattr

      default Future<Response> vgetattr(String arg0, String arg1)
      Retrieve the JSON attributes of elements.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vinfo

      default Future<Response> vinfo(String arg0)
      Return information about a vector set.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vismember

      default Future<Response> vismember(String arg0, String arg1)
      Check if an element exists in a vector set.
      Since:
      Redis VectorSet 8.2.0
      See Also:
    • vlinks

      default Future<Response> vlinks(List<String> args)
      Return the neighbors of an element at each layer in the HNSW graph.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vrandmember

      default Future<Response> vrandmember(List<String> args)
      Return one or multiple random members from a vector set.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vrange

      default Future<Response> vrange(List<String> args)
      Return vector set elements in a lex range.
      Since:
      Redis VectorSet 8.4.0
      See Also:
    • vrem

      default Future<Response> vrem(String arg0, String arg1)
      Remove an element from a vector set.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vsetattr

      default Future<Response> vsetattr(String arg0, String arg1, String arg2)
      Associate or remove the JSON attributes of elements.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • vsim

      default Future<Response> vsim(List<String> args)
      Return elements by vector similarity.
      Since:
      Redis VectorSet 8.0.0
      See Also:
    • acl

      default Future<Response> acl(List<String> args)
      A container for Access List Control commands.
      Since:
      Redis 6.0.0
      See Also:
    • append

      default Future<Response> append(String arg0, String arg1)
      Appends a string to the value of a key. Creates the key if it doesn't exist.
      Since:
      Redis 2.0.0
      See Also:
    • asking

      default Future<Response> asking()
      Signals that a cluster client is following an -ASK redirect.
      Since:
      Redis 3.0.0
      See Also:
    • auth

      default Future<Response> auth(List<String> args)
      Authenticates the connection.
      Since:
      Redis 1.0.0
      See Also:
    • bfAdd

      default Future<Response> bfAdd(String arg0, String arg1)
      Adds an item to a Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfAdd

      default Future<Response> bfAdd(List<String> args)
      Adds an item to a Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfCard

      default Future<Response> bfCard(String arg0)
      Returns the cardinality of a Bloom filter.
      Since:
      Redis Bloom 2.4.4
      See Also:
    • bfCard

      default Future<Response> bfCard(List<String> args)
      Returns the cardinality of a Bloom filter.
      Since:
      Redis Bloom 2.4.4
      See Also:
    • bfDebug

      default Future<Response> bfDebug(List<String> args)
      See Also:
    • bfExists

      default Future<Response> bfExists(String arg0, String arg1)
      Checks whether an item exists in a Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfExists

      default Future<Response> bfExists(List<String> args)
      Checks whether an item exists in a Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfInfo

      default Future<Response> bfInfo(List<String> args)
      Returns information about a Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfInsert

      default Future<Response> bfInsert(List<String> args)
      Adds one or more items to a Bloom Filter. A filter will be created if it does not exist.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfLoadchunk

      default Future<Response> bfLoadchunk(String arg0, String arg1, String arg2)
      Restores a filter previously saved using SCANDUMP.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfLoadchunk

      default Future<Response> bfLoadchunk(List<String> args)
      Restores a filter previously saved using SCANDUMP.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfMadd

      default Future<Response> bfMadd(List<String> args)
      Adds one or more items to a Bloom Filter. A filter will be created if it does not exist.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfMexists

      default Future<Response> bfMexists(List<String> args)
      Checks whether one or more items exist in a Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfReserve

      default Future<Response> bfReserve(List<String> args)
      Creates a new Bloom Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfScandump

      default Future<Response> bfScandump(String arg0, String arg1)
      Begins an incremental save of the bloom filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bfScandump

      default Future<Response> bfScandump(List<String> args)
      Begins an incremental save of the bloom filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • bgrewriteaof

      default Future<Response> bgrewriteaof()
      Asynchronously rewrites the append-only file to disk.
      Since:
      Redis 1.0.0
      See Also:
    • bgsave

      default Future<Response> bgsave(List<String> args)
      Asynchronously saves the database(s) to disk.
      Since:
      Redis 1.0.0
      See Also:
    • bitcount

      default Future<Response> bitcount(List<String> args)
      Counts the number of set bits (population counting) in a string.
      Since:
      Redis 2.6.0
      See Also:
    • bitfield

      default Future<Response> bitfield(List<String> args)
      Performs arbitrary bitfield integer operations on strings.
      Since:
      Redis 3.2.0
      See Also:
    • bitfieldRo

      default Future<Response> bitfieldRo(List<String> args)
      Performs arbitrary read-only bitfield integer operations on strings.
      Since:
      Redis 6.0.0
      See Also:
    • bitop

      default Future<Response> bitop(List<String> args)
      Performs bitwise operations on multiple strings, and stores the result.
      Since:
      Redis 2.6.0
      See Also:
    • bitpos

      default Future<Response> bitpos(List<String> args)
      Finds the first set (1) or clear (0) bit in a string.
      Since:
      Redis 2.8.7
      See Also:
    • blmove

      default Future<Response> blmove(String arg0, String arg1, String arg2, String arg3, String arg4)
      Pops an element from a list, pushes it to another list and returns it. Blocks until an element is available otherwise. Deletes the list if the last element was moved.
      Since:
      Redis 6.2.0
      See Also:
    • blmpop

      default Future<Response> blmpop(List<String> args)
      Pops the first element from one of multiple lists. Blocks until an element is available otherwise. Deletes the list if the last element was popped.
      Since:
      Redis 7.0.0
      See Also:
    • blpop

      default Future<Response> blpop(List<String> args)
      Removes and returns the first element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.
      Since:
      Redis 2.0.0
      See Also:
    • brpop

      default Future<Response> brpop(List<String> args)
      Removes and returns the last element in a list. Blocks until an element is available otherwise. Deletes the list if the last element was popped.
      Since:
      Redis 2.0.0
      See Also:
    • brpoplpush

      default Future<Response> brpoplpush(String arg0, String arg1, String arg2)
      Deprecated.
      since Redis 6.2.0, replaced by: BLMOVE with the RIGHT and LEFT arguments
      Pops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped.
      Since:
      Redis 2.2.0
      See Also:
    • bzmpop

      default Future<Response> bzmpop(List<String> args)
      Removes and returns a member by score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.
      Since:
      Redis 7.0.0
      See Also:
    • bzpopmax

      default Future<Response> bzpopmax(List<String> args)
      Removes and returns the member with the highest score from one or more sorted sets. Blocks until a member available otherwise. Deletes the sorted set if the last element was popped.
      Since:
      Redis 5.0.0
      See Also:
    • bzpopmin

      default Future<Response> bzpopmin(List<String> args)
      Removes and returns the member with the lowest score from one or more sorted sets. Blocks until a member is available otherwise. Deletes the sorted set if the last element was popped.
      Since:
      Redis 5.0.0
      See Also:
    • cfAdd

      default Future<Response> cfAdd(String arg0, String arg1)
      Adds an item to a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfAdd

      default Future<Response> cfAdd(List<String> args)
      Adds an item to a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfAddnx

      default Future<Response> cfAddnx(String arg0, String arg1)
      Adds an item to a Cuckoo Filter if the item did not exist previously.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfAddnx

      default Future<Response> cfAddnx(List<String> args)
      Adds an item to a Cuckoo Filter if the item did not exist previously.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfCompact

      default Future<Response> cfCompact(List<String> args)
      See Also:
    • cfCount

      default Future<Response> cfCount(String arg0, String arg1)
      Return the number of times an item might be in a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfCount

      default Future<Response> cfCount(List<String> args)
      Return the number of times an item might be in a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfDebug

      default Future<Response> cfDebug(List<String> args)
      See Also:
    • cfDel

      default Future<Response> cfDel(String arg0, String arg1)
      Deletes an item from a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfDel

      default Future<Response> cfDel(List<String> args)
      Deletes an item from a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfExists

      default Future<Response> cfExists(String arg0, String arg1)
      Checks whether one or more items exist in a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfExists

      default Future<Response> cfExists(List<String> args)
      Checks whether one or more items exist in a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfInfo

      default Future<Response> cfInfo(String arg0)
      Returns information about a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfInfo

      default Future<Response> cfInfo(List<String> args)
      Returns information about a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfInsert

      default Future<Response> cfInsert(List<String> args)
      Adds one or more items to a Cuckoo Filter. A filter will be created if it does not exist.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfInsertnx

      default Future<Response> cfInsertnx(List<String> args)
      Adds one or more items to a Cuckoo Filter if the items did not exist previously. A filter will be created if it does not exist.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfLoadchunk

      default Future<Response> cfLoadchunk(String arg0, String arg1, String arg2)
      Restores a filter previously saved using SCANDUMP.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfLoadchunk

      default Future<Response> cfLoadchunk(List<String> args)
      Restores a filter previously saved using SCANDUMP.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfMexists

      default Future<Response> cfMexists(List<String> args)
      Checks whether one or more items exist in a Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfReserve

      default Future<Response> cfReserve(List<String> args)
      Creates a new Cuckoo Filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfScandump

      default Future<Response> cfScandump(String arg0, String arg1)
      Begins an incremental save of the bloom filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • cfScandump

      default Future<Response> cfScandump(List<String> args)
      Begins an incremental save of the bloom filter.
      Since:
      Redis Bloom 1.0.0
      See Also:
    • client

      default Future<Response> client(List<String> args)
      A container for client connection commands.
      Since:
      Redis 2.4.0
      See Also:
    • cluster

      default Future<Response> cluster(List<String> args)
      A container for Redis Cluster commands.
      Since:
      Redis 3.0.0
      See Also:
    • cmsIncrby

      default Future<Response> cmsIncrby(List<String> args)
      Increases the count of one or more items by increment.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsInfo

      default Future<Response> cmsInfo(String arg0)
      Returns information about a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsInfo

      default Future<Response> cmsInfo(List<String> args)
      Returns information about a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsInitbydim

      default Future<Response> cmsInitbydim(String arg0, String arg1, String arg2)
      Initializes a Count-Min Sketch to dimensions specified by user.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsInitbydim

      default Future<Response> cmsInitbydim(List<String> args)
      Initializes a Count-Min Sketch to dimensions specified by user.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsInitbyprob

      default Future<Response> cmsInitbyprob(String arg0, String arg1, String arg2)
      Initializes a Count-Min Sketch to accommodate requested tolerances.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsInitbyprob

      default Future<Response> cmsInitbyprob(List<String> args)
      Initializes a Count-Min Sketch to accommodate requested tolerances.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsMerge

      default Future<Response> cmsMerge(List<String> args)
      Merges several sketches into one sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • cmsQuery

      default Future<Response> cmsQuery(List<String> args)
      Returns the count for one or more items in a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • command

      default Future<Response> command(List<String> args)
      Returns detailed information about all commands.
      Since:
      Redis 2.8.13
      See Also:
    • config

      default Future<Response> config(List<String> args)
      A container for server configuration commands.
      Since:
      Redis 2.0.0
      See Also:
    • copy

      default Future<Response> copy(List<String> args)
      Copies the value of a key to a new key.
      Since:
      Redis 6.2.0
      See Also:
    • dbsize

      default Future<Response> dbsize()
      Returns the number of keys in the database.
      Since:
      Redis 1.0.0
      See Also:
    • debug

      default Future<Response> debug(List<String> args)
      A container for debugging commands.
      Since:
      Redis 1.0.0
      See Also:
    • decr

      default Future<Response> decr(String arg0)
      Decrements the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • decrby

      default Future<Response> decrby(String arg0, String arg1)
      Decrements a number from the integer value of a key. Uses 0 as initial value if the key doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • del

      default Future<Response> del(List<String> args)
      Deletes one or more keys.
      Since:
      Redis 1.0.0
      See Also:
    • delex

      default Future<Response> delex(List<String> args)
      Conditionally removes the specified key based on value or digest comparison.
      Since:
      Redis 8.4.0
      See Also:
    • digest

      default Future<Response> digest(String arg0)
      Returns the XXH3 hash of a string value.
      Since:
      Redis 8.4.0
      See Also:
    • discard

      default Future<Response> discard()
      Discards a transaction.
      Since:
      Redis 2.0.0
      See Also:
    • dump

      default Future<Response> dump(String arg0)
      Returns a serialized representation of the value stored at a key.
      Since:
      Redis 2.6.0
      See Also:
    • echo

      default Future<Response> echo(String arg0)
      Returns the given string.
      Since:
      Redis 1.0.0
      See Also:
    • eval

      default Future<Response> eval(List<String> args)
      Executes a server-side Lua script.
      Since:
      Redis 2.6.0
      See Also:
    • evalRo

      default Future<Response> evalRo(List<String> args)
      Executes a read-only server-side Lua script.
      Since:
      Redis 7.0.0
      See Also:
    • evalsha

      default Future<Response> evalsha(List<String> args)
      Executes a server-side Lua script by SHA1 digest.
      Since:
      Redis 2.6.0
      See Also:
    • evalshaRo

      default Future<Response> evalshaRo(List<String> args)
      Executes a read-only server-side Lua script by SHA1 digest.
      Since:
      Redis 7.0.0
      See Also:
    • exec

      default Future<Response> exec()
      Executes all commands in a transaction.
      Since:
      Redis 1.2.0
      See Also:
    • exists

      default Future<Response> exists(List<String> args)
      Determines whether one or more keys exist.
      Since:
      Redis 1.0.0
      See Also:
    • expire

      default Future<Response> expire(List<String> args)
      Sets the expiration time of a key in seconds.
      Since:
      Redis 1.0.0
      See Also:
    • expireat

      default Future<Response> expireat(List<String> args)
      Sets the expiration time of a key to a Unix timestamp.
      Since:
      Redis 1.2.0
      See Also:
    • expiretime

      default Future<Response> expiretime(String arg0)
      Returns the expiration time of a key as a Unix timestamp.
      Since:
      Redis 7.0.0
      See Also:
    • failover

      default Future<Response> failover(List<String> args)
      Starts a coordinated failover from a server to one of its replicas.
      Since:
      Redis 6.2.0
      See Also:
    • fcall

      default Future<Response> fcall(List<String> args)
      Invokes a function.
      Since:
      Redis 7.0.0
      See Also:
    • fcallRo

      default Future<Response> fcallRo(List<String> args)
      Invokes a read-only function.
      Since:
      Redis 7.0.0
      See Also:
    • flushall

      default Future<Response> flushall(List<String> args)
      Removes all keys from all databases.
      Since:
      Redis 1.0.0
      See Also:
    • flushdb

      default Future<Response> flushdb(List<String> args)
      Remove all keys from the current database.
      Since:
      Redis 1.0.0
      See Also:
    • function

      default Future<Response> function(List<String> args)
      A container for function commands.
      Since:
      Redis 7.0.0
      See Also:
    • geoadd

      default Future<Response> geoadd(List<String> args)
      Adds one or more members to a geospatial index. The key is created if it doesn't exist.
      Since:
      Redis 3.2.0
      See Also:
    • geodist

      default Future<Response> geodist(List<String> args)
      Returns the distance between two members of a geospatial index.
      Since:
      Redis 3.2.0
      See Also:
    • geohash

      default Future<Response> geohash(List<String> args)
      Returns members from a geospatial index as geohash strings.
      Since:
      Redis 3.2.0
      See Also:
    • geopos

      default Future<Response> geopos(List<String> args)
      Returns the longitude and latitude of members from a geospatial index.
      Since:
      Redis 3.2.0
      See Also:
    • georadius

      default Future<Response> georadius(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: GEOSEARCH and GEOSEARCHSTORE with the BYRADIUS argument
      Queries a geospatial index for members within a distance from a coordinate, optionally stores the result.
      Since:
      Redis 3.2.0
      See Also:
    • georadiusRo

      default Future<Response> georadiusRo(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: GEOSEARCH with the BYRADIUS argument
      Returns members from a geospatial index that are within a distance from a coordinate.
      Since:
      Redis 3.2.10
      See Also:
    • georadiusbymember

      default Future<Response> georadiusbymember(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: GEOSEARCH and GEOSEARCHSTORE with the BYRADIUS and FROMMEMBER arguments
      Queries a geospatial index for members within a distance from a member, optionally stores the result.
      Since:
      Redis 3.2.0
      See Also:
    • georadiusbymemberRo

      default Future<Response> georadiusbymemberRo(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: GEOSEARCH with the BYRADIUS and FROMMEMBER arguments
      Returns members from a geospatial index that are within a distance from a member.
      Since:
      Redis 3.2.10
      See Also:
    • geosearch

      default Future<Response> geosearch(List<String> args)
      Queries a geospatial index for members inside an area of a box or a circle.
      Since:
      Redis 6.2.0
      See Also:
    • geosearchstore

      default Future<Response> geosearchstore(List<String> args)
      Queries a geospatial index for members inside an area of a box or a circle, optionally stores the result.
      Since:
      Redis 6.2.0
      See Also:
    • get

      default Future<Response> get(String arg0)
      Returns the string value of a key.
      Since:
      Redis 1.0.0
      See Also:
    • getbit

      default Future<Response> getbit(String arg0, String arg1)
      Returns a bit value by offset.
      Since:
      Redis 2.2.0
      See Also:
    • getdel

      default Future<Response> getdel(String arg0)
      Returns the string value of a key after deleting the key.
      Since:
      Redis 6.2.0
      See Also:
    • getex

      default Future<Response> getex(List<String> args)
      Returns the string value of a key after setting its expiration time.
      Since:
      Redis 6.2.0
      See Also:
    • getrange

      default Future<Response> getrange(String arg0, String arg1, String arg2)
      Returns a substring of the string stored at a key.
      Since:
      Redis 2.4.0
      See Also:
    • getset

      default Future<Response> getset(String arg0, String arg1)
      Deprecated.
      since Redis 6.2.0, replaced by: SET with the !GET argument
      Returns the previous string value of a key after setting it to a new value.
      Since:
      Redis 1.0.0
      See Also:
    • graphBulk

      default Future<Response> graphBulk(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphConfig

      default Future<Response> graphConfig(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphDebug

      default Future<Response> graphDebug(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphDelete

      default Future<Response> graphDelete(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphExplain

      default Future<Response> graphExplain(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphList

      default Future<Response> graphList(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphProfile

      default Future<Response> graphProfile(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphQuery

      default Future<Response> graphQuery(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphRoQuery

      default Future<Response> graphRoQuery(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • graphSlowlog

      default Future<Response> graphSlowlog(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • hdel

      default Future<Response> hdel(List<String> args)
      Deletes one or more fields and their values from a hash. Deletes the hash if no fields remain.
      Since:
      Redis 2.0.0
      See Also:
    • hello

      default Future<Response> hello(List<String> args)
      Handshakes with the Redis server.
      Since:
      Redis 6.0.0
      See Also:
    • hexists

      default Future<Response> hexists(String arg0, String arg1)
      Determines whether a field exists in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hexpire

      default Future<Response> hexpire(List<String> args)
      Set expiry for hash field using relative time to expire (seconds).
      Since:
      Redis 7.4.0
      See Also:
    • hexpireat

      default Future<Response> hexpireat(List<String> args)
      Set expiry for hash field using an absolute Unix timestamp (seconds).
      Since:
      Redis 7.4.0
      See Also:
    • hexpiretime

      default Future<Response> hexpiretime(List<String> args)
      Returns the expiration time of a hash field as a Unix timestamp, in seconds.
      Since:
      Redis 7.4.0
      See Also:
    • hget

      default Future<Response> hget(String arg0, String arg1)
      Returns the value of a field in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hgetall

      default Future<Response> hgetall(String arg0)
      Returns all fields and values in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hgetdel

      default Future<Response> hgetdel(List<String> args)
      Returns the value of a field and deletes it from the hash.
      Since:
      Redis 8.0.0
      See Also:
    • hgetex

      default Future<Response> hgetex(List<String> args)
      Get the value of one or more fields of a given hash key, and optionally set their expiration.
      Since:
      Redis 8.0.0
      See Also:
    • hincrby

      default Future<Response> hincrby(String arg0, String arg1, String arg2)
      Increments the integer value of a field in a hash by a number. Uses 0 as initial value if the field doesn't exist.
      Since:
      Redis 2.0.0
      See Also:
    • hincrbyfloat

      default Future<Response> hincrbyfloat(String arg0, String arg1, String arg2)
      Increments the floating point value of a field by a number. Uses 0 as initial value if the field doesn't exist.
      Since:
      Redis 2.6.0
      See Also:
    • hkeys

      default Future<Response> hkeys(String arg0)
      Returns all fields in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hlen

      default Future<Response> hlen(String arg0)
      Returns the number of fields in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hmget

      default Future<Response> hmget(List<String> args)
      Returns the values of all fields in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hmset

      default Future<Response> hmset(List<String> args)
      Deprecated.
      since Redis 4.0.0, replaced by: HSET with multiple field-value pairs
      Sets the values of multiple fields.
      Since:
      Redis 2.0.0
      See Also:
    • hotkeys

      default Future<Response> hotkeys(List<String> args)
      A container for hotkeys tracking commands.
      Since:
      Redis 8.6.0
      See Also:
    • hpersist

      default Future<Response> hpersist(List<String> args)
      Removes the expiration time for each specified field.
      Since:
      Redis 7.4.0
      See Also:
    • hpexpire

      default Future<Response> hpexpire(List<String> args)
      Set expiry for hash field using relative time to expire (milliseconds).
      Since:
      Redis 7.4.0
      See Also:
    • hpexpireat

      default Future<Response> hpexpireat(List<String> args)
      Set expiry for hash field using an absolute Unix timestamp (milliseconds).
      Since:
      Redis 7.4.0
      See Also:
    • hpexpiretime

      default Future<Response> hpexpiretime(List<String> args)
      Returns the expiration time of a hash field as a Unix timestamp, in msec.
      Since:
      Redis 7.4.0
      See Also:
    • hpttl

      default Future<Response> hpttl(List<String> args)
      Returns the TTL in milliseconds of a hash field.
      Since:
      Redis 7.4.0
      See Also:
    • hrandfield

      default Future<Response> hrandfield(List<String> args)
      Returns one or more random fields from a hash.
      Since:
      Redis 6.2.0
      See Also:
    • hscan

      default Future<Response> hscan(List<String> args)
      Iterates over fields and values of a hash.
      Since:
      Redis 2.8.0
      See Also:
    • hset

      default Future<Response> hset(List<String> args)
      Creates or modifies the value of a field in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • hsetex

      default Future<Response> hsetex(List<String> args)
      Set the value of one or more fields of a given hash key, and optionally set their expiration.
      Since:
      Redis 8.0.0
      See Also:
    • hsetnx

      default Future<Response> hsetnx(String arg0, String arg1, String arg2)
      Sets the value of a field in a hash only when the field doesn't exist.
      Since:
      Redis 2.0.0
      See Also:
    • hstrlen

      default Future<Response> hstrlen(String arg0, String arg1)
      Returns the length of the value of a field.
      Since:
      Redis 3.2.0
      See Also:
    • httl

      default Future<Response> httl(List<String> args)
      Returns the TTL in seconds of a hash field.
      Since:
      Redis 7.4.0
      See Also:
    • hvals

      default Future<Response> hvals(String arg0)
      Returns all values in a hash.
      Since:
      Redis 2.0.0
      See Also:
    • incr

      default Future<Response> incr(String arg0)
      Increments the integer value of a key by one. Uses 0 as initial value if the key doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • incrby

      default Future<Response> incrby(String arg0, String arg1)
      Increments the integer value of a key by a number. Uses 0 as initial value if the key doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • incrbyfloat

      default Future<Response> incrbyfloat(String arg0, String arg1)
      Increment the floating point value of a key by a number. Uses 0 as initial value if the key doesn't exist.
      Since:
      Redis 2.6.0
      See Also:
    • info

      default Future<Response> info(List<String> args)
      Returns information and statistics about the server.
      Since:
      Redis 1.0.0
      See Also:
    • jsonArrappend

      default Future<Response> jsonArrappend(List<String> args)
      Append the JSON values into the array at path after the last element in it.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonArrindex

      default Future<Response> jsonArrindex(List<String> args)
      Search for the first occurrence of a JSON value in an array.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonArrinsert

      default Future<Response> jsonArrinsert(List<String> args)
      Insert the json values into the array at path before the index (shifts to the right).
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonArrlen

      default Future<Response> jsonArrlen(List<String> args)
      Report the length of the JSON array at path in key.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonArrpop

      default Future<Response> jsonArrpop(List<String> args)
      Remove and return the element at the specified index in the array at path.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonArrtrim

      default Future<Response> jsonArrtrim(String arg0, String arg1, String arg2, String arg3)
      Trim an array so that it contains only the specified inclusive range of elements.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonArrtrim

      default Future<Response> jsonArrtrim(List<String> args)
      Trim an array so that it contains only the specified inclusive range of elements.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonClear

      default Future<Response> jsonClear(List<String> args)
      Clear container values (arrays/objects) and set numeric values to 0.
      Since:
      Redis ReJSON 2.0.0
      See Also:
    • jsonDebug

      default Future<Response> jsonDebug(List<String> args)
      This is a container command for debugging related tasks.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonDel

      default Future<Response> jsonDel(List<String> args)
      Delete a value.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonForget

      default Future<Response> jsonForget(List<String> args)
      Delete a value.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonGet

      default Future<Response> jsonGet(List<String> args)
      Get JSON value at path.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonMerge

      default Future<Response> jsonMerge(List<String> args)
      Merge a given JSON value into matching paths. Consequently, JSON values at matching paths are updated, deleted, or expanded with new children.
      Since:
      Redis ReJSON 2.6.0
      See Also:
    • jsonMget

      default Future<Response> jsonMget(List<String> args)
      Return the values at path from multiple key arguments.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonMset

      default Future<Response> jsonMset(List<String> args)
      Set or update one or more JSON values according to the specified key-path-value triplets.
      Since:
      Redis ReJSON 2.6.0
      See Also:
    • jsonNumincrby

      default Future<Response> jsonNumincrby(String arg0, String arg1, String arg2)
      Increment the number value stored at path by number.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonNumincrby

      default Future<Response> jsonNumincrby(List<String> args)
      Increment the number value stored at path by number.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonNummultby

      default Future<Response> jsonNummultby(String arg0, String arg1, String arg2)
      Multiply the number value stored at path by number.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonNummultby

      default Future<Response> jsonNummultby(List<String> args)
      Multiply the number value stored at path by number.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonNumpowby

      default Future<Response> jsonNumpowby(String arg0, String arg1, String arg2)
      Raise the number value stored at path to the power of number.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonNumpowby

      default Future<Response> jsonNumpowby(List<String> args)
      Raise the number value stored at path to the power of number.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonObjkeys

      default Future<Response> jsonObjkeys(List<String> args)
      Return the keys in the object that's referenced by path.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonObjlen

      default Future<Response> jsonObjlen(List<String> args)
      Report the number of keys in the JSON object at path in key.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonResp

      default Future<Response> jsonResp(List<String> args)
      Return the JSON in key in Redis serialization protocol specification form.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonSet

      default Future<Response> jsonSet(List<String> args)
      Set the JSON value at path in key.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonStrappend

      default Future<Response> jsonStrappend(List<String> args)
      Append the json-string values to the string at path.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonStrlen

      default Future<Response> jsonStrlen(List<String> args)
      Report the length of the JSON String at path in key.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • jsonToggle

      default Future<Response> jsonToggle(String arg0, String arg1)
      Toggle the boolean value stored at path.
      Since:
      Redis ReJSON 2.0.0
      See Also:
    • jsonToggle

      default Future<Response> jsonToggle(List<String> args)
      Toggle the boolean value stored at path.
      Since:
      Redis ReJSON 2.0.0
      See Also:
    • jsonType

      default Future<Response> jsonType(List<String> args)
      Report the type of JSON value at path.
      Since:
      Redis ReJSON 1.0.0
      See Also:
    • keys

      default Future<Response> keys(String arg0)
      Returns all key names that match a pattern.
      Since:
      Redis 1.0.0
      See Also:
    • lastsave

      default Future<Response> lastsave()
      Returns the Unix timestamp of the last successful save to disk.
      Since:
      Redis 1.0.0
      See Also:
    • latency

      default Future<Response> latency(List<String> args)
      A container for latency diagnostics commands.
      Since:
      Redis 2.8.13
      See Also:
    • lcs

      default Future<Response> lcs(List<String> args)
      Finds the longest common substring.
      Since:
      Redis 7.0.0
      See Also:
    • lindex

      default Future<Response> lindex(String arg0, String arg1)
      Returns an element from a list by its index.
      Since:
      Redis 1.0.0
      See Also:
    • linsert

      default Future<Response> linsert(String arg0, String arg1, String arg2, String arg3)
      Inserts an element before or after another element in a list.
      Since:
      Redis 2.2.0
      See Also:
    • llen

      default Future<Response> llen(String arg0)
      Returns the length of a list.
      Since:
      Redis 1.0.0
      See Also:
    • lmove

      default Future<Response> lmove(String arg0, String arg1, String arg2, String arg3)
      Returns an element after popping it from one list and pushing it to another. Deletes the list if the last element was moved.
      Since:
      Redis 6.2.0
      See Also:
    • lmpop

      default Future<Response> lmpop(List<String> args)
      Returns multiple elements from a list after removing them. Deletes the list if the last element was popped.
      Since:
      Redis 7.0.0
      See Also:
    • lolwut

      default Future<Response> lolwut(List<String> args)
      Displays computer art and the Redis version.
      Since:
      Redis 5.0.0
      See Also:
    • lpop

      default Future<Response> lpop(List<String> args)
      Returns the first elements in a list after removing it. Deletes the list if the last element was popped.
      Since:
      Redis 1.0.0
      See Also:
    • lpos

      default Future<Response> lpos(List<String> args)
      Returns the index of matching elements in a list.
      Since:
      Redis 6.0.6
      See Also:
    • lpush

      default Future<Response> lpush(List<String> args)
      Prepends one or more elements to a list. Creates the key if it doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • lpushx

      default Future<Response> lpushx(List<String> args)
      Prepends one or more elements to a list only when the list exists.
      Since:
      Redis 2.2.0
      See Also:
    • lrange

      default Future<Response> lrange(String arg0, String arg1, String arg2)
      Returns a range of elements from a list.
      Since:
      Redis 1.0.0
      See Also:
    • lrem

      default Future<Response> lrem(String arg0, String arg1, String arg2)
      Removes elements from a list. Deletes the list if the last element was removed.
      Since:
      Redis 1.0.0
      See Also:
    • lset

      default Future<Response> lset(String arg0, String arg1, String arg2)
      Sets the value of an element in a list by its index.
      Since:
      Redis 1.0.0
      See Also:
    • ltrim

      default Future<Response> ltrim(String arg0, String arg1, String arg2)
      Removes elements from both ends a list. Deletes the list if all elements were trimmed.
      Since:
      Redis 1.0.0
      See Also:
    • memory

      default Future<Response> memory(List<String> args)
      A container for memory diagnostics commands.
      Since:
      Redis 4.0.0
      See Also:
    • mget

      default Future<Response> mget(List<String> args)
      Atomically returns the string values of one or more keys.
      Since:
      Redis 1.0.0
      See Also:
    • migrate

      default Future<Response> migrate(List<String> args)
      Atomically transfers a key from one Redis instance to another.
      Since:
      Redis 2.6.0
      See Also:
    • module

      default Future<Response> module(List<String> args)
      A container for module commands.
      Since:
      Redis 4.0.0
      See Also:
    • monitor

      default Future<Response> monitor()
      Listens for all requests received by the server in real-time.
      Since:
      Redis 1.0.0
      See Also:
    • move

      default Future<Response> move(String arg0, String arg1)
      Moves a key to another database.
      Since:
      Redis 1.0.0
      See Also:
    • mset

      default Future<Response> mset(List<String> args)
      Atomically creates or modifies the string values of one or more keys.
      Since:
      Redis 1.0.1
      See Also:
    • msetex

      default Future<Response> msetex(List<String> args)
      Atomically sets multiple string keys with a shared expiration in a single operation. Supports flexible argument parsing where condition and expiration flags can appear in any order.
      Since:
      Redis 8.4.0
      See Also:
    • msetnx

      default Future<Response> msetnx(List<String> args)
      Atomically modifies the string values of one or more keys only when all keys don't exist.
      Since:
      Redis 1.0.1
      See Also:
    • multi

      default Future<Response> multi()
      Starts a transaction.
      Since:
      Redis 1.2.0
      See Also:
    • object

      default Future<Response> object(List<String> args)
      A container for object introspection commands.
      Since:
      Redis 2.2.3
      See Also:
    • persist

      default Future<Response> persist(String arg0)
      Removes the expiration time of a key.
      Since:
      Redis 2.2.0
      See Also:
    • pexpire

      default Future<Response> pexpire(List<String> args)
      Sets the expiration time of a key in milliseconds.
      Since:
      Redis 2.6.0
      See Also:
    • pexpireat

      default Future<Response> pexpireat(List<String> args)
      Sets the expiration time of a key to a Unix milliseconds timestamp.
      Since:
      Redis 2.6.0
      See Also:
    • pexpiretime

      default Future<Response> pexpiretime(String arg0)
      Returns the expiration time of a key as a Unix milliseconds timestamp.
      Since:
      Redis 7.0.0
      See Also:
    • pfadd

      default Future<Response> pfadd(List<String> args)
      Adds elements to a HyperLogLog key. Creates the key if it doesn't exist.
      Since:
      Redis 2.8.9
      See Also:
    • pfcount

      default Future<Response> pfcount(List<String> args)
      Returns the approximated cardinality of the set(s) observed by the HyperLogLog key(s).
      Since:
      Redis 2.8.9
      See Also:
    • pfdebug

      default Future<Response> pfdebug(String arg0, String arg1)
      Internal commands for debugging HyperLogLog values.
      Since:
      Redis 2.8.9
      See Also:
    • pfmerge

      default Future<Response> pfmerge(List<String> args)
      Merges one or more HyperLogLog values into a single key.
      Since:
      Redis 2.8.9
      See Also:
    • pfselftest

      default Future<Response> pfselftest()
      An internal command for testing HyperLogLog values.
      Since:
      Redis 2.8.9
      See Also:
    • ping

      default Future<Response> ping(List<String> args)
      Returns the server's liveliness response.
      Since:
      Redis 1.0.0
      See Also:
    • psetex

      default Future<Response> psetex(String arg0, String arg1, String arg2)
      Deprecated.
      since Redis 2.6.12, replaced by: SET with the PX argument
      Sets both string value and expiration time in milliseconds of a key. The key is created if it doesn't exist.
      Since:
      Redis 2.6.0
      See Also:
    • psubscribe

      default Future<Response> psubscribe(List<String> args)
      Listens for messages published to channels that match one or more patterns.
      Since:
      Redis 2.0.0
      See Also:
    • psync

      default Future<Response> psync(List<String> args)
      An internal command used in replication.
      Since:
      Redis 2.8.0
      See Also:
    • pttl

      default Future<Response> pttl(String arg0)
      Returns the expiration time in milliseconds of a key.
      Since:
      Redis 2.6.0
      See Also:
    • publish

      default Future<Response> publish(String arg0, String arg1)
      Posts a message to a channel.
      Since:
      Redis 2.0.0
      See Also:
    • pubsub

      default Future<Response> pubsub(List<String> args)
      A container for Pub/Sub commands.
      Since:
      Redis 2.8.0
      See Also:
    • punsubscribe

      default Future<Response> punsubscribe(List<String> args)
      Stops listening to messages published to channels that match one or more patterns.
      Since:
      Redis 2.0.0
      See Also:
    • quit

      default Future<Response> quit(List<String> args)
      Deprecated.
      since Redis 7.2.0, replaced by: just closing the connection
      Closes the connection.
      Since:
      Redis 1.0.0
      See Also:
    • randomkey

      default Future<Response> randomkey()
      Returns a random key name from the database.
      Since:
      Redis 1.0.0
      See Also:
    • readonly

      default Future<Response> readonly()
      Enables read-only queries for a connection to a Redis Cluster replica node.
      Since:
      Redis 3.0.0
      See Also:
    • readwrite

      default Future<Response> readwrite()
      Enables read-write queries for a connection to a Reids Cluster replica node.
      Since:
      Redis 3.0.0
      See Also:
    • rename

      default Future<Response> rename(String arg0, String arg1)
      Renames a key and overwrites the destination.
      Since:
      Redis 1.0.0
      See Also:
    • renamenx

      default Future<Response> renamenx(String arg0, String arg1)
      Renames a key only when the target key name doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • replconf

      default Future<Response> replconf(List<String> args)
      An internal command for configuring the replication stream.
      Since:
      Redis 3.0.0
      See Also:
    • replicaof

      default Future<Response> replicaof(String arg0, String arg1)
      Configures a server as replica of another, or promotes it to a master.
      Since:
      Redis 5.0.0
      See Also:
    • reset

      default Future<Response> reset()
      Resets the connection.
      Since:
      Redis 6.2.0
      See Also:
    • restore

      default Future<Response> restore(List<String> args)
      Creates a key from the serialized representation of a value.
      Since:
      Redis 2.6.0
      See Also:
    • restoreAsking

      default Future<Response> restoreAsking(List<String> args)
      An internal command for migrating keys in a cluster.
      Since:
      Redis 3.0.0
      See Also:
    • role

      default Future<Response> role()
      Returns the replication role.
      Since:
      Redis 2.8.12
      See Also:
    • rpop

      default Future<Response> rpop(List<String> args)
      Returns and removes the last elements of a list. Deletes the list if the last element was popped.
      Since:
      Redis 1.0.0
      See Also:
    • rpoplpush

      default Future<Response> rpoplpush(String arg0, String arg1)
      Deprecated.
      since Redis 6.2.0, replaced by: LMOVE with the RIGHT and LEFT arguments
      Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.
      Since:
      Redis 1.2.0
      See Also:
    • rpush

      default Future<Response> rpush(List<String> args)
      Appends one or more elements to a list. Creates the key if it doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • rpushx

      default Future<Response> rpushx(List<String> args)
      Appends an element to a list only when the list exists.
      Since:
      Redis 2.2.0
      See Also:
    • sadd

      default Future<Response> sadd(List<String> args)
      Adds one or more members to a set. Creates the key if it doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • save

      default Future<Response> save()
      Synchronously saves the database(s) to disk.
      Since:
      Redis 1.0.0
      See Also:
    • scan

      default Future<Response> scan(List<String> args)
      Iterates over the key names in the database.
      Since:
      Redis 2.8.0
      See Also:
    • scard

      default Future<Response> scard(String arg0)
      Returns the number of members in a set.
      Since:
      Redis 1.0.0
      See Also:
    • script

      default Future<Response> script(List<String> args)
      A container for Lua scripts management commands.
      Since:
      Redis 2.6.0
      See Also:
    • sdiff

      default Future<Response> sdiff(List<String> args)
      Returns the difference of multiple sets.
      Since:
      Redis 1.0.0
      See Also:
    • sdiffstore

      default Future<Response> sdiffstore(List<String> args)
      Stores the difference of multiple sets in a key.
      Since:
      Redis 1.0.0
      See Also:
    • searchClusterinfo

      default Future<Response> searchClusterinfo(List<String> args)
      See Also:
    • searchClusterrefresh

      default Future<Response> searchClusterrefresh(List<String> args)
      See Also:
    • searchClusterset

      default Future<Response> searchClusterset(List<String> args)
      See Also:
    • select

      default Future<Response> select(String arg0)
      Changes the selected database.
      Since:
      Redis 1.0.0
      See Also:
    • set

      default Future<Response> set(List<String> args)
      Sets the string value of a key, ignoring its type. The key is created if it doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • setbit

      default Future<Response> setbit(String arg0, String arg1, String arg2)
      Sets or clears the bit at offset of the string value. Creates the key if it doesn't exist.
      Since:
      Redis 2.2.0
      See Also:
    • setex

      default Future<Response> setex(String arg0, String arg1, String arg2)
      Deprecated.
      since Redis 2.6.12, replaced by: SET with the EX argument
      Sets the string value and expiration time of a key. Creates the key if it doesn't exist.
      Since:
      Redis 2.0.0
      See Also:
    • setnx

      default Future<Response> setnx(String arg0, String arg1)
      Deprecated.
      since Redis 2.6.12, replaced by: SET with the NX argument
      Set the string value of a key only when the key doesn't exist.
      Since:
      Redis 1.0.0
      See Also:
    • setrange

      default Future<Response> setrange(String arg0, String arg1, String arg2)
      Overwrites a part of a string value with another by an offset. Creates the key if it doesn't exist.
      Since:
      Redis 2.2.0
      See Also:
    • shutdown

      default Future<Response> shutdown(List<String> args)
      Synchronously saves the database(s) to disk and shuts down the Redis server.
      Since:
      Redis 1.0.0
      See Also:
    • sinter

      default Future<Response> sinter(List<String> args)
      Returns the intersect of multiple sets.
      Since:
      Redis 1.0.0
      See Also:
    • sintercard

      default Future<Response> sintercard(List<String> args)
      Returns the number of members of the intersect of multiple sets.
      Since:
      Redis 7.0.0
      See Also:
    • sinterstore

      default Future<Response> sinterstore(List<String> args)
      Stores the intersect of multiple sets in a key.
      Since:
      Redis 1.0.0
      See Also:
    • sismember

      default Future<Response> sismember(String arg0, String arg1)
      Determines whether a member belongs to a set.
      Since:
      Redis 1.0.0
      See Also:
    • slaveof

      default Future<Response> slaveof(String arg0, String arg1)
      Deprecated.
      since Redis 5.0.0, replaced by: REPLICAOF
      Sets a Redis server as a replica of another, or promotes it to being a master.
      Since:
      Redis 1.0.0
      See Also:
    • slowlog

      default Future<Response> slowlog(List<String> args)
      A container for slow log commands.
      Since:
      Redis 2.2.12
      See Also:
    • smembers

      default Future<Response> smembers(String arg0)
      Returns all members of a set.
      Since:
      Redis 1.0.0
      See Also:
    • smismember

      default Future<Response> smismember(List<String> args)
      Determines whether multiple members belong to a set.
      Since:
      Redis 6.2.0
      See Also:
    • smove

      default Future<Response> smove(String arg0, String arg1, String arg2)
      Moves a member from one set to another.
      Since:
      Redis 1.0.0
      See Also:
    • sort

      default Future<Response> sort(List<String> args)
      Sorts the elements in a list, a set, or a sorted set, optionally storing the result.
      Since:
      Redis 1.0.0
      See Also:
    • sortRo

      default Future<Response> sortRo(List<String> args)
      Returns the sorted elements of a list, a set, or a sorted set.
      Since:
      Redis 7.0.0
      See Also:
    • spop

      default Future<Response> spop(List<String> args)
      Returns one or more random members from a set after removing them. Deletes the set if the last member was popped.
      Since:
      Redis 1.0.0
      See Also:
    • spublish

      default Future<Response> spublish(String arg0, String arg1)
      Post a message to a shard channel.
      Since:
      Redis 7.0.0
      See Also:
    • srandmember

      default Future<Response> srandmember(List<String> args)
      Get one or multiple random members from a set.
      Since:
      Redis 1.0.0
      See Also:
    • srem

      default Future<Response> srem(List<String> args)
      Removes one or more members from a set. Deletes the set if the last member was removed.
      Since:
      Redis 1.0.0
      See Also:
    • sscan

      default Future<Response> sscan(List<String> args)
      Iterates over members of a set.
      Since:
      Redis 2.8.0
      See Also:
    • ssubscribe

      default Future<Response> ssubscribe(List<String> args)
      Listens for messages published to shard channels.
      Since:
      Redis 7.0.0
      See Also:
    • strlen

      default Future<Response> strlen(String arg0)
      Returns the length of a string value.
      Since:
      Redis 2.2.0
      See Also:
    • subscribe

      default Future<Response> subscribe(List<String> args)
      Listens for messages published to channels.
      Since:
      Redis 2.0.0
      See Also:
    • substr

      default Future<Response> substr(String arg0, String arg1, String arg2)
      Deprecated.
      since Redis 2.0.0, replaced by: GETRANGE
      Returns a substring from a string value.
      Since:
      Redis 1.0.0
      See Also:
    • sunion

      default Future<Response> sunion(List<String> args)
      Returns the union of multiple sets.
      Since:
      Redis 1.0.0
      See Also:
    • sunionstore

      default Future<Response> sunionstore(List<String> args)
      Stores the union of multiple sets in a key.
      Since:
      Redis 1.0.0
      See Also:
    • sunsubscribe

      default Future<Response> sunsubscribe(List<String> args)
      Stops listening to messages posted to shard channels.
      Since:
      Redis 7.0.0
      See Also:
    • swapdb

      default Future<Response> swapdb(String arg0, String arg1)
      Swaps two Redis databases.
      Since:
      Redis 4.0.0
      See Also:
    • sync

      default Future<Response> sync()
      An internal command used in replication.
      Since:
      Redis 1.0.0
      See Also:
    • tdigestAdd

      default Future<Response> tdigestAdd(List<String> args)
      Adds one or more observations to a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestByrank

      default Future<Response> tdigestByrank(List<String> args)
      Returns, for each input rank, an estimation of the value (floating-point) with that rank.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestByrevrank

      default Future<Response> tdigestByrevrank(List<String> args)
      Returns, for each input reverse rank, an estimation of the value (floating-point) with that reverse rank.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestCdf

      default Future<Response> tdigestCdf(List<String> args)
      Returns, for each input value, an estimation of the floating-point fraction of (observations smaller than the given value + half the observations equal to the given value). Multiple fractions can be retrieved in a single call.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestCreate

      default Future<Response> tdigestCreate(List<String> args)
      Allocates memory and initializes a new t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestInfo

      default Future<Response> tdigestInfo(String arg0)
      Returns information and statistics about a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestInfo

      default Future<Response> tdigestInfo(List<String> args)
      Returns information and statistics about a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestMax

      default Future<Response> tdigestMax(String arg0)
      Returns the maximum observation value from a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestMax

      default Future<Response> tdigestMax(List<String> args)
      Returns the maximum observation value from a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestMerge

      default Future<Response> tdigestMerge(List<String> args)
      Merges multiple t-digest sketches into a single sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestMin

      default Future<Response> tdigestMin(String arg0)
      Returns the minimum observation value from a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestMin

      default Future<Response> tdigestMin(List<String> args)
      Returns the minimum observation value from a t-digest sketch.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestQuantile

      default Future<Response> tdigestQuantile(List<String> args)
      Returns, for each input fraction, an estimation of the value (floating point) that is smaller than the given fraction of observations.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestRank

      default Future<Response> tdigestRank(List<String> args)
      Returns, for each input value (floating-point), the estimated rank of the value (the number of observations in the sketch that are smaller than the value + half the number of observations that are equal to the value).
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestReset

      default Future<Response> tdigestReset(String arg0)
      Resets a t-digest sketch: empty the sketch and re-initializes it.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestReset

      default Future<Response> tdigestReset(List<String> args)
      Resets a t-digest sketch: empty the sketch and re-initializes it.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestRevrank

      default Future<Response> tdigestRevrank(List<String> args)
      Returns, for each input value (floating-point), the estimated reverse rank of the value (the number of observations in the sketch that are larger than the value + half the number of observations that are equal to the value).
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestTrimmedMean

      default Future<Response> tdigestTrimmedMean(String arg0, String arg1, String arg2)
      Returns an estimation of the mean value from the sketch, excluding observation values outside the low and high cutoff quantiles.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • tdigestTrimmedMean

      default Future<Response> tdigestTrimmedMean(List<String> args)
      Returns an estimation of the mean value from the sketch, excluding observation values outside the low and high cutoff quantiles.
      Since:
      Redis Bloom 2.4.0
      See Also:
    • time

      default Future<Response> time()
      Returns the server time.
      Since:
      Redis 2.6.0
      See Also:
    • timeseriesClusterset

      default Future<Response> timeseriesClusterset(List<String> args)
      See Also:
    • timeseriesClustersetfromshard

      default Future<Response> timeseriesClustersetfromshard(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • timeseriesHello

      default Future<Response> timeseriesHello(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • timeseriesInfocluster

      default Future<Response> timeseriesInfocluster(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • timeseriesInnercommunication

      default Future<Response> timeseriesInnercommunication(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • timeseriesNetworktest

      default Future<Response> timeseriesNetworktest(List<String> args)
      Deprecated.
      this command no longer exists in the latest Redis release
      See Also:
    • timeseriesRefreshcluster

      default Future<Response> timeseriesRefreshcluster(List<String> args)
      See Also:
    • topkAdd

      default Future<Response> topkAdd(List<String> args)
      Adds an item to a Top-k sketch. Multiple items can be added at the same time.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkCount

      default Future<Response> topkCount(List<String> args)
      Return the count for one or more items are in a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkIncrby

      default Future<Response> topkIncrby(List<String> args)
      Increases the count of one or more items by increment.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkInfo

      default Future<Response> topkInfo(String arg0)
      Returns information about a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkInfo

      default Future<Response> topkInfo(List<String> args)
      Returns information about a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkList

      default Future<Response> topkList(List<String> args)
      Return the full list of items in Top-K sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkQuery

      default Future<Response> topkQuery(List<String> args)
      Checks whether one or more items are in a sketch.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • topkReserve

      default Future<Response> topkReserve(List<String> args)
      Initializes a Top-K sketch with specified parameters.
      Since:
      Redis Bloom 2.0.0
      See Also:
    • touch

      default Future<Response> touch(List<String> args)
      Returns the number of existing keys out of those specified after updating the time they were last accessed.
      Since:
      Redis 3.2.1
      See Also:
    • trimslots

      default Future<Response> trimslots(List<String> args)
      Trim the keys that belong to specified slots.
      Since:
      Redis 8.4.0
      See Also:
    • tsAdd

      default Future<Response> tsAdd(List<String> args)
      Append a sample to a time series.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsAlter

      default Future<Response> tsAlter(List<String> args)
      Update the retention, chunk size, duplicate policy, and labels of an existing time series.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsCreate

      default Future<Response> tsCreate(List<String> args)
      Create a new time series.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsCreaterule

      default Future<Response> tsCreaterule(List<String> args)
      Create a compaction rule.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsDecrby

      default Future<Response> tsDecrby(List<String> args)
      Decrease the value of the latest sample.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsDel

      default Future<Response> tsDel(String arg0, String arg1, String arg2)
      Delete all samples between two timestamps for a given time series.
      Since:
      Redis TimeSeries 1.6.0
      See Also:
    • tsDel

      default Future<Response> tsDel(List<String> args)
      Delete all samples between two timestamps for a given time series.
      Since:
      Redis TimeSeries 1.6.0
      See Also:
    • tsDeleterule

      default Future<Response> tsDeleterule(String arg0, String arg1)
      Delete a compaction rule.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsDeleterule

      default Future<Response> tsDeleterule(List<String> args)
      Delete a compaction rule.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsGet

      default Future<Response> tsGet(List<String> args)
      Get the sample with the highest timestamp from a given time series.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsIncrby

      default Future<Response> tsIncrby(List<String> args)
      Increase the value of the latest sample.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsInfo

      default Future<Response> tsInfo(List<String> args)
      Returns information and statistics for a time series.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsMadd

      default Future<Response> tsMadd(List<String> args)
      Append new samples to one or more time series.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsMget

      default Future<Response> tsMget(List<String> args)
      Get the sample with the highest timestamp from each time series matching a specific filter.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsMrange

      default Future<Response> tsMrange(List<String> args)
      Query a range across multiple time series by filters in forward direction.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsMrevrange

      default Future<Response> tsMrevrange(List<String> args)
      Query a range across multiple time series by filters in reverse direction.
      Since:
      Redis TimeSeries 1.4.0
      See Also:
    • tsQueryindex

      default Future<Response> tsQueryindex(List<String> args)
      Get all time series keys matching a filter list.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsRange

      default Future<Response> tsRange(List<String> args)
      Query a range in forward direction.
      Since:
      Redis TimeSeries 1.0.0
      See Also:
    • tsRevrange

      default Future<Response> tsRevrange(List<String> args)
      Query a range in reverse direction.
      Since:
      Redis TimeSeries 1.4.0
      See Also:
    • ttl

      default Future<Response> ttl(String arg0)
      Returns the expiration time in seconds of a key.
      Since:
      Redis 1.0.0
      See Also:
    • type

      default Future<Response> type(String arg0)
      Determines the type of value stored at a key.
      Since:
      Redis 1.0.0
      See Also:
    • unlink

      default Future<Response> unlink(List<String> args)
      Asynchronously deletes one or more keys.
      Since:
      Redis 4.0.0
      See Also:
    • unsubscribe

      default Future<Response> unsubscribe(List<String> args)
      Stops listening to messages posted to channels.
      Since:
      Redis 2.0.0
      See Also:
    • unwatch

      default Future<Response> unwatch()
      Forgets about watched keys of a transaction.
      Since:
      Redis 2.2.0
      See Also:
    • wait

      default Future<Response> wait(String arg0, String arg1)
      Blocks until the asynchronous replication of all preceding write commands sent by the connection is completed.
      Since:
      Redis 3.0.0
      See Also:
    • waitaof

      default Future<Response> waitaof(String arg0, String arg1, String arg2)
      Blocks until all of the preceding write commands sent by the connection are written to the append-only file of the master and/or replicas.
      Since:
      Redis 7.2.0
      See Also:
    • watch

      default Future<Response> watch(List<String> args)
      Monitors changes to keys to determine the execution of a transaction.
      Since:
      Redis 2.2.0
      See Also:
    • xack

      default Future<Response> xack(List<String> args)
      Returns the number of messages that were successfully acknowledged by the consumer group member of a stream.
      Since:
      Redis 5.0.0
      See Also:
    • xackdel

      default Future<Response> xackdel(List<String> args)
      Acknowledges and deletes one or multiple messages for a stream consumer group.
      Since:
      Redis 8.2.0
      See Also:
    • xadd

      default Future<Response> xadd(List<String> args)
      Appends a new message to a stream. Creates the key if it doesn't exist.
      Since:
      Redis 5.0.0
      See Also:
    • xautoclaim

      default Future<Response> xautoclaim(List<String> args)
      Changes, or acquires, ownership of messages in a consumer group, as if the messages were delivered to as consumer group member.
      Since:
      Redis 6.2.0
      See Also:
    • xcfgset

      default Future<Response> xcfgset(List<String> args)
      Sets the IDMP configuration parameters for a stream.
      Since:
      Redis 8.6.0
      See Also:
    • xclaim

      default Future<Response> xclaim(List<String> args)
      Changes, or acquires, ownership of a message in a consumer group, as if the message was delivered a consumer group member.
      Since:
      Redis 5.0.0
      See Also:
    • xdel

      default Future<Response> xdel(List<String> args)
      Returns the number of messages after removing them from a stream.
      Since:
      Redis 5.0.0
      See Also:
    • xdelex

      default Future<Response> xdelex(List<String> args)
      Deletes one or multiple entries from the stream.
      Since:
      Redis 8.2.0
      See Also:
    • xgroup

      default Future<Response> xgroup(List<String> args)
      A container for consumer groups commands.
      Since:
      Redis 5.0.0
      See Also:
    • xidmprecord

      default Future<Response> xidmprecord(String arg0, String arg1, String arg2, String arg3)
      An internal command for setting IDMP metadata on an existing stream message.
      Since:
      Redis 8.6.2
      See Also:
    • xinfo

      default Future<Response> xinfo(List<String> args)
      A container for stream introspection commands.
      Since:
      Redis 5.0.0
      See Also:
    • xlen

      default Future<Response> xlen(String arg0)
      Return the number of messages in a stream.
      Since:
      Redis 5.0.0
      See Also:
    • xpending

      default Future<Response> xpending(List<String> args)
      Returns the information and entries from a stream consumer group's pending entries list.
      Since:
      Redis 5.0.0
      See Also:
    • xrange

      default Future<Response> xrange(List<String> args)
      Returns the messages from a stream within a range of IDs.
      Since:
      Redis 5.0.0
      See Also:
    • xread

      default Future<Response> xread(List<String> args)
      Returns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise.
      Since:
      Redis 5.0.0
      See Also:
    • xreadgroup

      default Future<Response> xreadgroup(List<String> args)
      Returns new or historical messages from a stream for a consumer in a group. Blocks until a message is available otherwise.
      Since:
      Redis 5.0.0
      See Also:
    • xrevrange

      default Future<Response> xrevrange(List<String> args)
      Returns the messages from a stream within a range of IDs in reverse order.
      Since:
      Redis 5.0.0
      See Also:
    • xsetid

      default Future<Response> xsetid(List<String> args)
      An internal command for replicating stream values.
      Since:
      Redis 5.0.0
      See Also:
    • xtrim

      default Future<Response> xtrim(List<String> args)
      Deletes messages from the beginning of a stream.
      Since:
      Redis 5.0.0
      See Also:
    • zadd

      default Future<Response> zadd(List<String> args)
      Adds one or more members to a sorted set, or updates their scores. Creates the key if it doesn't exist.
      Since:
      Redis 1.2.0
      See Also:
    • zcard

      default Future<Response> zcard(String arg0)
      Returns the number of members in a sorted set.
      Since:
      Redis 1.2.0
      See Also:
    • zcount

      default Future<Response> zcount(String arg0, String arg1, String arg2)
      Returns the count of members in a sorted set that have scores within a range.
      Since:
      Redis 2.0.0
      See Also:
    • zdiff

      default Future<Response> zdiff(List<String> args)
      Returns the difference between multiple sorted sets.
      Since:
      Redis 6.2.0
      See Also:
    • zdiffstore

      default Future<Response> zdiffstore(List<String> args)
      Stores the difference of multiple sorted sets in a key.
      Since:
      Redis 6.2.0
      See Also:
    • zincrby

      default Future<Response> zincrby(String arg0, String arg1, String arg2)
      Increments the score of a member in a sorted set.
      Since:
      Redis 1.2.0
      See Also:
    • zinter

      default Future<Response> zinter(List<String> args)
      Returns the intersect of multiple sorted sets.
      Since:
      Redis 6.2.0
      See Also:
    • zintercard

      default Future<Response> zintercard(List<String> args)
      Returns the number of members of the intersect of multiple sorted sets.
      Since:
      Redis 7.0.0
      See Also:
    • zinterstore

      default Future<Response> zinterstore(List<String> args)
      Stores the intersect of multiple sorted sets in a key.
      Since:
      Redis 2.0.0
      See Also:
    • zlexcount

      default Future<Response> zlexcount(String arg0, String arg1, String arg2)
      Returns the number of members in a sorted set within a lexicographical range.
      Since:
      Redis 2.8.9
      See Also:
    • zmpop

      default Future<Response> zmpop(List<String> args)
      Returns the highest- or lowest-scoring members from one or more sorted sets after removing them. Deletes the sorted set if the last member was popped.
      Since:
      Redis 7.0.0
      See Also:
    • zmscore

      default Future<Response> zmscore(List<String> args)
      Returns the score of one or more members in a sorted set.
      Since:
      Redis 6.2.0
      See Also:
    • zpopmax

      default Future<Response> zpopmax(List<String> args)
      Returns the highest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.
      Since:
      Redis 5.0.0
      See Also:
    • zpopmin

      default Future<Response> zpopmin(List<String> args)
      Returns the lowest-scoring members from a sorted set after removing them. Deletes the sorted set if the last member was popped.
      Since:
      Redis 5.0.0
      See Also:
    • zrandmember

      default Future<Response> zrandmember(List<String> args)
      Returns one or more random members from a sorted set.
      Since:
      Redis 6.2.0
      See Also:
    • zrange

      default Future<Response> zrange(List<String> args)
      Returns members in a sorted set within a range of indexes.
      Since:
      Redis 1.2.0
      See Also:
    • zrangebylex

      default Future<Response> zrangebylex(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: ZRANGE with the BYLEX argument
      Returns members in a sorted set within a lexicographical range.
      Since:
      Redis 2.8.9
      See Also:
    • zrangebyscore

      default Future<Response> zrangebyscore(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: ZRANGE with the BYSCORE argument
      Returns members in a sorted set within a range of scores.
      Since:
      Redis 1.0.5
      See Also:
    • zrangestore

      default Future<Response> zrangestore(List<String> args)
      Stores a range of members from sorted set in a key.
      Since:
      Redis 6.2.0
      See Also:
    • zrank

      default Future<Response> zrank(List<String> args)
      Returns the index of a member in a sorted set ordered by ascending scores.
      Since:
      Redis 2.0.0
      See Also:
    • zrank

      default Future<Response> zrank(String arg0, String arg1)
      Returns the index of a member in a sorted set ordered by ascending scores.
      Since:
      Redis 2.0.0
      See Also:
    • zrem

      default Future<Response> zrem(List<String> args)
      Removes one or more members from a sorted set. Deletes the sorted set if all members were removed.
      Since:
      Redis 1.2.0
      See Also:
    • zremrangebylex

      default Future<Response> zremrangebylex(String arg0, String arg1, String arg2)
      Removes members in a sorted set within a lexicographical range. Deletes the sorted set if all members were removed.
      Since:
      Redis 2.8.9
      See Also:
    • zremrangebyrank

      default Future<Response> zremrangebyrank(String arg0, String arg1, String arg2)
      Removes members in a sorted set within a range of indexes. Deletes the sorted set if all members were removed.
      Since:
      Redis 2.0.0
      See Also:
    • zremrangebyscore

      default Future<Response> zremrangebyscore(String arg0, String arg1, String arg2)
      Removes members in a sorted set within a range of scores. Deletes the sorted set if all members were removed.
      Since:
      Redis 1.2.0
      See Also:
    • zrevrange

      default Future<Response> zrevrange(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: ZRANGE with the REV argument
      Returns members in a sorted set within a range of indexes in reverse order.
      Since:
      Redis 1.2.0
      See Also:
    • zrevrangebylex

      default Future<Response> zrevrangebylex(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: ZRANGE with the REV and BYLEX arguments
      Returns members in a sorted set within a lexicographical range in reverse order.
      Since:
      Redis 2.8.9
      See Also:
    • zrevrangebyscore

      default Future<Response> zrevrangebyscore(List<String> args)
      Deprecated.
      since Redis 6.2.0, replaced by: ZRANGE with the REV and BYSCORE arguments
      Returns members in a sorted set within a range of scores in reverse order.
      Since:
      Redis 2.2.0
      See Also:
    • zrevrank

      default Future<Response> zrevrank(List<String> args)
      Returns the index of a member in a sorted set ordered by descending scores.
      Since:
      Redis 2.0.0
      See Also:
    • zrevrank

      default Future<Response> zrevrank(String arg0, String arg1)
      Returns the index of a member in a sorted set ordered by descending scores.
      Since:
      Redis 2.0.0
      See Also:
    • zscan

      default Future<Response> zscan(List<String> args)
      Iterates over members and scores of a sorted set.
      Since:
      Redis 2.8.0
      See Also:
    • zscore

      default Future<Response> zscore(String arg0, String arg1)
      Returns the score of a member in a sorted set.
      Since:
      Redis 1.2.0
      See Also:
    • zunion

      default Future<Response> zunion(List<String> args)
      Returns the union of multiple sorted sets.
      Since:
      Redis 6.2.0
      See Also:
    • zunionstore

      default Future<Response> zunionstore(List<String> args)
      Stores the union of multiple sorted sets in a key.
      Since:
      Redis 2.0.0
      See Also:
    • send

      Future<Response> send(Command cmd, String... args)
      Send untyped command to Redis.
      Parameters:
      cmd - the command
      args - var args
      Returns:
      Future response.