Package | Description |
---|---|
io.vertx.reactivex.redis.client | |
io.vertx.redis.client | |
io.vertx.rxjava.redis.client | |
io.vertx.rxjava3.redis.client |
Modifier and Type | Method and Description |
---|---|
Request |
Request.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Request |
Request.newInstance(Request arg) |
Constructor and Description |
---|
Request(Request delegate) |
Modifier and Type | Method and Description |
---|---|
Request |
Request.arg(boolean arg)
Adds a boolean encoded to string
|
Request |
Request.arg(Buffer arg)
Adds a String key argument
|
default Request |
Request.arg(byte arg)
Adds a byte encoded to string
|
Request |
Request.arg(byte[] arg)
Adds a byte array
|
default Request |
Request.arg(double arg)
Adds a double encoded to string
|
default Request |
Request.arg(float arg)
Adds a float encoded to string
|
default Request |
Request.arg(int arg)
Adds a int encoded to string
|
default Request |
Request.arg(JsonArray arg)
Adds a JsonArray argument, the encoding will serialize the json as value0, value1, ...
|
default Request |
Request.arg(JsonObject arg)
Adds a JsonObject argument, the encoding will serialize the json as key0, value0, key1, value1, ...
|
Request |
Request.arg(long arg)
Adds a long encoded to string
|
default Request |
Request.arg(short arg)
Adds a short encoded to string
|
default Request |
Request.arg(String arg)
Adds a String argument using UTF8 character encoding
|
default Request |
Request.arg(String arg,
String enc)
Adds a String using a specific character encoding argument
|
static Request |
Request.cmd(Command command)
Creates a new request command.
|
static Request |
Request.cmd(Command command,
Object... args)
|
Request |
Request.nullArg()
Deprecated.
REDIS does not support
null as a parameter, only as response. This was a deviation from the
official protocol which should be avoided. Other clients explicitly do not allow this.
Adds a null encoded string. Redis does not allow storing the null value by itself. This method
will encode any null value as the four character long string "null" .
As a recommendation, this method should not be used directly unless this is the intented behavior. It is present
to handle special cases such as encoding of JsonObject and JsonArray which may contain null values. |
Modifier and Type | Method and Description |
---|---|
Future<List<List<Request>>> |
RedisCluster.groupByNodes(List<Request> requests)
Groups the
requests such that all requests in each inner list in the result
are guaranteed to be sent to the same Redis master node. |
Modifier and Type | Method and Description |
---|---|
Future<List<Response>> |
RedisCluster.onAllMasterNodes(Request request)
Runs the
request against all master nodes in the cluster. |
Future<List<Response>> |
RedisCluster.onAllNodes(Request request)
Runs the
request against all nodes in the cluster. |
Future<Response> |
Redis.send(Request command)
Send the given command to the redis server or cluster.
|
Future<Response> |
RedisConnection.send(Request command)
Send the given command to the redis server or cluster.
|
default Redis |
Redis.send(Request command,
Handler<AsyncResult<Response>> onSend)
Send the given command to the redis server or cluster.
|
default RedisConnection |
RedisConnection.send(Request command,
Handler<AsyncResult<Response>> onSend)
Send the given command to the redis server or cluster.
|
Modifier and Type | Method and Description |
---|---|
Future<List<Response>> |
Redis.batch(List<Request> commands)
Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other
client users.
|
Future<List<Response>> |
RedisConnection.batch(List<Request> commands)
Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other
client users.
|
default Redis |
Redis.batch(List<Request> commands,
Handler<AsyncResult<List<Response>>> onSend)
Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other
client users.
|
default RedisConnection |
RedisConnection.batch(List<Request> commands,
Handler<AsyncResult<List<Response>>> onSend)
Sends a list of commands in a single IO operation, this prevents any inter twinning to happen from other
client users.
|
Future<List<List<Request>>> |
RedisCluster.groupByNodes(List<Request> requests)
Groups the
requests such that all requests in each inner list in the result
are guaranteed to be sent to the same Redis master node. |
Modifier and Type | Method and Description |
---|---|
Request |
Request.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Request |
Request.newInstance(Request arg) |
Constructor and Description |
---|
Request(Request delegate) |
Modifier and Type | Method and Description |
---|---|
Request |
Request.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static Request |
Request.newInstance(Request arg) |
Constructor and Description |
---|
Request(Request delegate) |
Copyright © 2024 Eclipse. All rights reserved.