Uses of Interface
org.springframework.data.redis.serializer.RedisSerializationContext
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 RedisSerializationContext in org.springframework.data.redis.core
Modifier and TypeMethodDescriptionReactiveRedisOperations.getSerializationContext()
ReactiveRedisTemplate.getSerializationContext()
Modifier and TypeMethodDescription<K,
V> ReactiveGeoOperations<K, V> ReactiveRedisOperations.opsForGeo
(RedisSerializationContext<K, V> serializationContext) Returns geospatial specific operations interface.<K1,
V1> ReactiveGeoOperations<K1, V1> ReactiveRedisTemplate.opsForGeo
(RedisSerializationContext<K1, V1> serializationContext) <K,
HK, HV> ReactiveHashOperations<K, HK, HV> ReactiveRedisOperations.opsForHash
(RedisSerializationContext<K, ?> serializationContext) Returns the operations performed on hash values given aRedisSerializationContext
.<K1,
HK, HV> ReactiveHashOperations<K1, HK, HV> ReactiveRedisTemplate.opsForHash
(RedisSerializationContext<K1, ?> serializationContext) <K,
V> ReactiveHyperLogLogOperations<K, V> ReactiveRedisOperations.opsForHyperLogLog
(RedisSerializationContext<K, V> serializationContext) Returns the operations performed on multisets using HyperLogLog given aRedisSerializationContext
.<K1,
V1> ReactiveHyperLogLogOperations<K1, V1> ReactiveRedisTemplate.opsForHyperLogLog
(RedisSerializationContext<K1, V1> serializationContext) <K,
V> ReactiveListOperations<K, V> ReactiveRedisOperations.opsForList
(RedisSerializationContext<K, V> serializationContext) Returns the operations performed on list values given aRedisSerializationContext
.<K1,
V1> ReactiveListOperations<K1, V1> ReactiveRedisTemplate.opsForList
(RedisSerializationContext<K1, V1> serializationContext) <K,
V> ReactiveSetOperations<K, V> ReactiveRedisOperations.opsForSet
(RedisSerializationContext<K, V> serializationContext) Returns the operations performed on set values given aRedisSerializationContext
.<K1,
V1> ReactiveSetOperations<K1, V1> ReactiveRedisTemplate.opsForSet
(RedisSerializationContext<K1, V1> serializationContext) <HK,
HV> ReactiveStreamOperations<K, HK, HV> ReactiveRedisOperations.opsForStream
(RedisSerializationContext<K, ?> serializationContext) Returns the operations performed on streams given aRedisSerializationContext
.<HK,
HV> ReactiveStreamOperations<K, HK, HV> ReactiveRedisTemplate.opsForStream
(RedisSerializationContext<K, ?> serializationContext) protected <HK,
HV> ReactiveStreamOperations<K, HK, HV> ReactiveRedisTemplate.opsForStream
(RedisSerializationContext<K, ?> serializationContext, HashMapper<? super K, ? super HK, ? super HV> hashMapper) <K,
V> ReactiveValueOperations<K, V> ReactiveRedisOperations.opsForValue
(RedisSerializationContext<K, V> serializationContext) Returns the operations performed on simple values (or Strings in Redis terminology) given aRedisSerializationContext
.<K1,
V1> ReactiveValueOperations<K1, V1> ReactiveRedisTemplate.opsForValue
(RedisSerializationContext<K1, V1> serializationContext) <K,
V> ReactiveZSetOperations<K, V> ReactiveRedisOperations.opsForZSet
(RedisSerializationContext<K, V> serializationContext) Returns the operations performed on zset values (also known as sorted sets) given aRedisSerializationContext
.<K1,
V1> ReactiveZSetOperations<K1, V1> ReactiveRedisTemplate.opsForZSet
(RedisSerializationContext<K1, V1> serializationContext) ModifierConstructorDescriptionReactiveRedisTemplate
(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<K, V> serializationContext) Creates newReactiveRedisTemplate
using givenReactiveRedisConnectionFactory
andRedisSerializationContext
.ReactiveRedisTemplate
(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<K, V> serializationContext, boolean exposeConnection) Creates newReactiveRedisTemplate
using givenReactiveRedisConnectionFactory
andRedisSerializationContext
.ReactiveStringRedisTemplate
(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<String, String> serializationContext) Creates newReactiveRedisTemplate
using givenReactiveRedisConnectionFactory
andRedisSerializationContext
.ReactiveStringRedisTemplate
(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<String, String> serializationContext, boolean exposeConnection) Creates newReactiveRedisTemplate
using givenReactiveRedisConnectionFactory
andRedisSerializationContext
. -
Uses of RedisSerializationContext in org.springframework.data.redis.core.script
ModifierConstructorDescriptionDefaultReactiveScriptExecutor
(ReactiveRedisConnectionFactory connectionFactory, RedisSerializationContext<K, ?> serializationContext) Creates a newDefaultReactiveScriptExecutor
givenReactiveRedisConnectionFactory
andRedisSerializationContext
. -
Uses of RedisSerializationContext in org.springframework.data.redis.serializer
Modifier and TypeMethodDescriptionRedisSerializationContext.RedisSerializationContextBuilder.build()
Builds aRedisSerializationContext
.static RedisSerializationContext<byte[],
byte[]> RedisSerializationContext.byteArray()
Creates a newRedisSerializationContext
using abyte[]
serialization.RedisSerializationContext.byteBuffer()
Creates a newRedisSerializationContext
using aByteBuffer
serialization.static <T> RedisSerializationContext<T,
T> RedisSerializationContext.fromSerializer
(RedisSerializer<T> serializer) Creates a newRedisSerializationContext
using the givenRedisSerializer
.static RedisSerializationContext<Object,
Object> RedisSerializationContext.java()
Creates a newRedisSerializationContext
using aJdkSerializationRedisSerializer
.static RedisSerializationContext<Object,
Object> RedisSerializationContext.java
(ClassLoader classLoader) Creates a newRedisSerializationContext
using aJdkSerializationRedisSerializer
with givenClassLoader
to resolvestype
of the keys and values stored in Redis.static <T> RedisSerializationContext<T,
T> RedisSerializationContext.just
(RedisSerializationContext.SerializationPair<T> serializationPair) Creates a newRedisSerializationContext
using the givenRedisSerializationContext.SerializationPair
.static RedisSerializationContext<byte[],
byte[]> RedisSerializationContext.raw()
Deprecated.since 2.2.static RedisSerializationContext<String,
String> RedisSerializationContext.string()
Creates a newRedisSerializationContext
using aStringRedisSerializer
. -
Uses of RedisSerializationContext in org.springframework.data.redis.stream
Modifier and TypeMethodDescription<T> StreamReceiver.StreamReceiverOptionsBuilder<T,
MapRecord<T, T, T>> StreamReceiver.StreamReceiverOptionsBuilder.serializer
(RedisSerializationContext<T, ?> serializationContext) Configure a key, hash key and hash value serializer.