Uses of Enum Class
org.springframework.data.redis.connection.ReturnType
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Connection package for Jedis library.
Connection package for Lettuce Redis client.
Lua script execution abstraction.
-
Uses of ReturnType in org.springframework.data.redis.connection
Modifier and TypeMethodDescriptionstatic ReturnType
ReturnType.fromJavaType
(Class<?> javaType) static ReturnType
Returns the enum constant of this class with the specified name.static ReturnType[]
ReturnType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault <T> T
DefaultedRedisConnection.eval
(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.<T> T
DefaultStringRedisConnection.eval
(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) <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> reactor.core.publisher.Flux<T>
ReactiveScriptingCommands.eval
(ByteBuffer script, ReturnType returnType, int numKeys, ByteBuffer... keysAndArgs) Evaluate givenscript
.<T> T
RedisScriptingCommands.eval
(byte[] script, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Evaluate givenscript
.<T> T
StringRedisConnection.eval
(String script, ReturnType returnType, int numKeys, String... keysAndArgs) Evaluate givenscript
.default <T> T
DefaultedRedisConnection.evalSha
(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands()
.default <T> T
DefaultedRedisConnection.evalSha
(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Deprecated.in favor ofRedisCommandsProvider.scriptingCommands()
.<T> T
DefaultStringRedisConnection.evalSha
(byte[] scriptSha1, ReturnType returnType, int numKeys, byte[]... keysAndArgs) <T> T
DefaultStringRedisConnection.evalSha
(String scriptSha1, ReturnType returnType, int numKeys, byte[]... keysAndArgs) <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> reactor.core.publisher.Flux<T>
ReactiveScriptingCommands.evalSha
(String scriptSha, ReturnType returnType, int numKeys, ByteBuffer... keysAndArgs) Evaluate givenscriptSha
.<T> T
RedisScriptingCommands.evalSha
(byte[] scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Evaluate givenscriptSha
.<T> T
RedisScriptingCommands.evalSha
(String scriptSha, ReturnType returnType, int numKeys, byte[]... keysAndArgs) Evaluate givenscriptSha
.<T> T
StringRedisConnection.evalSha
(String scriptSha, ReturnType returnType, int numKeys, String... keysAndArgs) Evaluate givenscriptSha
. -
Uses of ReturnType in org.springframework.data.redis.connection.jedis
-
Uses of ReturnType in org.springframework.data.redis.connection.lettuce
Modifier and TypeMethodDescriptionstatic io.lettuce.core.ScriptOutputType
LettuceConverters.toScriptOutputType
(ReturnType returnType) -
Uses of ReturnType in org.springframework.data.redis.core.script
Modifier and TypeMethodDescriptionprotected <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)
RedisCommandsProvider.scriptingCommands()
.