Uses of Interface
org.springframework.data.redis.core.script.RedisScript
Package
Description
Core package for integrating Redis with Spring concepts.
Lua script execution abstraction.
-
Uses of RedisScript in org.springframework.data.redis.core
Modifier and TypeMethodDescriptiondefault <T> reactor.core.publisher.Flux<T>
ReactiveRedisOperations.execute
(RedisScript<T> script) Executes the givenRedisScript
.default <T> reactor.core.publisher.Flux<T>
ReactiveRedisOperations.execute
(RedisScript<T> script, List<K> keys) Executes the givenRedisScript
.<T> reactor.core.publisher.Flux<T>
ReactiveRedisOperations.execute
(RedisScript<T> script, List<K> keys, List<?> args) Executes the givenRedisScript
<T> reactor.core.publisher.Flux<T>
ReactiveRedisOperations.execute
(RedisScript<T> script, List<K> keys, List<?> args, RedisElementWriter<?> argsWriter, RedisElementReader<T> resultReader) Executes the givenRedisScript
, using the providedRedisSerializer
s to serialize the script arguments and result.<T> reactor.core.publisher.Flux<T>
ReactiveRedisTemplate.execute
(RedisScript<T> script, List<K> keys, List<?> args) <T> reactor.core.publisher.Flux<T>
ReactiveRedisTemplate.execute
(RedisScript<T> script, List<K> keys, List<?> args, RedisElementWriter<?> argsWriter, RedisElementReader<T> resultReader) <T> T
RedisOperations.execute
(RedisScript<T> script, List<K> keys, Object... args) Executes the givenRedisScript
<T> T
RedisOperations.execute
(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSerializer<T> resultSerializer, List<K> keys, Object... args) Executes the givenRedisScript
, using the providedRedisSerializer
s to serialize the script arguments and result.<T> T
RedisTemplate.execute
(RedisScript<T> script, List<K> keys, Object... args) <T> T
RedisTemplate.execute
(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSerializer<T> resultSerializer, List<K> keys, Object... args) -
Uses of RedisScript in org.springframework.data.redis.core.script
Modifier and TypeMethodDescriptionstatic <T> RedisScript<T>
static <T> RedisScript<T>
static <T> RedisScript<T>
RedisScript.of
(org.springframework.core.io.Resource resource) Creates newRedisScript
(with throw away result) from the givenResource
.static <T> RedisScript<T>
Creates newRedisScript
fromResource
.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) <T> reactor.core.publisher.Flux<T>
DefaultReactiveScriptExecutor.execute
(RedisScript<T> script, List<K> keys, List<?> args) <T> reactor.core.publisher.Flux<T>
DefaultReactiveScriptExecutor.execute
(RedisScript<T> script, List<K> keys, List<?> args, RedisElementWriter<?> argsWriter, RedisElementReader<T> resultReader) <T> T
DefaultScriptExecutor.execute
(RedisScript<T> script, List<K> keys, Object... args) <T> T
DefaultScriptExecutor.execute
(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSerializer<T> resultSerializer, List<K> keys, Object... args) default <T> reactor.core.publisher.Flux<T>
ReactiveScriptExecutor.execute
(RedisScript<T> script) Execute the givenRedisScript
default <T> reactor.core.publisher.Flux<T>
ReactiveScriptExecutor.execute
(RedisScript<T> script, List<K> keys) Execute the givenRedisScript
<T> reactor.core.publisher.Flux<T>
ReactiveScriptExecutor.execute
(RedisScript<T> script, List<K> keys, List<?> args) Executes the givenRedisScript
<T> reactor.core.publisher.Flux<T>
ReactiveScriptExecutor.execute
(RedisScript<T> script, List<K> keys, List<?> args, RedisElementWriter<?> argsWriter, RedisElementReader<T> resultReader) Executes the givenRedisScript
, using the providedRedisSerializer
s to serialize the script arguments and result.<T> T
ScriptExecutor.execute
(RedisScript<T> script, List<K> keys, Object... args) Executes the givenRedisScript
<T> T
ScriptExecutor.execute
(RedisScript<T> script, RedisSerializer<?> argsSerializer, RedisSerializer<T> resultSerializer, List<K> keys, Object... args) Executes the givenRedisScript
, using the providedRedisSerializer
s to serialize the script arguments and result.protected ByteBuffer
DefaultReactiveScriptExecutor.scriptBytes
(RedisScript<?> script) protected byte[]
DefaultScriptExecutor.scriptBytes
(RedisScript<?> script)