vertx / io.vertx.kotlin.redis / io.vertx.redis.RedisTransaction

Extensions for io.vertx.redis.RedisTransaction

appendAwait

suspend fun RedisTransaction.appendAwait(key: String, value: String): String

Append a value to a key

authAwait

suspend fun RedisTransaction.authAwait(password: String): String

Authenticate to the server

bgrewriteaofAwait

suspend fun RedisTransaction.bgrewriteaofAwait(): String

Asynchronously rewrite the append-only file

bgsaveAwait

suspend fun RedisTransaction.bgsaveAwait(): String

Asynchronously save the dataset to disk

bitcountAwait

suspend fun RedisTransaction.bitcountAwait(key: String): String

Count set bits in a string

bitcountRangeAwait

suspend fun RedisTransaction.bitcountRangeAwait(key: String, start: Long, end: Long): String

Count set bits in a string

bitopAwait

suspend fun RedisTransaction.bitopAwait(operation: BitOperation, destkey: String, keys: List<String>): String

Perform bitwise operations between strings

bitposAwait

suspend fun RedisTransaction.bitposAwait(key: String, bit: Int): String

Find first bit set or clear in a string

bitposFromAwait

suspend fun RedisTransaction.bitposFromAwait(key: String, bit: Int, start: Int): String

Find first bit set or clear in a string

bitposRangeAwait

suspend fun RedisTransaction.bitposRangeAwait(key: String, bit: Int, start: Int, stop: Int): String

Find first bit set or clear in a string

blpopAwait

suspend fun RedisTransaction.blpopAwait(key: String, seconds: Int): String

Remove and get the first element in a list, or block until one is available

blpopManyAwait

suspend fun RedisTransaction.blpopManyAwait(keys: List<String>, seconds: Int): String

Remove and get the first element in any of the lists, or block until one is available

brpopAwait

suspend fun RedisTransaction.brpopAwait(key: String, seconds: Int): String

Remove and get the last element in a list, or block until one is available

brpopManyAwait

suspend fun RedisTransaction.brpopManyAwait(keys: List<String>, seconds: Int): String

Remove and get the last element in any of the lists, or block until one is available

brpoplpushAwait

suspend fun RedisTransaction.brpoplpushAwait(key: String, destkey: String, seconds: Int): String

Pop a value from a list, push it to another list and return it; or block until one is available

clientGetnameAwait

suspend fun RedisTransaction.clientGetnameAwait(): String

Get the current connection name

clientKillAwait

suspend fun RedisTransaction.clientKillAwait(filter: KillFilter): String

Kill the connection of a client

clientListAwait

suspend fun RedisTransaction.clientListAwait(): String

Get the list of client connections

clientPauseAwait

suspend fun RedisTransaction.clientPauseAwait(millis: Long): String

Stop processing commands from clients for some time

clientSetnameAwait

suspend fun RedisTransaction.clientSetnameAwait(name: String): String

Set the current connection name

closeAwait

suspend fun RedisTransaction.closeAwait(): Unit

Close the client - when it is fully closed the handler will be called.

clusterAddslotsAwait

suspend fun RedisTransaction.clusterAddslotsAwait(slots: List<String>): String

Assign new hash slots to receiving node.

clusterCountFailureReportsAwait

suspend fun RedisTransaction.clusterCountFailureReportsAwait(nodeId: String): String

Return the number of failure reports active for a given node.

clusterCountkeysinslotAwait

suspend fun RedisTransaction.clusterCountkeysinslotAwait(slot: Long): String

Return the number of local keys in the specified hash slot.

clusterDelslotsAwait

suspend fun RedisTransaction.clusterDelslotsAwait(slot: Long): String

Set hash slots as unbound in receiving node.

clusterDelslotsManyAwait

suspend fun RedisTransaction.clusterDelslotsManyAwait(slots: List<String>): String

Set hash slots as unbound in receiving node.

clusterFailOverWithOptionsAwait

suspend fun RedisTransaction.clusterFailOverWithOptionsAwait(options: FailoverOptions): String

Forces a slave to perform a manual failover of its master.

clusterFailoverAwait

suspend fun RedisTransaction.clusterFailoverAwait(): String

Forces a slave to perform a manual failover of its master.

clusterForgetAwait

suspend fun RedisTransaction.clusterForgetAwait(nodeId: String): String

Remove a node from the nodes table.

clusterGetkeysinslotAwait

suspend fun RedisTransaction.clusterGetkeysinslotAwait(slot: Long, count: Long): String

Return local key names in the specified hash slot.

clusterInfoAwait

suspend fun RedisTransaction.clusterInfoAwait(): String

Provides info about Redis Cluster node state.

clusterKeyslotAwait

suspend fun RedisTransaction.clusterKeyslotAwait(key: String): String

Returns the hash slot of the specified key.

clusterMeetAwait

suspend fun RedisTransaction.clusterMeetAwait(ip: String, port: Long): String

Force a node cluster to handshake with another node.

clusterNodesAwait

suspend fun RedisTransaction.clusterNodesAwait(): String

Get Cluster config for the node.

clusterReplicateAwait

suspend fun RedisTransaction.clusterReplicateAwait(nodeId: String): String

Reconfigure a node as a slave of the specified master node.

clusterResetAwait

suspend fun RedisTransaction.clusterResetAwait(): String

Reset a Redis Cluster node.

clusterResetWithOptionsAwait

suspend fun RedisTransaction.clusterResetWithOptionsAwait(options: ResetOptions): String

Reset a Redis Cluster node.

clusterSaveconfigAwait

suspend fun RedisTransaction.clusterSaveconfigAwait(): String

Forces the node to save cluster state on disk.

clusterSetConfigEpochAwait

suspend fun RedisTransaction.clusterSetConfigEpochAwait(epoch: Long): String

Set the configuration epoch in a new node.

clusterSetslotAwait

suspend fun RedisTransaction.clusterSetslotAwait(slot: Long, subcommand: SlotCmd): String

Bind an hash slot to a specific node.

clusterSetslotWithNodeAwait

suspend fun RedisTransaction.clusterSetslotWithNodeAwait(slot: Long, subcommand: SlotCmd, nodeId: String): String

Bind an hash slot to a specific node.

clusterSlavesAwait

suspend fun RedisTransaction.clusterSlavesAwait(nodeId: String): String

List slave nodes of the specified master node.

clusterSlotsAwait

suspend fun RedisTransaction.clusterSlotsAwait(): String

Get array of Cluster slot to node mappings

commandAwait

suspend fun RedisTransaction.commandAwait(): String

Get array of Redis command details

commandCountAwait

suspend fun RedisTransaction.commandCountAwait(): String

Get total number of Redis commands

commandGetkeysAwait

suspend fun RedisTransaction.commandGetkeysAwait(): String

Extract keys given a full Redis command

commandInfoAwait

suspend fun RedisTransaction.commandInfoAwait(commands: List<String>): String

Get array of specific Redis command details

configGetAwait

suspend fun RedisTransaction.configGetAwait(parameter: String): String

Get the value of a configuration parameter

configResetstatAwait

suspend fun RedisTransaction.configResetstatAwait(): String

Reset the stats returned by INFO

configRewriteAwait

suspend fun RedisTransaction.configRewriteAwait(): String

Rewrite the configuration file with the in memory configuration

configSetAwait

suspend fun RedisTransaction.configSetAwait(parameter: String, value: String): String

Set a configuration parameter to the given value

dbsizeAwait

suspend fun RedisTransaction.dbsizeAwait(): String

Return the number of keys in the selected database

debugObjectAwait

suspend fun RedisTransaction.debugObjectAwait(key: String): String

Get debugging information about a key

debugSegfaultAwait

suspend fun RedisTransaction.debugSegfaultAwait(): String

Make the server crash

decrAwait

suspend fun RedisTransaction.decrAwait(key: String): String

Decrement the integer value of a key by one

decrbyAwait

suspend fun RedisTransaction.decrbyAwait(key: String, decrement: Long): String

Decrement the integer value of a key by the given number

delAwait

suspend fun RedisTransaction.delAwait(key: String): String

Delete a key

delManyAwait

suspend fun RedisTransaction.delManyAwait(keys: List<String>): String

Delete many keys

discardAwait

suspend fun RedisTransaction.discardAwait(): String

Discard all commands issued after MULTI

dumpAwait

suspend fun RedisTransaction.dumpAwait(key: String): String

Return a serialized version of the value stored at the specified key.

echoAwait

suspend fun RedisTransaction.echoAwait(message: String): String

Echo the given string

evalAwait

suspend fun RedisTransaction.evalAwait(script: String, keys: List<String>, args: List<String>): String

Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

evalshaAwait

suspend fun RedisTransaction.evalshaAwait(sha1: String, keys: List<String>, values: List<String>): String

Execute a Lua script server side. Due to the dynamic nature of this command any response type could be returned for This reason and to ensure type safety the reply is always guaranteed to be a JsonArray.

execAwait

suspend fun RedisTransaction.execAwait(): JsonArray

Execute all commands issued after MULTI

existsAwait

suspend fun RedisTransaction.existsAwait(key: String): String

Determine if a key exists

existsManyAwait

suspend fun RedisTransaction.existsManyAwait(keys: List<String>): String

Determine if one or many keys exist

expireAwait

suspend fun RedisTransaction.expireAwait(key: String, seconds: Int): String

Set a key's time to live in seconds

expireatAwait

suspend fun RedisTransaction.expireatAwait(key: String, seconds: Long): String

Set the expiration for a key as a UNIX timestamp

flushallAwait

suspend fun RedisTransaction.flushallAwait(): String

Remove all keys from all databases

flushdbAwait

suspend fun RedisTransaction.flushdbAwait(): String

Remove all keys from the current database

geoaddAwait

suspend fun RedisTransaction.geoaddAwait(key: String, longitude: Double, latitude: Double, member: String): String

Add one or more geospatial items in the geospatial index represented using a sorted set.

geoaddManyAwait

suspend fun RedisTransaction.geoaddManyAwait(key: String, members: List<GeoMember>): String

Add one or more geospatial items in the geospatial index represented using a sorted set.

geodistAwait

suspend fun RedisTransaction.geodistAwait(key: String, member1: String, member2: String): String

Return the distance between two members in the geospatial index represented by the sorted set.

geodistWithUnitAwait

suspend fun RedisTransaction.geodistWithUnitAwait(key: String, member1: String, member2: String, unit: GeoUnit): String

Return the distance between two members in the geospatial index represented by the sorted set.

geohashAwait

suspend fun RedisTransaction.geohashAwait(key: String, member: String): String

Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).

geohashManyAwait

suspend fun RedisTransaction.geohashManyAwait(key: String, members: List<String>): String

Return valid Geohash strings representing the position of one or more elements in a sorted set value representing a geospatial index (where elements were added using GEOADD).

geoposAwait

suspend fun RedisTransaction.geoposAwait(key: String, member: String): String

Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.

geoposManyAwait

suspend fun RedisTransaction.geoposManyAwait(key: String, members: List<String>): String

Return the positions (longitude,latitude) of all the specified members of the geospatial index represented by the sorted set at key.

georadiusAwait

suspend fun RedisTransaction.georadiusAwait(key: String, longitude: Double, latitude: Double, radius: Double, unit: GeoUnit): String

Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).

georadiusWithOptionsAwait

suspend fun RedisTransaction.georadiusWithOptionsAwait(key: String, longitude: Double, latitude: Double, radius: Double, unit: GeoUnit, options: GeoRadiusOptions): String

Return the members of a sorted set populated with geospatial information using GEOADD, which are within the borders of the area specified with the center location and the maximum distance from the center (the radius).

georadiusbymemberAwait

suspend fun RedisTransaction.georadiusbymemberAwait(key: String, member: String, radius: Double, unit: GeoUnit): String

This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.

georadiusbymemberWithOptionsAwait

suspend fun RedisTransaction.georadiusbymemberWithOptionsAwait(key: String, member: String, radius: Double, unit: GeoUnit, options: GeoRadiusOptions): String

This command is exactly like GEORADIUS with the sole difference that instead of taking, as the center of the area to query, a longitude and latitude value, it takes the name of a member already existing inside the geospatial index represented by the sorted set.

getAwait

suspend fun RedisTransaction.getAwait(key: String): String

Get the value of a key

getBinaryAwait

suspend fun RedisTransaction.getBinaryAwait(key: String): Buffer

Get the value of a key - without decoding as utf-8

getbitAwait

suspend fun RedisTransaction.getbitAwait(key: String, offset: Long): String

Returns the bit value at offset in the string value stored at key

getrangeAwait

suspend fun RedisTransaction.getrangeAwait(key: String, start: Long, end: Long): String

Get a substring of the string stored at a key

getsetAwait

suspend fun RedisTransaction.getsetAwait(key: String, value: String): String

Set the string value of a key and return its old value

hdelAwait

suspend fun RedisTransaction.hdelAwait(key: String, field: String): String

Delete one or more hash fields

hdelManyAwait

suspend fun RedisTransaction.hdelManyAwait(key: String, fields: List<String>): String

Delete one or more hash fields

hexistsAwait

suspend fun RedisTransaction.hexistsAwait(key: String, field: String): String

Determine if a hash field exists

hgetAwait

suspend fun RedisTransaction.hgetAwait(key: String, field: String): String

Get the value of a hash field

hgetallAwait

suspend fun RedisTransaction.hgetallAwait(key: String): String

Get all the fields and values in a hash

hincrbyAwait

suspend fun RedisTransaction.hincrbyAwait(key: String, field: String, increment: Long): String

Increment the integer value of a hash field by the given number

hincrbyfloatAwait

suspend fun RedisTransaction.hincrbyfloatAwait(key: String, field: String, increment: Double): String

Increment the float value of a hash field by the given amount

hkeysAwait

suspend fun RedisTransaction.hkeysAwait(key: String): String

Get all the fields in a hash

hlenAwait

suspend fun RedisTransaction.hlenAwait(key: String): String

Get the number of fields in a hash

hmgetAwait

suspend fun RedisTransaction.hmgetAwait(key: String, fields: List<String>): String

Get the values of all the given hash fields

hmsetAwait

suspend fun RedisTransaction.hmsetAwait(key: String, values: JsonObject): String

Set multiple hash fields to multiple values

hscanAwait

suspend fun RedisTransaction.hscanAwait(key: String, cursor: String, options: ScanOptions): String

Incrementally iterate hash fields and associated values

hsetAwait

suspend fun RedisTransaction.hsetAwait(key: String, field: String, value: String): String

Set the string value of a hash field

hsetnxAwait

suspend fun RedisTransaction.hsetnxAwait(key: String, field: String, value: String): String

Set the value of a hash field, only if the field does not exist

hvalsAwait

suspend fun RedisTransaction.hvalsAwait(key: String): String

Get all the values in a hash

incrAwait

suspend fun RedisTransaction.incrAwait(key: String): String

Increment the integer value of a key by one

incrbyAwait

suspend fun RedisTransaction.incrbyAwait(key: String, increment: Long): String

Increment the integer value of a key by the given amount

incrbyfloatAwait

suspend fun RedisTransaction.incrbyfloatAwait(key: String, increment: Double): String

Increment the float value of a key by the given amount

infoAwait

suspend fun RedisTransaction.infoAwait(): String

Get information and statistics about the server

infoSectionAwait

suspend fun RedisTransaction.infoSectionAwait(section: String): String

Get information and statistics about the server

keysAwait

suspend fun RedisTransaction.keysAwait(pattern: String): String

Find all keys matching the given pattern

lastsaveAwait

suspend fun RedisTransaction.lastsaveAwait(): String

Get the UNIX time stamp of the last successful save to disk

lindexAwait

suspend fun RedisTransaction.lindexAwait(key: String, index: Int): String

Get an element from a list by its index

linsertAwait

suspend fun RedisTransaction.linsertAwait(key: String, option: InsertOptions, pivot: String, value: String): String

Insert an element before or after another element in a list

llenAwait

suspend fun RedisTransaction.llenAwait(key: String): String

Get the length of a list

lpopAwait

suspend fun RedisTransaction.lpopAwait(key: String): String

Remove and get the first element in a list

lpushAwait

suspend fun RedisTransaction.lpushAwait(key: String, value: String): String

Prepend one value to a list

lpushManyAwait

suspend fun RedisTransaction.lpushManyAwait(key: String, values: List<String>): String

Prepend one or multiple values to a list

lpushxAwait

suspend fun RedisTransaction.lpushxAwait(key: String, value: String): String

Prepend a value to a list, only if the list exists

lrangeAwait

suspend fun RedisTransaction.lrangeAwait(key: String, from: Long, to: Long): String

Get a range of elements from a list

lremAwait

suspend fun RedisTransaction.lremAwait(key: String, count: Long, value: String): String

Remove elements from a list

lsetAwait

suspend fun RedisTransaction.lsetAwait(key: String, index: Long, value: String): String

Set the value of an element in a list by its index

ltrimAwait

suspend fun RedisTransaction.ltrimAwait(key: String, from: Long, to: Long): String

Trim a list to the specified range

mgetAwait

suspend fun RedisTransaction.mgetAwait(key: String): String

Get the value of the given key

mgetManyAwait

suspend fun RedisTransaction.mgetManyAwait(keys: List<String>): String

Get the values of all the given keys

migrateAwait

suspend fun RedisTransaction.migrateAwait(host: String, port: Int, key: String, destdb: Int, timeout: Long, options: MigrateOptions): String

Atomically transfer a key from a Redis instance to another one.

monitorAwait

suspend fun RedisTransaction.monitorAwait(): String

Listen for all requests received by the server in real time

moveAwait

suspend fun RedisTransaction.moveAwait(key: String, destdb: Int): String

Move a key to another database

msetAwait

suspend fun RedisTransaction.msetAwait(keyvals: JsonObject): String

Set multiple keys to multiple values

msetnxAwait

suspend fun RedisTransaction.msetnxAwait(keyvals: JsonObject): String

Set multiple keys to multiple values, only if none of the keys exist

multiAwait

suspend fun RedisTransaction.multiAwait(): String

Mark the start of a RedisTransaction block

objectAwait

suspend fun RedisTransaction.objectAwait(key: String, cmd: ObjectCmd): String

Inspect the internals of Redis objects

persistAwait

suspend fun RedisTransaction.persistAwait(key: String): String

Remove the expiration from a key

pexpireAwait

suspend fun RedisTransaction.pexpireAwait(key: String, millis: Long): String

Set a key's time to live in milliseconds

pexpireatAwait

suspend fun RedisTransaction.pexpireatAwait(key: String, millis: Long): String

Set the expiration for a key as a UNIX timestamp specified in milliseconds

pfaddAwait

suspend fun RedisTransaction.pfaddAwait(key: String, element: String): String

Adds the specified element to the specified HyperLogLog.

pfaddManyAwait

suspend fun RedisTransaction.pfaddManyAwait(key: String, elements: List<String>): String

Adds the specified elements to the specified HyperLogLog.

pfcountAwait

suspend fun RedisTransaction.pfcountAwait(key: String): String

Return the approximated cardinality of the set observed by the HyperLogLog at key.

pfcountManyAwait

suspend fun RedisTransaction.pfcountManyAwait(keys: List<String>): String

Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).

pfmergeAwait

suspend fun RedisTransaction.pfmergeAwait(destkey: String, keys: List<String>): String

Merge N different HyperLogLogs into a single one.

pingAwait

suspend fun RedisTransaction.pingAwait(): String

Ping the server

psetexAwait

suspend fun RedisTransaction.psetexAwait(key: String, millis: Long, value: String): String

Set the value and expiration in milliseconds of a key

psubscribeAwait

suspend fun RedisTransaction.psubscribeAwait(pattern: String): String

Listen for messages published to channels matching the given pattern

psubscribeManyAwait

suspend fun RedisTransaction.psubscribeManyAwait(patterns: List<String>): String

Listen for messages published to channels matching the given patterns

pttlAwait

suspend fun RedisTransaction.pttlAwait(key: String): String

Get the time to live for a key in milliseconds

publishAwait

suspend fun RedisTransaction.publishAwait(channel: String, message: String): String

Post a message to a channel

pubsubChannelsAwait

suspend fun RedisTransaction.pubsubChannelsAwait(pattern: String): String

Lists the currently active channels - only those matching the pattern

pubsubNumpatAwait

suspend fun RedisTransaction.pubsubNumpatAwait(): String

Returns the number of subscriptions to patterns (that are performed using the PSUBSCRIBE command)

pubsubNumsubAwait

suspend fun RedisTransaction.pubsubNumsubAwait(channels: List<String>): String

Returns the number of subscribers (not counting clients subscribed to patterns) for the specified channels

punsubscribeAwait

suspend fun RedisTransaction.punsubscribeAwait(patterns: List<String>): String

Stop listening for messages posted to channels matching the given patterns

randomkeyAwait

suspend fun RedisTransaction.randomkeyAwait(): String

Return a random key from the keyspace

renameAwait

suspend fun RedisTransaction.renameAwait(key: String, newkey: String): String

Rename a key

renamenxAwait

suspend fun RedisTransaction.renamenxAwait(key: String, newkey: String): String

Rename a key, only if the new key does not exist

restoreAwait

suspend fun RedisTransaction.restoreAwait(key: String, millis: Long, serialized: String): String

Create a key using the provided serialized value, previously obtained using DUMP.

roleAwait

suspend fun RedisTransaction.roleAwait(): String

Return the role of the instance in the context of replication

rpopAwait

suspend fun RedisTransaction.rpopAwait(key: String): String

Remove and get the last element in a list

rpoplpushAwait

suspend fun RedisTransaction.rpoplpushAwait(key: String, destkey: String): String

Remove the last element in a list, append it to another list and return it

rpushAwait

suspend fun RedisTransaction.rpushAwait(key: String, value: String): String

Append one or multiple values to a list

rpushManyAwait

suspend fun RedisTransaction.rpushManyAwait(key: String, values: List<String>): String

Append one or multiple values to a list

rpushxAwait

suspend fun RedisTransaction.rpushxAwait(key: String, value: String): String

Append a value to a list, only if the list exists

saddAwait

suspend fun RedisTransaction.saddAwait(key: String, member: String): String

Add a member to a set

saddManyAwait

suspend fun RedisTransaction.saddManyAwait(key: String, members: List<String>): String

Add one or more members to a set

saveAwait

suspend fun RedisTransaction.saveAwait(): String

Synchronously save the dataset to disk

scanAwait

suspend fun RedisTransaction.scanAwait(cursor: String, options: ScanOptions): String

Incrementally iterate the keys space

scardAwait

suspend fun RedisTransaction.scardAwait(key: String): String

Get the number of members in a set

scriptExistsAwait

suspend fun RedisTransaction.scriptExistsAwait(script: String): String

Check existence of script in the script cache.

scriptExistsManyAwait

suspend fun RedisTransaction.scriptExistsManyAwait(scripts: List<String>): String

Check existence of scripts in the script cache.

scriptFlushAwait

suspend fun RedisTransaction.scriptFlushAwait(): String

Remove all the scripts from the script cache.

scriptKillAwait

suspend fun RedisTransaction.scriptKillAwait(): String

Kill the script currently in execution.

scriptLoadAwait

suspend fun RedisTransaction.scriptLoadAwait(script: String): String

Load the specified Lua script into the script cache.

sdiffAwait

suspend fun RedisTransaction.sdiffAwait(key: String, cmpkeys: List<String>): String

Subtract multiple sets

sdiffstoreAwait

suspend fun RedisTransaction.sdiffstoreAwait(destkey: String, key: String, cmpkeys: List<String>): String

Subtract multiple sets and store the resulting set in a key

selectAwait

suspend fun RedisTransaction.selectAwait(dbindex: Int): String

Change the selected database for the current connection

setAwait

suspend fun RedisTransaction.setAwait(key: String, value: String): String

Set the string value of a key

setBinaryAwait

suspend fun RedisTransaction.setBinaryAwait(key: String, value: Buffer): String

Set the binary string value of a key - without encoding as utf-8

setBinaryWithOptionsAwait

suspend fun RedisTransaction.setBinaryWithOptionsAwait(key: String, value: Buffer, options: SetOptions): String

Set the string value of a key

setWithOptionsAwait

suspend fun RedisTransaction.setWithOptionsAwait(key: String, value: String, options: SetOptions): String

Set the string value of a key

setbitAwait

suspend fun RedisTransaction.setbitAwait(key: String, offset: Long, bit: Int): String

Sets or clears the bit at offset in the string value stored at key

setexAwait

suspend fun RedisTransaction.setexAwait(key: String, seconds: Long, value: String): String

Set the value and expiration of a key

setnxAwait

suspend fun RedisTransaction.setnxAwait(key: String, value: String): String

Set the value of a key, only if the key does not exist

setrangeAwait

suspend fun RedisTransaction.setrangeAwait(key: String, offset: Int, value: String): String

Overwrite part of a string at key starting at the specified offset

sinterAwait

suspend fun RedisTransaction.sinterAwait(keys: List<String>): String

Intersect multiple sets

sinterstoreAwait

suspend fun RedisTransaction.sinterstoreAwait(destkey: String, keys: List<String>): String

Intersect multiple sets and store the resulting set in a key

sismemberAwait

suspend fun RedisTransaction.sismemberAwait(key: String, member: String): String

Determine if a given value is a member of a set

slaveofAwait

suspend fun RedisTransaction.slaveofAwait(host: String, port: Int): String

Make the server a slave of another instance

slaveofNooneAwait

suspend fun RedisTransaction.slaveofNooneAwait(): String

Make this server a master

slowlogGetAwait

suspend fun RedisTransaction.slowlogGetAwait(limit: Int): String

Read the Redis slow queries log

slowlogLenAwait

suspend fun RedisTransaction.slowlogLenAwait(): String

Get the length of the Redis slow queries log

slowlogResetAwait

suspend fun RedisTransaction.slowlogResetAwait(): String

Reset the Redis slow queries log

smembersAwait

suspend fun RedisTransaction.smembersAwait(key: String): JsonArray

Get all the members in a set

smoveAwait

suspend fun RedisTransaction.smoveAwait(key: String, destkey: String, member: String): String

Move a member from one set to another

sortAwait

suspend fun RedisTransaction.sortAwait(key: String, options: SortOptions): String

Sort the elements in a list, set or sorted set

spopAwait

suspend fun RedisTransaction.spopAwait(key: String): String

Remove and return a random member from a set

spopManyAwait

suspend fun RedisTransaction.spopManyAwait(key: String, count: Int): String

Remove and return random members from a set

srandmemberAwait

suspend fun RedisTransaction.srandmemberAwait(key: String): String

Get one or multiple random members from a set

srandmemberCountAwait

suspend fun RedisTransaction.srandmemberCountAwait(key: String, count: Int): String

Get one or multiple random members from a set

sremAwait

suspend fun RedisTransaction.sremAwait(key: String, member: String): String

Remove one member from a set

sremManyAwait

suspend fun RedisTransaction.sremManyAwait(key: String, members: List<String>): String

Remove one or more members from a set

sscanAwait

suspend fun RedisTransaction.sscanAwait(key: String, cursor: String, options: ScanOptions): String

Incrementally iterate Set elements

strlenAwait

suspend fun RedisTransaction.strlenAwait(key: String): String

Get the length of the value stored in a key

subscribeAwait

suspend fun RedisTransaction.subscribeAwait(channel: String): String

Listen for messages published to the given channels

subscribeManyAwait

suspend fun RedisTransaction.subscribeManyAwait(channels: List<String>): String

Listen for messages published to the given channels

sunionAwait

suspend fun RedisTransaction.sunionAwait(keys: List<String>): String

Add multiple sets

sunionstoreAwait

suspend fun RedisTransaction.sunionstoreAwait(destkey: String, keys: List<String>): String

Add multiple sets and store the resulting set in a key

swapdbAwait

suspend fun RedisTransaction.swapdbAwait(index1: Int, index2: Int): String

Swaps two Redis databases

syncAwait

suspend fun RedisTransaction.syncAwait(): String

Internal command used for replication

timeAwait

suspend fun RedisTransaction.timeAwait(): String

Return the current server time

ttlAwait

suspend fun RedisTransaction.ttlAwait(key: String): String

Get the time to live for a key

typeAwait

suspend fun RedisTransaction.typeAwait(key: String): String

Determine the type stored at key

unlinkAwait

suspend fun RedisTransaction.unlinkAwait(key: String): String

Delete a key asynchronously in another thread. Otherwise it is just as DEL, but non blocking.

unlinkManyAwait

suspend fun RedisTransaction.unlinkManyAwait(keys: List<String>): String

Delete multiple keys asynchronously in another thread. Otherwise it is just as DEL, but non blocking.

unsubscribeAwait

suspend fun RedisTransaction.unsubscribeAwait(channels: List<String>): String

Stop listening for messages posted to the given channels

unwatchAwait

suspend fun RedisTransaction.unwatchAwait(): String

Forget about all watched keys

waitAwait

suspend fun RedisTransaction.waitAwait(numSlaves: Long, timeout: Long): String

Wait for the synchronous replication of all the write commands sent in the context of the current connection.

watchAwait

suspend fun RedisTransaction.watchAwait(key: String): String

Watch the given keys to determine execution of the MULTI/EXEC block

watchManyAwait

suspend fun RedisTransaction.watchManyAwait(keys: List<String>): String

Watch the given keys to determine execution of the MULTI/EXEC block

zaddAwait

suspend fun RedisTransaction.zaddAwait(key: String, score: Double, member: String): String

Add one or more members to a sorted set, or update its score if it already exists

zaddManyAwait

suspend fun RedisTransaction.zaddManyAwait(key: String, members: Map<String, Double>): String

Add one or more members to a sorted set, or update its score if it already exists

zcardAwait

suspend fun RedisTransaction.zcardAwait(key: String): String

Get the number of members in a sorted set

zcountAwait

suspend fun RedisTransaction.zcountAwait(key: String, min: Double, max: Double): String

Count the members in a sorted set with scores within the given values

zincrbyAwait

suspend fun RedisTransaction.zincrbyAwait(key: String, increment: Double, member: String): String

Increment the score of a member in a sorted set

zinterstoreAwait

suspend fun RedisTransaction.zinterstoreAwait(destkey: String, sets: List<String>, options: AggregateOptions): String

Intersect multiple sorted sets and store the resulting sorted set in a new key

zinterstoreWeighedAwait

suspend fun RedisTransaction.zinterstoreWeighedAwait(destkey: String, sets: Map<String, Double>, options: AggregateOptions): String

Intersect multiple sorted sets and store the resulting sorted set in a new key using weights for scoring

zlexcountAwait

suspend fun RedisTransaction.zlexcountAwait(key: String, min: String, max: String): String

Count the number of members in a sorted set between a given lexicographical range

zrangeAwait

suspend fun RedisTransaction.zrangeAwait(key: String, start: Long, stop: Long): String

Return a range of members in a sorted set, by index

zrangeWithOptionsAwait

suspend fun RedisTransaction.zrangeWithOptionsAwait(key: String, start: Long, stop: Long, options: RangeOptions): String

Return a range of members in a sorted set, by index

zrangebylexAwait

suspend fun RedisTransaction.zrangebylexAwait(key: String, min: String, max: String, options: LimitOptions): String

Return a range of members in a sorted set, by lexicographical range

zrangebyscoreAwait

suspend fun RedisTransaction.zrangebyscoreAwait(key: String, min: String, max: String, options: RangeLimitOptions): String

Return a range of members in a sorted set, by score

zrankAwait

suspend fun RedisTransaction.zrankAwait(key: String, member: String): String

Determine the index of a member in a sorted set

zremAwait

suspend fun RedisTransaction.zremAwait(key: String, member: String): String

Remove one member from a sorted set

zremManyAwait

suspend fun RedisTransaction.zremManyAwait(key: String, members: List<String>): String

Remove one or more members from a sorted set

zremrangebylexAwait

suspend fun RedisTransaction.zremrangebylexAwait(key: String, min: String, max: String): String

Remove all members in a sorted set between the given lexicographical range

zremrangebyrankAwait

suspend fun RedisTransaction.zremrangebyrankAwait(key: String, start: Long, stop: Long): String

Remove all members in a sorted set within the given indexes

zremrangebyscoreAwait

suspend fun RedisTransaction.zremrangebyscoreAwait(key: String, min: String, max: String): String

Remove all members in a sorted set within the given scores

zrevrangeAwait

suspend fun RedisTransaction.zrevrangeAwait(key: String, start: Long, stop: Long, options: RangeOptions): String

Return a range of members in a sorted set, by index, with scores ordered from high to low

zrevrangebylexAwait

suspend fun RedisTransaction.zrevrangebylexAwait(key: String, max: String, min: String, options: LimitOptions): String

Return a range of members in a sorted set, by score, between the given lexicographical range with scores ordered from high to low

zrevrangebyscoreAwait

suspend fun RedisTransaction.zrevrangebyscoreAwait(key: String, max: String, min: String, options: RangeLimitOptions): String

Return a range of members in a sorted set, by score, with scores ordered from high to low

zrevrankAwait

suspend fun RedisTransaction.zrevrankAwait(key: String, member: String): String

Determine the index of a member in a sorted set, with scores ordered from high to low

zscanAwait

suspend fun RedisTransaction.zscanAwait(key: String, cursor: String, options: ScanOptions): String

Incrementally iterate sorted sets elements and associated scores

zscoreAwait

suspend fun RedisTransaction.zscoreAwait(key: String, member: String): String

Get the score associated with the given member in a sorted set

zunionstoreAwait

suspend fun RedisTransaction.zunionstoreAwait(destkey: String, sets: List<String>, options: AggregateOptions): String

Add multiple sorted sets and store the resulting sorted set in a new key

zunionstoreWeighedAwait

suspend fun RedisTransaction.zunionstoreWeighedAwait(key: String, sets: Map<String, Double>, options: AggregateOptions): String

Add multiple sorted sets using weights, and store the resulting sorted set in a new key