Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.connection.jedis |
Connection package for Jedis library.
|
org.springframework.data.redis.connection.lettuce |
Connection package for Lettuce Redis client.
|
org.springframework.data.redis.core.script |
Lua script execution abstraction.
|
Modifier and Type | Method and Description |
---|---|
static ReturnType |
ReturnType.fromJavaType(Class<?> javaType) |
static ReturnType |
ReturnType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnType[] |
ReturnType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
RedisScriptingCommands.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
script . |
default <T> T |
DefaultedRedisConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
in favor of
RedisConnection.scriptingCommands() . |
<T> T |
DefaultStringRedisConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> reactor.core.publisher.Flux<T> |
ReactiveScriptingCommands.eval(ByteBuffer script,
ReturnType returnType,
int numKeys,
ByteBuffer... keysAndArgs)
Evaluate given
script . |
<T> T |
StringRedisConnection.eval(String script,
ReturnType returnType,
int numKeys,
String... keysAndArgs)
Evaluate given
script . |
<T> T |
DefaultStringRedisConnection.eval(String script,
ReturnType returnType,
int numKeys,
String... keysAndArgs)
NOTE: This method will not deserialize Strings returned by Lua scripts, as they may not be encoded with the same
serializer used here.
|
<T> T |
RedisScriptingCommands.evalSha(byte[] scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
scriptSha . |
default <T> T |
DefaultedRedisConnection.evalSha(byte[] scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
in favor of
RedisConnection.scriptingCommands() . |
<T> T |
DefaultStringRedisConnection.evalSha(byte[] scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
RedisScriptingCommands.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
scriptSha . |
default <T> T |
DefaultedRedisConnection.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
in favor of
RedisConnection.scriptingCommands() . |
<T> T |
DefaultStringRedisConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> reactor.core.publisher.Flux<T> |
ReactiveScriptingCommands.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
ByteBuffer... keysAndArgs)
Evaluate given
scriptSha . |
<T> T |
StringRedisConnection.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
String... keysAndArgs)
Evaluate given
scriptSha . |
<T> T |
DefaultStringRedisConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
String... keysAndArgs)
NOTE: This method will not deserialize Strings returned by Lua scripts, as they may not be encoded with the same
serializer used here.
|
Constructor and Description |
---|
JedisScriptReturnConverter(ReturnType returnType) |
Modifier and Type | Method and Description |
---|---|
static io.lettuce.core.ScriptOutputType |
LettuceConverters.toScriptOutputType(ReturnType returnType) |
Modifier and Type | Method and Description |
---|---|
protected <T> reactor.core.publisher.Flux<T> |
DefaultReactiveScriptExecutor.eval(ReactiveRedisConnection connection,
RedisScript<T> script,
ReturnType returnType,
int numKeys,
ByteBuffer[] keysAndArgs,
RedisElementReader<T> resultReader) |
protected <T> T |
DefaultScriptExecutor.eval(RedisConnection connection,
RedisScript<T> script,
ReturnType returnType,
int numKeys,
byte[][] keysAndArgs,
RedisSerializer<T> resultSerializer) |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.