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.jredis |
Connection package for JRedis library.
|
org.springframework.data.redis.connection.lettuce |
Connection package for Lettuce Redis client.
|
org.springframework.data.redis.connection.srp |
Connection package for spullara Redis Protocol library.
|
org.springframework.data.redis.core.script |
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 |
DefaultStringRedisConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
RedisScriptingCommands.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... 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 |
StringRedisConnection.eval(String script,
ReturnType returnType,
int numKeys,
String... keysAndArgs)
Evaluate given
script . |
<T> T |
DefaultStringRedisConnection.evalSha(byte[] scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
RedisScriptingCommands.evalSha(byte[] scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Evaluate given
scriptSha . |
<T> T |
DefaultStringRedisConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
RedisScriptingCommands.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
byte[]... 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.
|
<T> T |
StringRedisConnection.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
String... keysAndArgs)
Evaluate given
scriptSha . |
Modifier and Type | Method and Description |
---|---|
<T> T |
JedisConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
JedisClusterConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
JedisConnection.evalSha(byte[] scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
JedisClusterConnection.evalSha(byte[] scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
JedisConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
JedisClusterConnection.evalSha(String scriptSha,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
Constructor and Description |
---|
JedisScriptReturnConverter(ReturnType returnType) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JredisConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
|
<T> T |
JredisConnection.evalSha(byte[] scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
|
<T> T |
JredisConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
LettuceConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
LettuceConnection.evalSha(byte[] scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
<T> T |
LettuceConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs) |
static com.lambdaworks.redis.ScriptOutputType |
LettuceConverters.toScriptOutputType(ReturnType returnType) |
Modifier and Type | Method and Description |
---|---|
<T> T |
SrpConnection.eval(byte[] script,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
|
<T> T |
SrpConnection.evalSha(byte[] scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
|
<T> T |
SrpConnection.evalSha(String scriptSha1,
ReturnType returnType,
int numKeys,
byte[]... keysAndArgs)
Deprecated.
|
Constructor and Description |
---|
SrpScriptReturnConverter(ReturnType returnType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected <T> T |
DefaultScriptExecutor.eval(RedisConnection connection,
RedisScript<T> script,
ReturnType returnType,
int numKeys,
byte[][] keysAndArgs,
RedisSerializer<T> resultSerializer) |
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.