Uses of Interface
org.springframework.data.redis.serializer.RedisElementReader
Package
Description
Core package for integrating Redis with Spring concepts.
Lua script execution abstraction.
Serialization/Deserialization package for converting Object to (and from) binary data.
-
Uses of RedisElementReader in org.springframework.data.redis.core
Modifier and TypeMethodDescription<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, RedisElementWriter<?> argsWriter, RedisElementReader<T> resultReader) -
Uses of RedisElementReader in org.springframework.data.redis.core.script
Modifier and TypeMethodDescriptionprotected <T> reactor.core.publisher.Flux<T>
DefaultReactiveScriptExecutor.deserializeResult
(RedisElementReader<T> reader, reactor.core.publisher.Flux<T> result) protected <T> reactor.core.publisher.Flux<T>
DefaultReactiveScriptExecutor.eval
(ReactiveRedisConnection connection, RedisScript<T> script, ReturnType returnType, int numKeys, ByteBuffer[] keysAndArgs, RedisElementReader<T> resultReader) <T> reactor.core.publisher.Flux<T>
DefaultReactiveScriptExecutor.execute
(RedisScript<T> script, List<K> keys, List<?> args, RedisElementWriter<?> argsWriter, RedisElementReader<T> resultReader) <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. -
Uses of RedisElementReader in org.springframework.data.redis.serializer
Modifier and TypeMethodDescriptionstatic <T> RedisElementReader<T>
RedisElementReader.from
(RedisSerializer<T> serializer) Create newRedisElementReader
using givenRedisSerializer
.RedisSerializationContext.SerializationPair.getReader()
Modifier and TypeMethodDescriptionRedisSerializationContext.RedisSerializationContextBuilder.hashKey
(RedisElementReader<?> reader, RedisElementWriter<?> writer) Set the hash keyRedisElementReader
andRedisElementWriter
.RedisSerializationContext.RedisSerializationContextBuilder.hashValue
(RedisElementReader<?> reader, RedisElementWriter<?> writer) Set the hash valueRedisElementReader
andRedisElementWriter
.static <T> RedisSerializationContext.SerializationPair<T>
RedisSerializationContext.SerializationPair.just
(RedisElementReader<? extends T> reader, RedisElementWriter<? extends T> writer) Creates aRedisSerializationContext.SerializationPair
adapter givenRedisElementReader
andRedisElementWriter
.RedisSerializationContext.RedisSerializationContextBuilder.key
(RedisElementReader<K> reader, RedisElementWriter<K> writer) Set the keyRedisElementReader
andRedisElementWriter
.RedisSerializationContext.RedisSerializationContextBuilder.string
(RedisElementReader<String> reader, RedisElementWriter<String> writer) Set the stringRedisElementReader
andRedisElementWriter
.RedisSerializationContext.RedisSerializationContextBuilder.value
(RedisElementReader<V> reader, RedisElementWriter<V> writer) Set the valueRedisElementReader
andRedisElementWriter
.