Uses of Interface
org.springframework.data.redis.serializer.RedisSerializationContext.SerializationPair
Package
Description
Package providing a Redis implementation for Spring
cache
abstraction.
Lua script execution abstraction.
Base package for Redis message listener / pubsub container facility
Serialization/Deserialization package for converting Object to (and from) binary data.
-
Uses of RedisSerializationContext.SerializationPair in org.springframework.data.redis.cache
Modifier and TypeMethodDescriptionRedisCacheConfiguration.getKeySerializationPair()
RedisCacheConfiguration.getValueSerializationPair()
Modifier and TypeMethodDescriptionRedisCacheConfiguration.serializeKeysWith
(RedisSerializationContext.SerializationPair<String> keySerializationPair) Define theRedisSerializationContext.SerializationPair
used for de-/serializing cache keys.RedisCacheConfiguration.serializeValuesWith
(RedisSerializationContext.SerializationPair<?> valueSerializationPair) Define theRedisSerializationContext.SerializationPair
used for de-/serializing cache values. -
Uses of RedisSerializationContext.SerializationPair in org.springframework.data.redis.core.script
Modifier and TypeMethodDescriptionprotected RedisSerializationContext.SerializationPair<K>
DefaultReactiveScriptExecutor.keySerializer()
-
Uses of RedisSerializationContext.SerializationPair in org.springframework.data.redis.listener
Modifier and TypeMethodDescription<C,
B> reactor.core.publisher.Flux<ReactiveSubscription.Message<C, B>> ReactiveRedisMessageListenerContainer.receive
(Iterable<? extends Topic> topics, RedisSerializationContext.SerializationPair<C> channelSerializer, RedisSerializationContext.SerializationPair<B> messageSerializer) Subscribe to one or moreTopic
s and receive a stream ofReactiveSubscription.ChannelMessage
.<C,
B> reactor.core.publisher.Flux<ReactiveSubscription.Message<C, B>> ReactiveRedisMessageListenerContainer.receive
(Iterable<? extends Topic> topics, RedisSerializationContext.SerializationPair<C> channelSerializer, RedisSerializationContext.SerializationPair<B> messageSerializer, SubscriptionListener subscriptionListener) Subscribe to one or moreTopic
s and receive a stream ofReactiveSubscription.ChannelMessage
.<C,
B> reactor.core.publisher.Mono<reactor.core.publisher.Flux<ReactiveSubscription.Message<C, B>>> ReactiveRedisMessageListenerContainer.receiveLater
(Iterable<? extends Topic> topics, RedisSerializationContext.SerializationPair<C> channelSerializer, RedisSerializationContext.SerializationPair<B> messageSerializer) Subscribe to one or moreTopic
s and receive a stream ofReactiveSubscription.ChannelMessage
. -
Uses of RedisSerializationContext.SerializationPair in org.springframework.data.redis.serializer
Modifier and TypeMethodDescriptionstatic RedisSerializationContext.SerializationPair<byte[]>
RedisSerializationContext.SerializationPair.byteArray()
Creates a pass throughRedisSerializationContext.SerializationPair
to pass-thrubyte
objects.RedisSerializationContext.SerializationPair.byteBuffer()
Creates a pass throughRedisSerializationContext.SerializationPair
to pass-thruByteBuffer
objects.static <T> RedisSerializationContext.SerializationPair<T>
RedisSerializationContext.SerializationPair.fromSerializer
(RedisSerializer<T> serializer) Creates aRedisSerializationContext.SerializationPair
adapter givenRedisSerializer
.RedisSerializationContext.getHashKeySerializationPair()
RedisSerializationContext.getHashValueSerializationPair()
RedisSerializationContext.getKeySerializationPair()
RedisSerializationContext.getStringSerializationPair()
RedisSerializationContext.getValueSerializationPair()
static <T> RedisSerializationContext.SerializationPair<T>
RedisSerializationContext.SerializationPair.just
(RedisElementReader<? extends T> reader, RedisElementWriter<? extends T> writer) Creates aRedisSerializationContext.SerializationPair
adapter givenRedisElementReader
andRedisElementWriter
.static <T> RedisSerializationContext.SerializationPair<T>
RedisSerializationContext.SerializationPair.raw()
Deprecated.since 2.2.Modifier and TypeMethodDescriptionRedisSerializationContext.RedisSerializationContextBuilder.hashKey
(RedisSerializationContext.SerializationPair<?> pair) Set the hash keyRedisSerializationContext.SerializationPair
.RedisSerializationContext.RedisSerializationContextBuilder.hashValue
(RedisSerializationContext.SerializationPair<?> pair) Set the hash valueRedisSerializationContext.SerializationPair
.static <T> RedisSerializationContext<T,
T> RedisSerializationContext.just
(RedisSerializationContext.SerializationPair<T> serializationPair) Creates a newRedisSerializationContext
using the givenRedisSerializationContext.SerializationPair
.RedisSerializationContext.RedisSerializationContextBuilder.key
(RedisSerializationContext.SerializationPair<K> pair) Set the keyRedisSerializationContext.SerializationPair
.static <K,
V> RedisSerializationContext.RedisSerializationContextBuilder<K, V> RedisSerializationContext.newSerializationContext
(RedisSerializationContext.SerializationPair<?> serializationPair) Creates a newRedisSerializationContext.RedisSerializationContextBuilder
using a given defaultRedisSerializationContext.SerializationPair
.RedisSerializationContext.RedisSerializationContextBuilder.string
(RedisSerializationContext.SerializationPair<String> pair) Set the stringRedisSerializationContext.SerializationPair
.RedisSerializationContext.RedisSerializationContextBuilder.value
(RedisSerializationContext.SerializationPair<V> pair) Set the valueRedisSerializationContext.SerializationPair
. -
Uses of RedisSerializationContext.SerializationPair in org.springframework.data.redis.stream
Modifier and TypeMethodDescriptionStreamReceiver.StreamReceiverOptions.getHashKeySerializer()
StreamReceiver.StreamReceiverOptions.getHashValueSerializer()
StreamReceiver.StreamReceiverOptions.getKeySerializer()
Modifier and TypeMethodDescription<HK,
HV> StreamReceiver.StreamReceiverOptionsBuilder<K, MapRecord<K, HK, HV>> StreamReceiver.StreamReceiverOptionsBuilder.hashKeySerializer
(RedisSerializationContext.SerializationPair<HK> pair) Configure a hash key serializer.<HK,
HV> StreamReceiver.StreamReceiverOptionsBuilder<K, MapRecord<K, HK, HV>> StreamReceiver.StreamReceiverOptionsBuilder.hashValueSerializer
(RedisSerializationContext.SerializationPair<HV> pair) Configure a hash value serializer.<NK,
NV extends Record<NK, ?>>
StreamReceiver.StreamReceiverOptionsBuilder<NK,NV> StreamReceiver.StreamReceiverOptionsBuilder.keySerializer
(RedisSerializationContext.SerializationPair<NK> pair) Configure a key serializer.<T> StreamReceiver.StreamReceiverOptionsBuilder<T,
MapRecord<T, T, T>> StreamReceiver.StreamReceiverOptionsBuilder.serializer
(RedisSerializationContext.SerializationPair<T> pair) Configure a key, hash key and hash value serializer.