Uses of Class
com.blackrook.redis.data.RedisObject
-
Packages that use RedisObject Package Description com.blackrook.redis Contains classes relevant to connecting to Redis servers.com.blackrook.redis.commands Contains interfaces for implementing Redis commands.com.blackrook.redis.data Contains encapsulations for Redis objects and responses.com.blackrook.redis.enums Contains useful enumerations.com.blackrook.redis.io Contains classes relevant to reading and writing to Redis sockets. -
-
Uses of RedisObject in com.blackrook.redis
Methods in com.blackrook.redis that return RedisObject Modifier and Type Method Description RedisObject
RedisConnection. eval(String scriptContent, String[] keys, Object... args)
RedisObject
RedisConnection. evalsha(String hash, String[] keys, Object... args)
RedisObject[]
RedisPipeline. finish()
Send all pending commands in the pipeline and returns all of their return values.RedisObject
RedisServerConnection. object(String subcommand, String key)
RedisObject
RedisServerConnection. pubsub(String subcommand, String... arguments)
RedisObject
RedisUserConnection. sendCommandString(String commandString)
Sends a request to a Redis server in the form of a literal command.RedisObject
RedisUserConnection. sendRequest(Object... arguments)
Sends a raw request to a Redis server in the form of a literal command, already separated into tokens.RedisObject
RedisUserConnection. sendRequest(String... arguments)
Sends a request to a Redis server in the form of a literal command, already separated into tokens.RedisObject
RedisServerConnection. slowlog(String subcommand, String argument)
RedisObject
RedisServerConnection. slowlogGet(long recentCount)
RedisObject
RedisServerConnection. slowlogLen()
RedisObject
RedisServerConnection. slowlogReset()
-
Uses of RedisObject in com.blackrook.redis.commands
Methods in com.blackrook.redis.commands that return RedisObject Modifier and Type Method Description RedisObject
RedisConnectionCommands. eval(String scriptContent, String[] keys, Object... args)
RedisObject
RedisConnectionCommands. evalsha(String hash, String[] keys, Object... args)
RedisObject
RedisServerCommands. object(String subcommand, String key)
RedisObject
RedisServerCommands. pubsub(String subcommand, String... arguments)
RedisObject
RedisServerCommands. slowlog(String subcommand, String argument)
RedisObject
RedisServerCommands. slowlogGet(long recentCount)
RedisObject
RedisServerCommands. slowlogLen()
RedisObject
RedisServerCommands. slowlogReset()
-
Uses of RedisObject in com.blackrook.redis.data
Fields in com.blackrook.redis.data declared as RedisObject Modifier and Type Field Description static RedisObject
RedisObject. NULL
All NULL string objects are this object.static RedisObject
RedisObject. NULL_ARRAY
All NULL array objects are this object.Methods in com.blackrook.redis.data that return RedisObject Modifier and Type Method Description static RedisObject
RedisObject. create(double value)
Creates an object of type STRING, using a floating-point number.static RedisObject
RedisObject. create(long value)
Creates an object of type INTEGER.static RedisObject
RedisObject. create(String value)
Creates an object of type STRING.static RedisObject
RedisObject. create(String... value)
Creates an object of type ARRAY.static RedisObject
RedisObject. createEmptyArray(int length)
Creates an object of type ARRAY, but with allnull
elements.static RedisObject
RedisObject. createError(String message)
Creates an object of type ERROR.static RedisObject
RedisObject. createNull()
Creates a null object (type STRING).static RedisObject
RedisObject. createNullArray()
Creates a null object (type ARRAY).RedisObject
RedisObject. get(int index)
If this is an array, this returns an element at a specific index in it.RedisObject
RedisObject. set(int index, double value)
If this is an array, this sets an element at a specific index in it.RedisObject
RedisObject. set(int index, long value)
If this is an array, this sets an element at a specific index in it.RedisObject
RedisObject. set(int index, RedisObject value)
If this is an array, this sets an element at a specific index in it.RedisObject
RedisObject. set(int index, String value)
If this is an array, this sets an element at a specific index in it.RedisObject
RedisObject. set(int index, String[] value)
If this is an array, this sets an element at a specific index in it.Methods in com.blackrook.redis.data with parameters of type RedisObject Modifier and Type Method Description RedisObject
RedisObject. set(int index, RedisObject value)
If this is an array, this sets an element at a specific index in it. -
Uses of RedisObject in com.blackrook.redis.enums
Fields in com.blackrook.redis.enums with type parameters of type RedisObject Modifier and Type Field Description static ReturnType<RedisObject>
ReturnType. OBJECT
OBJECT return type. -
Uses of RedisObject in com.blackrook.redis.io
Methods in com.blackrook.redis.io that return RedisObject Modifier and Type Method Description RedisObject
RESPReader. readObject()
Reads a full Redis data structure as aRedisObject
.Methods in com.blackrook.redis.io with parameters of type RedisObject Modifier and Type Method Description void
RESPWriter. writeObject(RedisObject object)
Writes a full object that represents a Redis request.
-