Uses of Interface
org.springframework.data.redis.serializer.RedisElementWriter
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 RedisElementWriter 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 RedisElementWriter in org.springframework.data.redis.core.script
Modifier and TypeMethodDescription<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.protected ByteBuffer[]
DefaultReactiveScriptExecutor.keysAndArgs
(RedisElementWriter argsWriter, List<K> keys, List<?> args) -
Uses of RedisElementWriter in org.springframework.data.redis.serializer
Modifier and TypeMethodDescriptionstatic <T> RedisElementWriter<T>
RedisElementWriter.from
(RedisSerializer<T> serializer) Create newRedisElementWriter
using givenRedisSerializer
.RedisSerializationContext.SerializationPair.getWriter()
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
.