Package io.vertx.redis.client
Interface Command
-
public interface CommandAuto generated API Commands to interact with REDIS.- Version:
- redis_version:7.0.12
- Author:
- Paulo Lopes
-
-
Field Summary
Fields Modifier and Type Field Description static CommandACLA container for Access List Control commands.static CommandAPPENDAppend a value to a key.static CommandASKINGSent by cluster clients after an -ASK redirect.static CommandAUTHAuthenticate to the server.static CommandBF_ADDstatic CommandBF_CARDstatic CommandBF_DEBUGstatic CommandBF_EXISTSstatic CommandBF_INFOstatic CommandBF_INSERTstatic CommandBF_LOADCHUNKstatic CommandBF_MADDstatic CommandBF_MEXISTSstatic CommandBF_RESERVEstatic CommandBF_SCANDUMPstatic CommandBGREWRITEAOFAsynchronously rewrite the append-only file.static CommandBGSAVEAsynchronously save the dataset to disk.static CommandBITCOUNTCount set bits in a string.static CommandBITFIELDPerform arbitrary bitfield integer operations on strings.static CommandBITFIELD_ROPerform arbitrary bitfield integer operations on strings.static CommandBITOPPerform bitwise operations between strings.static CommandBITPOSFind first bit set or clear in a string.static CommandBLMOVEPop an element from a list, push it to another list and return it; or block until one is available.static CommandBLMPOPPop elements from a list, or block until one is available.static CommandBLPOPRemove and get the first element in a list, or block until one is available.static CommandBRPOPRemove and get the last element in a list, or block until one is available.static CommandBRPOPLPUSHDeprecated.since: 6.2.0, replaced by:BLMOVEwith theRIGHTandLEFTargumentsstatic CommandBZMPOPRemove and return members with scores in a sorted set or block until one is available.static CommandBZPOPMAXRemove and return the member with the highest score from one or more sorted sets, or block until one is available.static CommandBZPOPMINRemove and return the member with the lowest score from one or more sorted sets, or block until one is available.static CommandCF_ADDstatic CommandCF_ADDNXstatic CommandCF_COMPACTstatic CommandCF_COUNTstatic CommandCF_DEBUGstatic CommandCF_DELstatic CommandCF_EXISTSstatic CommandCF_INFOstatic CommandCF_INSERTstatic CommandCF_INSERTNXstatic CommandCF_LOADCHUNKstatic CommandCF_MEXISTSstatic CommandCF_RESERVEstatic CommandCF_SCANDUMPstatic CommandCLIENTA container for client connection commands.static CommandCLUSTERA container for cluster commands.static CommandCMS_INCRBYstatic CommandCMS_INFOstatic CommandCMS_INITBYDIMstatic CommandCMS_INITBYPROBstatic CommandCMS_MERGEstatic CommandCMS_QUERYstatic CommandCOMMANDGet array of Redis command details.static CommandCONFIGA container for server configuration commands.static CommandCOPYCopy a key.static CommandDBSIZEReturn the number of keys in the selected database.static CommandDEBUGA container for debugging commands.static CommandDECRDecrement the integer value of a key by one.static CommandDECRBYDecrement the integer value of a key by the given number.static CommandDELDelete a key.static CommandDISCARDDiscard all commands issued after MULTI.static CommandDUMPReturn a serialized version of the value stored at the specified key.static CommandECHOEcho the given string.static CommandEVALExecute a Lua script server side.static CommandEVAL_ROExecute a read-only Lua script server side.static CommandEVALSHAExecute a Lua script server side.static CommandEVALSHA_ROExecute a read-only Lua script server side.static CommandEXECExecute all commands issued after MULTI.static CommandEXISTSDetermine if a key exists.static CommandEXPIRESet a key's time to live in seconds.static CommandEXPIREATSet the expiration for a key as a UNIX timestamp.static CommandEXPIRETIMEGet the expiration Unix timestamp for a key.static CommandFAILOVERStart a coordinated failover between this server and one of its replicas.static CommandFCALLInvoke a function.static CommandFCALL_ROInvoke a read-only function.static CommandFLUSHALLRemove all keys from all databases.static CommandFLUSHDBRemove all keys from the current database.static CommandFT__ALIASADDIFNXstatic CommandFT__ALIASDELIFXstatic CommandFT__ALTERIFNXstatic CommandFT__CREATEIFNXstatic CommandFT__DROPIFXstatic CommandFT__DROPINDEXIFXstatic CommandFT__LISTstatic CommandFT_ADDstatic CommandFT_AGGREGATEstatic CommandFT_ALIASADDstatic CommandFT_ALIASDELstatic CommandFT_ALIASUPDATEstatic CommandFT_ALTERstatic CommandFT_CONFIGstatic CommandFT_CREATEstatic CommandFT_CURSORstatic CommandFT_DEBUGstatic CommandFT_DELstatic CommandFT_DICTADDstatic CommandFT_DICTDELstatic CommandFT_DICTDUMPstatic CommandFT_DROPstatic CommandFT_DROPINDEXstatic CommandFT_EXPLAINstatic CommandFT_EXPLAINCLIstatic CommandFT_GETstatic CommandFT_INFOstatic CommandFT_MGETstatic CommandFT_PROFILEstatic CommandFT_SAFEADDstatic CommandFT_SEARCHstatic CommandFT_SPELLCHECKstatic CommandFT_SUGADDstatic CommandFT_SUGDELstatic CommandFT_SUGGETstatic CommandFT_SUGLENstatic CommandFT_SYNADDstatic CommandFT_SYNDUMPstatic CommandFT_SYNUPDATEstatic CommandFT_TAGVALSstatic CommandFUNCTIONA container for function commands.static CommandGEOADDAdd one or more geospatial items in the geospatial index represented using a sorted set.static CommandGEODISTReturns the distance between two members of a geospatial index.static CommandGEOHASHReturns members of a geospatial index as standard geohash strings.static CommandGEOPOSReturns longitude and latitude of members of a geospatial index.static CommandGEORADIUSDeprecated.since: 6.2.0, replaced by:GEOSEARCHandGEOSEARCHSTOREwith theBYRADIUSargumentstatic CommandGEORADIUS_RODeprecated.since: 6.2.0, replaced by:GEOSEARCHwith theBYRADIUSargumentstatic CommandGEORADIUSBYMEMBERDeprecated.since: 6.2.0, replaced by:GEOSEARCHandGEOSEARCHSTOREwith theBYRADIUSandFROMMEMBERargumentsstatic CommandGEORADIUSBYMEMBER_RODeprecated.since: 6.2.0, replaced by:GEOSEARCHwith theBYRADIUSandFROMMEMBERargumentsstatic CommandGEOSEARCHQuery a sorted set representing a geospatial index to fetch members inside an area of a box or a circle.static CommandGEOSEARCHSTOREQuery a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key.static CommandGETGet the value of a key.static CommandGETBITReturns the bit value at offset in the string value stored at key.static CommandGETDELGet the value of a key and delete the key.static CommandGETEXGet the value of a key and optionally set its expiration.static CommandGETRANGEGet a substring of the string stored at a key.static CommandGETSETDeprecated.since: 6.2.0, replaced by:SETwith the!GETargumentstatic CommandGRAPH_BULKstatic CommandGRAPH_CONFIGstatic CommandGRAPH_DEBUGstatic CommandGRAPH_DELETEstatic CommandGRAPH_EXPLAINstatic CommandGRAPH_LISTstatic CommandGRAPH_PROFILEstatic CommandGRAPH_QUERYstatic CommandGRAPH_RO_QUERYstatic CommandGRAPH_SLOWLOGstatic CommandHDELDelete one or more hash fields.static CommandHELLOHandshake with Redis.static CommandHEXISTSDetermine if a hash field exists.static CommandHGETGet the value of a hash field.static CommandHGETALLGet all the fields and values in a hash.static CommandHINCRBYIncrement the integer value of a hash field by the given number.static CommandHINCRBYFLOATIncrement the float value of a hash field by the given amount.static CommandHKEYSGet all the fields in a hash.static CommandHLENGet the number of fields in a hash.static CommandHMGETGet the values of all the given hash fields.static CommandHMSETDeprecated.since: 4.0.0, replaced by:HSETwith multiple field-value pairsstatic CommandHRANDFIELDGet one or multiple random fields from a hash.static CommandHSCANIncrementally iterate hash fields and associated values.static CommandHSETSet the string value of a hash field.static CommandHSETNXSet the value of a hash field, only if the field does not exist.static CommandHSTRLENGet the length of the value of a hash field.static CommandHVALSGet all the values in a hash.static CommandINCRIncrement the integer value of a key by one.static CommandINCRBYIncrement the integer value of a key by the given amount.static CommandINCRBYFLOATIncrement the float value of a key by the given amount.static CommandINFOGet information and statistics about the server.static CommandJSON_ARRAPPENDstatic CommandJSON_ARRINDEXstatic CommandJSON_ARRINSERTstatic CommandJSON_ARRLENstatic CommandJSON_ARRPOPstatic CommandJSON_ARRTRIMstatic CommandJSON_CLEARstatic CommandJSON_DEBUGstatic CommandJSON_DELstatic CommandJSON_FORGETstatic CommandJSON_GETstatic CommandJSON_MGETstatic CommandJSON_NUMINCRBYstatic CommandJSON_NUMMULTBYstatic CommandJSON_NUMPOWBYstatic CommandJSON_OBJKEYSstatic CommandJSON_OBJLENstatic CommandJSON_RESPstatic CommandJSON_SETstatic CommandJSON_STRAPPENDstatic CommandJSON_STRLENstatic CommandJSON_TOGGLEstatic CommandJSON_TYPEstatic CommandKEYSFind all keys matching the given pattern.static CommandLASTSAVEGet the UNIX time stamp of the last successful save to disk.static CommandLATENCYA container for latency diagnostics commands.static CommandLCSFind longest common substring.static CommandLINDEXGet an element from a list by its index.static CommandLINSERTInsert an element before or after another element in a list.static CommandLLENGet the length of a list.static CommandLMOVEPop an element from a list, push it to another list and return it.static CommandLMPOPPop elements from a list.static CommandLOLWUTDisplay some computer art and the Redis version.static CommandLPOPRemove and get the first elements in a list.static CommandLPOSReturn the index of matching elements on a list.static CommandLPUSHPrepend one or multiple elements to a list.static CommandLPUSHXPrepend an element to a list, only if the list exists.static CommandLRANGEGet a range of elements from a list.static CommandLREMRemove elements from a list.static CommandLSETSet the value of an element in a list by its index.static CommandLTRIMTrim a list to the specified range.static CommandMEMORYA container for memory diagnostics commands.static CommandMGETGet the values of all the given keys.static CommandMIGRATEAtomically transfer a key from a Redis instance to another one.static CommandMODULEA container for module commands.static CommandMONITORListen for all requests received by the server in real time.static CommandMOVEMove a key to another database.static CommandMSETSet multiple keys to multiple values.static CommandMSETNXSet multiple keys to multiple values, only if none of the keys exist.static CommandMULTIMark the start of a transaction block.static CommandOBJECTA container for object introspection commands.static CommandPERSISTRemove the expiration from a key.static CommandPEXPIRESet a key's time to live in milliseconds.static CommandPEXPIREATSet the expiration for a key as a UNIX timestamp specified in milliseconds.static CommandPEXPIRETIMEGet the expiration Unix timestamp for a key in milliseconds.static CommandPFADDAdds the specified elements to the specified HyperLogLog.static CommandPFCOUNTReturn the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).static CommandPFDEBUGInternal commands for debugging HyperLogLog values.static CommandPFMERGEMerge N different HyperLogLogs into a single one.static CommandPFSELFTESTAn internal command for testing HyperLogLog values.static CommandPINGPing the server.static CommandPSETEXSet the value and expiration in milliseconds of a key.static CommandPSUBSCRIBEListen for messages published to channels matching the given patterns.static CommandPSYNCInternal command used for replication.static CommandPTTLGet the time to live for a key in milliseconds.static CommandPUBLISHPost a message to a channel.static CommandPUBSUBA container for Pub/Sub commands.static CommandPUNSUBSCRIBEStop listening for messages posted to channels matching the given patterns.static CommandQUITClose the connection.static CommandRANDOMKEYReturn a random key from the keyspace.static CommandREADONLYEnables read queries for a connection to a cluster replica node.static CommandREADWRITEDisables read queries for a connection to a cluster replica node.static CommandRENAMERename a key.static CommandRENAMENXRename a key, only if the new key does not exist.static CommandREPLCONFAn internal command for configuring the replication stream.static CommandREPLICAOFMake the server a replica of another instance, or promote it as master.static CommandRESETReset the connection.static CommandRESTORECreate a key using the provided serialized value, previously obtained using DUMP.static CommandRESTORE_ASKINGAn internal command for migrating keys in a cluster.static CommandROLEReturn the role of the instance in the context of replication.static CommandRPOPRemove and get the last elements in a list.static CommandRPOPLPUSHDeprecated.since: 6.2.0, replaced by:LMOVEwith theRIGHTandLEFTargumentsstatic CommandRPUSHAppend one or multiple elements to a list.static CommandRPUSHXAppend an element to a list, only if the list exists.static CommandSADDAdd one or more members to a set.static CommandSAVESynchronously save the dataset to disk.static CommandSCANIncrementally iterate the keys space.static CommandSCARDGet the number of members in a set.static CommandSCRIPTA container for Lua scripts management commands.static CommandSDIFFSubtract multiple sets.static CommandSDIFFSTORESubtract multiple sets and store the resulting set in a key.static CommandSELECTChange the selected database for the current connection.static CommandSENTINELstatic CommandSETSet the string value of a key.static CommandSETBITSets or clears the bit at offset in the string value stored at key.static CommandSETEXSet the value and expiration of a key.static CommandSETNXSet the value of a key, only if the key does not exist.static CommandSETRANGEOverwrite part of a string at key starting at the specified offset.static CommandSHUTDOWNSynchronously save the dataset to disk and then shut down the server.static CommandSINTERIntersect multiple sets.static CommandSINTERCARDIntersect multiple sets and return the cardinality of the result.static CommandSINTERSTOREIntersect multiple sets and store the resulting set in a key.static CommandSISMEMBERDetermine if a given value is a member of a set.static CommandSLAVEOFDeprecated.since: 5.0.0, replaced by:REPLICAOFstatic CommandSLOWLOGA container for slow log commands.static CommandSMEMBERSGet all the members in a set.static CommandSMISMEMBERReturns the membership associated with the given elements for a set.static CommandSMOVEMove a member from one set to another.static CommandSORTSort the elements in a list, set or sorted set.static CommandSORT_ROSort the elements in a list, set or sorted set.static CommandSPOPRemove and return one or multiple random members from a set.static CommandSPUBLISHPost a message to a shard channel.static CommandSRANDMEMBERGet one or multiple random members from a set.static CommandSREMRemove one or more members from a set.static CommandSSCANIncrementally iterate Set elements.static CommandSSUBSCRIBEListen for messages published to the given shard channels.static CommandSTRLENGet the length of the value stored in a key.static CommandSUBSCRIBEListen for messages published to the given channels.static CommandSUBSTRDeprecated.since: 2.0.0, replaced by:GETRANGEstatic CommandSUNIONAdd multiple sets.static CommandSUNIONSTOREAdd multiple sets and store the resulting set in a key.static CommandSUNSUBSCRIBEStop listening for messages posted to the given shard channels.static CommandSWAPDBSwaps two Redis databases.static CommandSYNCInternal command used for replication.static CommandTDIGEST_ADDstatic CommandTDIGEST_BYRANKstatic CommandTDIGEST_BYREVRANKstatic CommandTDIGEST_CDFstatic CommandTDIGEST_CREATEstatic CommandTDIGEST_INFOstatic CommandTDIGEST_MAXstatic CommandTDIGEST_MERGEstatic CommandTDIGEST_MINstatic CommandTDIGEST_QUANTILEstatic CommandTDIGEST_RANKstatic CommandTDIGEST_RESETstatic CommandTDIGEST_REVRANKstatic CommandTDIGEST_TRIMMED_MEANstatic CommandTIMEReturn the current server time.static CommandTIMESERIES_CLUSTERSETstatic CommandTIMESERIES_CLUSTERSETFROMSHARDstatic CommandTIMESERIES_HELLOstatic CommandTIMESERIES_INFOCLUSTERstatic CommandTIMESERIES_INNERCOMMUNICATIONstatic CommandTIMESERIES_NETWORKTESTstatic CommandTIMESERIES_REFRESHCLUSTERstatic CommandTOPK_ADDstatic CommandTOPK_COUNTstatic CommandTOPK_INCRBYstatic CommandTOPK_INFOstatic CommandTOPK_LISTstatic CommandTOPK_QUERYstatic CommandTOPK_RESERVEstatic CommandTOUCHAlters the last access time of a key(s).static CommandTS_ADDstatic CommandTS_ALTERstatic CommandTS_CREATEstatic CommandTS_CREATERULEstatic CommandTS_DECRBYstatic CommandTS_DELstatic CommandTS_DELETERULEstatic CommandTS_GETstatic CommandTS_INCRBYstatic CommandTS_INFOstatic CommandTS_MADDstatic CommandTS_MGETstatic CommandTS_MRANGEstatic CommandTS_MREVRANGEstatic CommandTS_QUERYINDEXstatic CommandTS_RANGEstatic CommandTS_REVRANGEstatic CommandTTLGet the time to live for a key in seconds.static CommandTYPEDetermine the type stored at key.static CommandUNLINKDelete a key asynchronously in another thread.static CommandUNSUBSCRIBEStop listening for messages posted to the given channels.static CommandUNWATCHForget about all watched keys.static CommandWAITWait for the synchronous replication of all the write commands sent in the context of the current connection.static CommandWATCHWatch the given keys to determine execution of the MULTI/EXEC block.static CommandXACKMarks a pending message as correctly processed, effectively removing it from the pending entries list of the consumer group.static CommandXADDAppends a new entry to a stream.static CommandXAUTOCLAIMChanges (or acquires) ownership of messages in a consumer group, as if the messages were delivered to the specified consumer.static CommandXCLAIMChanges (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.static CommandXDELRemoves the specified entries from the stream.static CommandXGROUPA container for consumer groups commands.static CommandXINFOA container for stream introspection commands.static CommandXLENReturn the number of entries in a stream.static CommandXPENDINGReturn information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.static CommandXRANGEReturn a range of elements in a stream, with IDs matching the specified IDs interval.static CommandXREADReturn never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream.static CommandXREADGROUPReturn new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer.static CommandXREVRANGEReturn a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE.static CommandXSETIDAn internal command for replicating stream values.static CommandXTRIMTrims the stream to (approximately if '~' is passed) a certain size.static CommandZADDAdd one or more members to a sorted set, or update its score if it already exists.static CommandZCARDGet the number of members in a sorted set.static CommandZCOUNTCount the members in a sorted set with scores within the given values.static CommandZDIFFSubtract multiple sorted sets.static CommandZDIFFSTORESubtract multiple sorted sets and store the resulting sorted set in a new key.static CommandZINCRBYIncrement the score of a member in a sorted set.static CommandZINTERIntersect multiple sorted sets.static CommandZINTERCARDIntersect multiple sorted sets and return the cardinality of the result.static CommandZINTERSTOREIntersect multiple sorted sets and store the resulting sorted set in a new key.static CommandZLEXCOUNTCount the number of members in a sorted set between a given lexicographical range.static CommandZMPOPRemove and return members with scores in a sorted set.static CommandZMSCOREGet the score associated with the given members in a sorted set.static CommandZPOPMAXRemove and return members with the highest scores in a sorted set.static CommandZPOPMINRemove and return members with the lowest scores in a sorted set.static CommandZRANDMEMBERGet one or multiple random elements from a sorted set.static CommandZRANGEReturn a range of members in a sorted set.static CommandZRANGEBYLEXDeprecated.since: 6.2.0, replaced by:ZRANGEwith theBYLEXargumentstatic CommandZRANGEBYSCOREDeprecated.since: 6.2.0, replaced by:ZRANGEwith theBYSCOREargumentstatic CommandZRANGESTOREStore a range of members from sorted set into another key.static CommandZRANKDetermine the index of a member in a sorted set.static CommandZREMRemove one or more members from a sorted set.static CommandZREMRANGEBYLEXRemove all members in a sorted set between the given lexicographical range.static CommandZREMRANGEBYRANKRemove all members in a sorted set within the given indexes.static CommandZREMRANGEBYSCORERemove all members in a sorted set within the given scores.static CommandZREVRANGEDeprecated.since: 6.2.0, replaced by:ZRANGEwith theREVargumentstatic CommandZREVRANGEBYLEXDeprecated.since: 6.2.0, replaced by:ZRANGEwith theREVandBYLEXargumentsstatic CommandZREVRANGEBYSCOREDeprecated.since: 6.2.0, replaced by:ZRANGEwith theREVandBYSCOREargumentsstatic CommandZREVRANKDetermine the index of a member in a sorted set, with scores ordered from high to low.static CommandZSCANIncrementally iterate sorted sets elements and associated scores.static CommandZSCOREGet the score associated with the given member in a sorted set.static CommandZUNIONAdd multiple sorted sets.static CommandZUNIONSTOREAdd multiple sorted sets and store the resulting sorted set in a new key.
-
-
-
Field Detail
-
ACL
static final Command ACL
A container for Access List Control commands.
-
APPEND
static final Command APPEND
Append a value to a key.
-
ASKING
static final Command ASKING
Sent by cluster clients after an -ASK redirect.
-
AUTH
static final Command AUTH
Authenticate to the server.
-
BF_ADD
static final Command BF_ADD
-
BF_CARD
static final Command BF_CARD
-
BF_DEBUG
static final Command BF_DEBUG
-
BF_EXISTS
static final Command BF_EXISTS
-
BF_INFO
static final Command BF_INFO
-
BF_INSERT
static final Command BF_INSERT
-
BF_LOADCHUNK
static final Command BF_LOADCHUNK
-
BF_MADD
static final Command BF_MADD
-
BF_MEXISTS
static final Command BF_MEXISTS
-
BF_RESERVE
static final Command BF_RESERVE
-
BF_SCANDUMP
static final Command BF_SCANDUMP
-
BGREWRITEAOF
static final Command BGREWRITEAOF
Asynchronously rewrite the append-only file.
-
BGSAVE
static final Command BGSAVE
Asynchronously save the dataset to disk.
-
BITCOUNT
static final Command BITCOUNT
Count set bits in a string.
-
BITFIELD
static final Command BITFIELD
Perform arbitrary bitfield integer operations on strings.
-
BITFIELD_RO
static final Command BITFIELD_RO
Perform arbitrary bitfield integer operations on strings. Read-only variant of BITFIELD.
-
BITOP
static final Command BITOP
Perform bitwise operations between strings.
-
BITPOS
static final Command BITPOS
Find first bit set or clear in a string.
-
BLMOVE
static final Command BLMOVE
Pop an element from a list, push it to another list and return it; or block until one is available.
-
BLMPOP
static final Command BLMPOP
Pop elements from a list, or block until one is available.
-
BLPOP
static final Command BLPOP
Remove and get the first element in a list, or block until one is available.
-
BRPOP
static final Command BRPOP
Remove and get the last element in a list, or block until one is available.
-
BRPOPLPUSH
@Deprecated static final Command BRPOPLPUSH
Deprecated.since: 6.2.0, replaced by:BLMOVEwith theRIGHTandLEFTargumentsPop an element from a list, push it to another list and return it; or block until one is available.
-
BZMPOP
static final Command BZMPOP
Remove and return members with scores in a sorted set or block until one is available.
-
BZPOPMAX
static final Command BZPOPMAX
Remove and return the member with the highest score from one or more sorted sets, or block until one is available.
-
BZPOPMIN
static final Command BZPOPMIN
Remove and return the member with the lowest score from one or more sorted sets, or block until one is available.
-
CF_ADD
static final Command CF_ADD
-
CF_ADDNX
static final Command CF_ADDNX
-
CF_COMPACT
static final Command CF_COMPACT
-
CF_COUNT
static final Command CF_COUNT
-
CF_DEBUG
static final Command CF_DEBUG
-
CF_DEL
static final Command CF_DEL
-
CF_EXISTS
static final Command CF_EXISTS
-
CF_INFO
static final Command CF_INFO
-
CF_INSERT
static final Command CF_INSERT
-
CF_INSERTNX
static final Command CF_INSERTNX
-
CF_LOADCHUNK
static final Command CF_LOADCHUNK
-
CF_MEXISTS
static final Command CF_MEXISTS
-
CF_RESERVE
static final Command CF_RESERVE
-
CF_SCANDUMP
static final Command CF_SCANDUMP
-
CLIENT
static final Command CLIENT
A container for client connection commands.
-
CLUSTER
static final Command CLUSTER
A container for cluster commands.
-
CMS_INCRBY
static final Command CMS_INCRBY
-
CMS_INFO
static final Command CMS_INFO
-
CMS_INITBYDIM
static final Command CMS_INITBYDIM
-
CMS_INITBYPROB
static final Command CMS_INITBYPROB
-
CMS_MERGE
static final Command CMS_MERGE
-
CMS_QUERY
static final Command CMS_QUERY
-
COMMAND
static final Command COMMAND
Get array of Redis command details.
-
CONFIG
static final Command CONFIG
A container for server configuration commands.
-
COPY
static final Command COPY
Copy a key.
-
DBSIZE
static final Command DBSIZE
Return the number of keys in the selected database.
-
DEBUG
static final Command DEBUG
A container for debugging commands.
-
DECR
static final Command DECR
Decrement the integer value of a key by one.
-
DECRBY
static final Command DECRBY
Decrement the integer value of a key by the given number.
-
DEL
static final Command DEL
Delete a key.
-
DISCARD
static final Command DISCARD
Discard all commands issued after MULTI.
-
DUMP
static final Command DUMP
Return a serialized version of the value stored at the specified key.
-
ECHO
static final Command ECHO
Echo the given string.
-
EVAL
static final Command EVAL
Execute a Lua script server side.
-
EVALSHA
static final Command EVALSHA
Execute a Lua script server side.
-
EVALSHA_RO
static final Command EVALSHA_RO
Execute a read-only Lua script server side.
-
EVAL_RO
static final Command EVAL_RO
Execute a read-only Lua script server side.
-
EXEC
static final Command EXEC
Execute all commands issued after MULTI.
-
EXISTS
static final Command EXISTS
Determine if a key exists.
-
EXPIRE
static final Command EXPIRE
Set a key's time to live in seconds.
-
EXPIREAT
static final Command EXPIREAT
Set the expiration for a key as a UNIX timestamp.
-
EXPIRETIME
static final Command EXPIRETIME
Get the expiration Unix timestamp for a key.
-
FAILOVER
static final Command FAILOVER
Start a coordinated failover between this server and one of its replicas.
-
FCALL
static final Command FCALL
Invoke a function.
-
FCALL_RO
static final Command FCALL_RO
Invoke a read-only function.
-
FLUSHALL
static final Command FLUSHALL
Remove all keys from all databases.
-
FLUSHDB
static final Command FLUSHDB
Remove all keys from the current database.
-
FT_ADD
static final Command FT_ADD
-
FT_AGGREGATE
static final Command FT_AGGREGATE
-
FT_ALIASADD
static final Command FT_ALIASADD
-
FT_ALIASDEL
static final Command FT_ALIASDEL
-
FT_ALIASUPDATE
static final Command FT_ALIASUPDATE
-
FT_ALTER
static final Command FT_ALTER
-
FT_CONFIG
static final Command FT_CONFIG
-
FT_CREATE
static final Command FT_CREATE
-
FT_CURSOR
static final Command FT_CURSOR
-
FT_DEBUG
static final Command FT_DEBUG
-
FT_DEL
static final Command FT_DEL
-
FT_DICTADD
static final Command FT_DICTADD
-
FT_DICTDEL
static final Command FT_DICTDEL
-
FT_DICTDUMP
static final Command FT_DICTDUMP
-
FT_DROP
static final Command FT_DROP
-
FT_DROPINDEX
static final Command FT_DROPINDEX
-
FT_EXPLAIN
static final Command FT_EXPLAIN
-
FT_EXPLAINCLI
static final Command FT_EXPLAINCLI
-
FT_GET
static final Command FT_GET
-
FT_INFO
static final Command FT_INFO
-
FT_MGET
static final Command FT_MGET
-
FT_PROFILE
static final Command FT_PROFILE
-
FT_SAFEADD
static final Command FT_SAFEADD
-
FT_SEARCH
static final Command FT_SEARCH
-
FT_SPELLCHECK
static final Command FT_SPELLCHECK
-
FT_SUGADD
static final Command FT_SUGADD
-
FT_SUGDEL
static final Command FT_SUGDEL
-
FT_SUGGET
static final Command FT_SUGGET
-
FT_SUGLEN
static final Command FT_SUGLEN
-
FT_SYNADD
static final Command FT_SYNADD
-
FT_SYNDUMP
static final Command FT_SYNDUMP
-
FT_SYNUPDATE
static final Command FT_SYNUPDATE
-
FT_TAGVALS
static final Command FT_TAGVALS
-
FT__ALIASADDIFNX
static final Command FT__ALIASADDIFNX
-
FT__ALIASDELIFX
static final Command FT__ALIASDELIFX
-
FT__ALTERIFNX
static final Command FT__ALTERIFNX
-
FT__CREATEIFNX
static final Command FT__CREATEIFNX
-
FT__DROPIFX
static final Command FT__DROPIFX
-
FT__DROPINDEXIFX
static final Command FT__DROPINDEXIFX
-
FT__LIST
static final Command FT__LIST
-
FUNCTION
static final Command FUNCTION
A container for function commands.
-
GEOADD
static final Command GEOADD
Add one or more geospatial items in the geospatial index represented using a sorted set.
-
GEODIST
static final Command GEODIST
Returns the distance between two members of a geospatial index.
-
GEOHASH
static final Command GEOHASH
Returns members of a geospatial index as standard geohash strings.
-
GEOPOS
static final Command GEOPOS
Returns longitude and latitude of members of a geospatial index.
-
GEORADIUS
@Deprecated static final Command GEORADIUS
Deprecated.since: 6.2.0, replaced by:GEOSEARCHandGEOSEARCHSTOREwith theBYRADIUSargumentQuery a sorted set representing a geospatial index to fetch members matching a given maximum distance from a point.
-
GEORADIUSBYMEMBER
@Deprecated static final Command GEORADIUSBYMEMBER
Deprecated.since: 6.2.0, replaced by:GEOSEARCHandGEOSEARCHSTOREwith theBYRADIUSandFROMMEMBERargumentsQuery a sorted set representing a geospatial index to fetch members matching a given maximum distance from a member.
-
GEORADIUSBYMEMBER_RO
@Deprecated static final Command GEORADIUSBYMEMBER_RO
Deprecated.since: 6.2.0, replaced by:GEOSEARCHwith theBYRADIUSandFROMMEMBERargumentsA read-only variant for GEORADIUSBYMEMBER.
-
GEORADIUS_RO
@Deprecated static final Command GEORADIUS_RO
Deprecated.since: 6.2.0, replaced by:GEOSEARCHwith theBYRADIUSargumentA read-only variant for GEORADIUS.
-
GEOSEARCH
static final Command GEOSEARCH
Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle.
-
GEOSEARCHSTORE
static final Command GEOSEARCHSTORE
Query a sorted set representing a geospatial index to fetch members inside an area of a box or a circle, and store the result in another key.
-
GET
static final Command GET
Get the value of a key.
-
GETBIT
static final Command GETBIT
Returns the bit value at offset in the string value stored at key.
-
GETDEL
static final Command GETDEL
Get the value of a key and delete the key.
-
GETEX
static final Command GETEX
Get the value of a key and optionally set its expiration.
-
GETRANGE
static final Command GETRANGE
Get a substring of the string stored at a key.
-
GETSET
@Deprecated static final Command GETSET
Deprecated.since: 6.2.0, replaced by:SETwith the!GETargumentSet the string value of a key and return its old value.
-
GRAPH_BULK
static final Command GRAPH_BULK
-
GRAPH_CONFIG
static final Command GRAPH_CONFIG
-
GRAPH_DEBUG
static final Command GRAPH_DEBUG
-
GRAPH_DELETE
static final Command GRAPH_DELETE
-
GRAPH_EXPLAIN
static final Command GRAPH_EXPLAIN
-
GRAPH_LIST
static final Command GRAPH_LIST
-
GRAPH_PROFILE
static final Command GRAPH_PROFILE
-
GRAPH_QUERY
static final Command GRAPH_QUERY
-
GRAPH_RO_QUERY
static final Command GRAPH_RO_QUERY
-
GRAPH_SLOWLOG
static final Command GRAPH_SLOWLOG
-
HDEL
static final Command HDEL
Delete one or more hash fields.
-
HELLO
static final Command HELLO
Handshake with Redis.
-
HEXISTS
static final Command HEXISTS
Determine if a hash field exists.
-
HGET
static final Command HGET
Get the value of a hash field.
-
HGETALL
static final Command HGETALL
Get all the fields and values in a hash.
-
HINCRBY
static final Command HINCRBY
Increment the integer value of a hash field by the given number.
-
HINCRBYFLOAT
static final Command HINCRBYFLOAT
Increment the float value of a hash field by the given amount.
-
HKEYS
static final Command HKEYS
Get all the fields in a hash.
-
HLEN
static final Command HLEN
Get the number of fields in a hash.
-
HMGET
static final Command HMGET
Get the values of all the given hash fields.
-
HMSET
@Deprecated static final Command HMSET
Deprecated.since: 4.0.0, replaced by:HSETwith multiple field-value pairsSet multiple hash fields to multiple values.
-
HRANDFIELD
static final Command HRANDFIELD
Get one or multiple random fields from a hash.
-
HSCAN
static final Command HSCAN
Incrementally iterate hash fields and associated values.
-
HSET
static final Command HSET
Set the string value of a hash field.
-
HSETNX
static final Command HSETNX
Set the value of a hash field, only if the field does not exist.
-
HSTRLEN
static final Command HSTRLEN
Get the length of the value of a hash field.
-
HVALS
static final Command HVALS
Get all the values in a hash.
-
INCR
static final Command INCR
Increment the integer value of a key by one.
-
INCRBY
static final Command INCRBY
Increment the integer value of a key by the given amount.
-
INCRBYFLOAT
static final Command INCRBYFLOAT
Increment the float value of a key by the given amount.
-
INFO
static final Command INFO
Get information and statistics about the server.
-
JSON_ARRAPPEND
static final Command JSON_ARRAPPEND
-
JSON_ARRINDEX
static final Command JSON_ARRINDEX
-
JSON_ARRINSERT
static final Command JSON_ARRINSERT
-
JSON_ARRLEN
static final Command JSON_ARRLEN
-
JSON_ARRPOP
static final Command JSON_ARRPOP
-
JSON_ARRTRIM
static final Command JSON_ARRTRIM
-
JSON_CLEAR
static final Command JSON_CLEAR
-
JSON_DEBUG
static final Command JSON_DEBUG
-
JSON_DEL
static final Command JSON_DEL
-
JSON_FORGET
static final Command JSON_FORGET
-
JSON_GET
static final Command JSON_GET
-
JSON_MGET
static final Command JSON_MGET
-
JSON_NUMINCRBY
static final Command JSON_NUMINCRBY
-
JSON_NUMMULTBY
static final Command JSON_NUMMULTBY
-
JSON_NUMPOWBY
static final Command JSON_NUMPOWBY
-
JSON_OBJKEYS
static final Command JSON_OBJKEYS
-
JSON_OBJLEN
static final Command JSON_OBJLEN
-
JSON_RESP
static final Command JSON_RESP
-
JSON_SET
static final Command JSON_SET
-
JSON_STRAPPEND
static final Command JSON_STRAPPEND
-
JSON_STRLEN
static final Command JSON_STRLEN
-
JSON_TOGGLE
static final Command JSON_TOGGLE
-
JSON_TYPE
static final Command JSON_TYPE
-
KEYS
static final Command KEYS
Find all keys matching the given pattern.
-
LASTSAVE
static final Command LASTSAVE
Get the UNIX time stamp of the last successful save to disk.
-
LATENCY
static final Command LATENCY
A container for latency diagnostics commands.
-
LCS
static final Command LCS
Find longest common substring.
-
LINDEX
static final Command LINDEX
Get an element from a list by its index.
-
LINSERT
static final Command LINSERT
Insert an element before or after another element in a list.
-
LLEN
static final Command LLEN
Get the length of a list.
-
LMOVE
static final Command LMOVE
Pop an element from a list, push it to another list and return it.
-
LMPOP
static final Command LMPOP
Pop elements from a list.
-
LOLWUT
static final Command LOLWUT
Display some computer art and the Redis version.
-
LPOP
static final Command LPOP
Remove and get the first elements in a list.
-
LPOS
static final Command LPOS
Return the index of matching elements on a list.
-
LPUSH
static final Command LPUSH
Prepend one or multiple elements to a list.
-
LPUSHX
static final Command LPUSHX
Prepend an element to a list, only if the list exists.
-
LRANGE
static final Command LRANGE
Get a range of elements from a list.
-
LREM
static final Command LREM
Remove elements from a list.
-
LSET
static final Command LSET
Set the value of an element in a list by its index.
-
LTRIM
static final Command LTRIM
Trim a list to the specified range.
-
MEMORY
static final Command MEMORY
A container for memory diagnostics commands.
-
MGET
static final Command MGET
Get the values of all the given keys.
-
MIGRATE
static final Command MIGRATE
Atomically transfer a key from a Redis instance to another one.
-
MODULE
static final Command MODULE
A container for module commands.
-
MONITOR
static final Command MONITOR
Listen for all requests received by the server in real time.
-
MOVE
static final Command MOVE
Move a key to another database.
-
MSET
static final Command MSET
Set multiple keys to multiple values.
-
MSETNX
static final Command MSETNX
Set multiple keys to multiple values, only if none of the keys exist.
-
MULTI
static final Command MULTI
Mark the start of a transaction block.
-
OBJECT
static final Command OBJECT
A container for object introspection commands.
-
PERSIST
static final Command PERSIST
Remove the expiration from a key.
-
PEXPIRE
static final Command PEXPIRE
Set a key's time to live in milliseconds.
-
PEXPIREAT
static final Command PEXPIREAT
Set the expiration for a key as a UNIX timestamp specified in milliseconds.
-
PEXPIRETIME
static final Command PEXPIRETIME
Get the expiration Unix timestamp for a key in milliseconds.
-
PFADD
static final Command PFADD
Adds the specified elements to the specified HyperLogLog.
-
PFCOUNT
static final Command PFCOUNT
Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).
-
PFDEBUG
static final Command PFDEBUG
Internal commands for debugging HyperLogLog values.
-
PFMERGE
static final Command PFMERGE
Merge N different HyperLogLogs into a single one.
-
PFSELFTEST
static final Command PFSELFTEST
An internal command for testing HyperLogLog values.
-
PING
static final Command PING
Ping the server.
-
PSETEX
static final Command PSETEX
Set the value and expiration in milliseconds of a key.
-
PSUBSCRIBE
static final Command PSUBSCRIBE
Listen for messages published to channels matching the given patterns.
-
PSYNC
static final Command PSYNC
Internal command used for replication.
-
PTTL
static final Command PTTL
Get the time to live for a key in milliseconds.
-
PUBLISH
static final Command PUBLISH
Post a message to a channel.
-
PUBSUB
static final Command PUBSUB
A container for Pub/Sub commands.
-
PUNSUBSCRIBE
static final Command PUNSUBSCRIBE
Stop listening for messages posted to channels matching the given patterns.
-
QUIT
static final Command QUIT
Close the connection.
-
RANDOMKEY
static final Command RANDOMKEY
Return a random key from the keyspace.
-
READONLY
static final Command READONLY
Enables read queries for a connection to a cluster replica node.
-
READWRITE
static final Command READWRITE
Disables read queries for a connection to a cluster replica node.
-
RENAME
static final Command RENAME
Rename a key.
-
RENAMENX
static final Command RENAMENX
Rename a key, only if the new key does not exist.
-
REPLCONF
static final Command REPLCONF
An internal command for configuring the replication stream.
-
REPLICAOF
static final Command REPLICAOF
Make the server a replica of another instance, or promote it as master.
-
RESET
static final Command RESET
Reset the connection.
-
RESTORE
static final Command RESTORE
Create a key using the provided serialized value, previously obtained using DUMP.
-
RESTORE_ASKING
static final Command RESTORE_ASKING
An internal command for migrating keys in a cluster.
-
ROLE
static final Command ROLE
Return the role of the instance in the context of replication.
-
RPOP
static final Command RPOP
Remove and get the last elements in a list.
-
RPOPLPUSH
@Deprecated static final Command RPOPLPUSH
Deprecated.since: 6.2.0, replaced by:LMOVEwith theRIGHTandLEFTargumentsRemove the last element in a list, prepend it to another list and return it.
-
RPUSH
static final Command RPUSH
Append one or multiple elements to a list.
-
RPUSHX
static final Command RPUSHX
Append an element to a list, only if the list exists.
-
SADD
static final Command SADD
Add one or more members to a set.
-
SAVE
static final Command SAVE
Synchronously save the dataset to disk.
-
SCAN
static final Command SCAN
Incrementally iterate the keys space.
-
SCARD
static final Command SCARD
Get the number of members in a set.
-
SCRIPT
static final Command SCRIPT
A container for Lua scripts management commands.
-
SDIFF
static final Command SDIFF
Subtract multiple sets.
-
SDIFFSTORE
static final Command SDIFFSTORE
Subtract multiple sets and store the resulting set in a key.
-
SELECT
static final Command SELECT
Change the selected database for the current connection.
-
SET
static final Command SET
Set the string value of a key.
-
SETBIT
static final Command SETBIT
Sets or clears the bit at offset in the string value stored at key.
-
SETEX
static final Command SETEX
Set the value and expiration of a key.
-
SETNX
static final Command SETNX
Set the value of a key, only if the key does not exist.
-
SETRANGE
static final Command SETRANGE
Overwrite part of a string at key starting at the specified offset.
-
SHUTDOWN
static final Command SHUTDOWN
Synchronously save the dataset to disk and then shut down the server.
-
SINTER
static final Command SINTER
Intersect multiple sets.
-
SINTERCARD
static final Command SINTERCARD
Intersect multiple sets and return the cardinality of the result.
-
SINTERSTORE
static final Command SINTERSTORE
Intersect multiple sets and store the resulting set in a key.
-
SISMEMBER
static final Command SISMEMBER
Determine if a given value is a member of a set.
-
SLAVEOF
@Deprecated static final Command SLAVEOF
Deprecated.since: 5.0.0, replaced by:REPLICAOFMake the server a replica of another instance, or promote it as master.
-
SLOWLOG
static final Command SLOWLOG
A container for slow log commands.
-
SMEMBERS
static final Command SMEMBERS
Get all the members in a set.
-
SMISMEMBER
static final Command SMISMEMBER
Returns the membership associated with the given elements for a set.
-
SMOVE
static final Command SMOVE
Move a member from one set to another.
-
SORT
static final Command SORT
Sort the elements in a list, set or sorted set.
-
SORT_RO
static final Command SORT_RO
Sort the elements in a list, set or sorted set. Read-only variant of SORT.
-
SPOP
static final Command SPOP
Remove and return one or multiple random members from a set.
-
SPUBLISH
static final Command SPUBLISH
Post a message to a shard channel.
-
SRANDMEMBER
static final Command SRANDMEMBER
Get one or multiple random members from a set.
-
SREM
static final Command SREM
Remove one or more members from a set.
-
SSCAN
static final Command SSCAN
Incrementally iterate Set elements.
-
SSUBSCRIBE
static final Command SSUBSCRIBE
Listen for messages published to the given shard channels.
-
STRLEN
static final Command STRLEN
Get the length of the value stored in a key.
-
SUBSCRIBE
static final Command SUBSCRIBE
Listen for messages published to the given channels.
-
SUBSTR
@Deprecated static final Command SUBSTR
Deprecated.since: 2.0.0, replaced by:GETRANGEGet a substring of the string stored at a key.
-
SUNION
static final Command SUNION
Add multiple sets.
-
SUNIONSTORE
static final Command SUNIONSTORE
Add multiple sets and store the resulting set in a key.
-
SUNSUBSCRIBE
static final Command SUNSUBSCRIBE
Stop listening for messages posted to the given shard channels.
-
SWAPDB
static final Command SWAPDB
Swaps two Redis databases.
-
SYNC
static final Command SYNC
Internal command used for replication.
-
TDIGEST_ADD
static final Command TDIGEST_ADD
-
TDIGEST_BYRANK
static final Command TDIGEST_BYRANK
-
TDIGEST_BYREVRANK
static final Command TDIGEST_BYREVRANK
-
TDIGEST_CDF
static final Command TDIGEST_CDF
-
TDIGEST_CREATE
static final Command TDIGEST_CREATE
-
TDIGEST_INFO
static final Command TDIGEST_INFO
-
TDIGEST_MAX
static final Command TDIGEST_MAX
-
TDIGEST_MERGE
static final Command TDIGEST_MERGE
-
TDIGEST_MIN
static final Command TDIGEST_MIN
-
TDIGEST_QUANTILE
static final Command TDIGEST_QUANTILE
-
TDIGEST_RANK
static final Command TDIGEST_RANK
-
TDIGEST_RESET
static final Command TDIGEST_RESET
-
TDIGEST_REVRANK
static final Command TDIGEST_REVRANK
-
TDIGEST_TRIMMED_MEAN
static final Command TDIGEST_TRIMMED_MEAN
-
TIME
static final Command TIME
Return the current server time.
-
TIMESERIES_CLUSTERSET
static final Command TIMESERIES_CLUSTERSET
-
TIMESERIES_CLUSTERSETFROMSHARD
static final Command TIMESERIES_CLUSTERSETFROMSHARD
-
TIMESERIES_HELLO
static final Command TIMESERIES_HELLO
-
TIMESERIES_INFOCLUSTER
static final Command TIMESERIES_INFOCLUSTER
-
TIMESERIES_INNERCOMMUNICATION
static final Command TIMESERIES_INNERCOMMUNICATION
-
TIMESERIES_NETWORKTEST
static final Command TIMESERIES_NETWORKTEST
-
TIMESERIES_REFRESHCLUSTER
static final Command TIMESERIES_REFRESHCLUSTER
-
TOPK_ADD
static final Command TOPK_ADD
-
TOPK_COUNT
static final Command TOPK_COUNT
-
TOPK_INCRBY
static final Command TOPK_INCRBY
-
TOPK_INFO
static final Command TOPK_INFO
-
TOPK_LIST
static final Command TOPK_LIST
-
TOPK_QUERY
static final Command TOPK_QUERY
-
TOPK_RESERVE
static final Command TOPK_RESERVE
-
TOUCH
static final Command TOUCH
Alters the last access time of a key(s). Returns the number of existing keys specified.
-
TS_ADD
static final Command TS_ADD
-
TS_ALTER
static final Command TS_ALTER
-
TS_CREATE
static final Command TS_CREATE
-
TS_CREATERULE
static final Command TS_CREATERULE
-
TS_DECRBY
static final Command TS_DECRBY
-
TS_DEL
static final Command TS_DEL
-
TS_DELETERULE
static final Command TS_DELETERULE
-
TS_GET
static final Command TS_GET
-
TS_INCRBY
static final Command TS_INCRBY
-
TS_INFO
static final Command TS_INFO
-
TS_MADD
static final Command TS_MADD
-
TS_MGET
static final Command TS_MGET
-
TS_MRANGE
static final Command TS_MRANGE
-
TS_MREVRANGE
static final Command TS_MREVRANGE
-
TS_QUERYINDEX
static final Command TS_QUERYINDEX
-
TS_RANGE
static final Command TS_RANGE
-
TS_REVRANGE
static final Command TS_REVRANGE
-
TTL
static final Command TTL
Get the time to live for a key in seconds.
-
TYPE
static final Command TYPE
Determine the type stored at key.
-
UNLINK
static final Command UNLINK
Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.
-
UNSUBSCRIBE
static final Command UNSUBSCRIBE
Stop listening for messages posted to the given channels.
-
UNWATCH
static final Command UNWATCH
Forget about all watched keys.
-
WAIT
static final Command WAIT
Wait for the synchronous replication of all the write commands sent in the context of the current connection.
-
WATCH
static final Command WATCH
Watch the given keys to determine execution of the MULTI/EXEC block.
-
XACK
static final Command XACK
Marks a pending message as correctly processed, effectively removing it from the pending entries list of the consumer group. Return value of the command is the number of messages successfully acknowledged, that is, the IDs we were actually able to resolve in the PEL.
-
XADD
static final Command XADD
Appends a new entry to a stream.
-
XAUTOCLAIM
static final Command XAUTOCLAIM
Changes (or acquires) ownership of messages in a consumer group, as if the messages were delivered to the specified consumer.
-
XCLAIM
static final Command XCLAIM
Changes (or acquires) ownership of a message in a consumer group, as if the message was delivered to the specified consumer.
-
XDEL
static final Command XDEL
Removes the specified entries from the stream. Returns the number of items actually deleted, that may be different from the number of IDs passed in case certain IDs do not exist.
-
XGROUP
static final Command XGROUP
A container for consumer groups commands.
-
XINFO
static final Command XINFO
A container for stream introspection commands.
-
XLEN
static final Command XLEN
Return the number of entries in a stream.
-
XPENDING
static final Command XPENDING
Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.
-
XRANGE
static final Command XRANGE
Return a range of elements in a stream, with IDs matching the specified IDs interval.
-
XREAD
static final Command XREAD
Return never seen elements in multiple streams, with IDs greater than the ones reported by the caller for each stream. Can block.
-
XREADGROUP
static final Command XREADGROUP
Return new entries from a stream using a consumer group, or access the history of the pending entries for a given consumer. Can block.
-
XREVRANGE
static final Command XREVRANGE
Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE.
-
XSETID
static final Command XSETID
An internal command for replicating stream values.
-
XTRIM
static final Command XTRIM
Trims the stream to (approximately if '~' is passed) a certain size.
-
ZADD
static final Command ZADD
Add one or more members to a sorted set, or update its score if it already exists.
-
ZCARD
static final Command ZCARD
Get the number of members in a sorted set.
-
ZCOUNT
static final Command ZCOUNT
Count the members in a sorted set with scores within the given values.
-
ZDIFF
static final Command ZDIFF
Subtract multiple sorted sets.
-
ZDIFFSTORE
static final Command ZDIFFSTORE
Subtract multiple sorted sets and store the resulting sorted set in a new key.
-
ZINCRBY
static final Command ZINCRBY
Increment the score of a member in a sorted set.
-
ZINTER
static final Command ZINTER
Intersect multiple sorted sets.
-
ZINTERCARD
static final Command ZINTERCARD
Intersect multiple sorted sets and return the cardinality of the result.
-
ZINTERSTORE
static final Command ZINTERSTORE
Intersect multiple sorted sets and store the resulting sorted set in a new key.
-
ZLEXCOUNT
static final Command ZLEXCOUNT
Count the number of members in a sorted set between a given lexicographical range.
-
ZMPOP
static final Command ZMPOP
Remove and return members with scores in a sorted set.
-
ZMSCORE
static final Command ZMSCORE
Get the score associated with the given members in a sorted set.
-
ZPOPMAX
static final Command ZPOPMAX
Remove and return members with the highest scores in a sorted set.
-
ZPOPMIN
static final Command ZPOPMIN
Remove and return members with the lowest scores in a sorted set.
-
ZRANDMEMBER
static final Command ZRANDMEMBER
Get one or multiple random elements from a sorted set.
-
ZRANGE
static final Command ZRANGE
Return a range of members in a sorted set.
-
ZRANGEBYLEX
@Deprecated static final Command ZRANGEBYLEX
Deprecated.since: 6.2.0, replaced by:ZRANGEwith theBYLEXargumentReturn a range of members in a sorted set, by lexicographical range.
-
ZRANGEBYSCORE
@Deprecated static final Command ZRANGEBYSCORE
Deprecated.since: 6.2.0, replaced by:ZRANGEwith theBYSCOREargumentReturn a range of members in a sorted set, by score.
-
ZRANGESTORE
static final Command ZRANGESTORE
Store a range of members from sorted set into another key.
-
ZRANK
static final Command ZRANK
Determine the index of a member in a sorted set.
-
ZREM
static final Command ZREM
Remove one or more members from a sorted set.
-
ZREMRANGEBYLEX
static final Command ZREMRANGEBYLEX
Remove all members in a sorted set between the given lexicographical range.
-
ZREMRANGEBYRANK
static final Command ZREMRANGEBYRANK
Remove all members in a sorted set within the given indexes.
-
ZREMRANGEBYSCORE
static final Command ZREMRANGEBYSCORE
Remove all members in a sorted set within the given scores.
-
ZREVRANGE
@Deprecated static final Command ZREVRANGE
Deprecated.since: 6.2.0, replaced by:ZRANGEwith theREVargumentReturn a range of members in a sorted set, by index, with scores ordered from high to low.
-
ZREVRANGEBYLEX
@Deprecated static final Command ZREVRANGEBYLEX
Deprecated.since: 6.2.0, replaced by:ZRANGEwith theREVandBYLEXargumentsReturn a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.
-
ZREVRANGEBYSCORE
@Deprecated static final Command ZREVRANGEBYSCORE
Deprecated.since: 6.2.0, replaced by:ZRANGEwith theREVandBYSCOREargumentsReturn a range of members in a sorted set, by score, with scores ordered from high to low.
-
ZREVRANK
static final Command ZREVRANK
Determine the index of a member in a sorted set, with scores ordered from high to low.
-
ZSCAN
static final Command ZSCAN
Incrementally iterate sorted sets elements and associated scores.
-
ZSCORE
static final Command ZSCORE
Get the score associated with the given member in a sorted set.
-
ZUNION
static final Command ZUNION
Add multiple sorted sets.
-
ZUNIONSTORE
static final Command ZUNIONSTORE
Add multiple sorted sets and store the resulting sorted set in a new key.
-
SENTINEL
static final Command SENTINEL
-
-
Method Detail
-
create
static Command create(String command)
Generic command generator for extensions.To avoid inconsistent behavior, when
commandis one of the known commands for which a static instance exists, the static instance is returned.- Parameters:
command- command name- Returns:
- the cacheable immutable command instance
-
-