Uses of Interface
org.springframework.data.redis.hash.HashMapper
Package
Description
Data structures and interfaces to interact with Redis Streams.
Core package for integrating Redis with Spring concepts.
Dedicated support package for Redis hashes.
-
Uses of HashMapper in org.springframework.data.redis.connection.stream
Modifier and TypeMethodDescriptionObjectRecord.toMapRecord
(HashMapper<? super V, HK, HV> mapper) Apply the givenHashMapper
to the backing value to create a newMapRecord
.default <OV> ObjectRecord<ByteBuffer,
OV> ByteBufferRecord.toObjectRecord
(HashMapper<? super OV, ? super ByteBuffer, ? super ByteBuffer> mapper) Convert a binaryMapRecord
into anObjectRecord
.default <OV> ObjectRecord<S,
OV> MapRecord.toObjectRecord
(HashMapper<? super OV, ? super K, ? super V> mapper) Apply the givenHashMapper
to the backing value to create a newMapRecord
. -
Uses of HashMapper in org.springframework.data.redis.core
Modifier and TypeMethodDescription<V> HashMapper<V,
HK, HV> HashMapperProvider.getHashMapper
(Class<V> targetType) Get theHashMapper
for a specific type.<V> HashMapper<V,
HK, HV> ReactiveStreamOperations.getHashMapper
(Class<V> targetType) Get theHashMapper
for a specific type.<V> HashMapper<V,
HK, HV> StreamOperations.getHashMapper
(Class<V> targetType) Get theHashMapper
for a specific type.Modifier and TypeMethodDescription<HK,
HV> ReactiveStreamOperations<K, HK, HV> ReactiveRedisOperations.opsForStream
(HashMapper<? super K, ? super HK, ? super HV> hashMapper) Returns the operations performed on streams.<HK,
HV> ReactiveStreamOperations<K, HK, HV> ReactiveRedisTemplate.opsForStream
(HashMapper<? super K, ? super HK, ? super HV> hashMapper) protected <HK,
HV> ReactiveStreamOperations<K, HK, HV> ReactiveRedisTemplate.opsForStream
(RedisSerializationContext<K, ?> serializationContext, HashMapper<? super K, ? super HK, ? super HV> hashMapper) <HK,
HV> StreamOperations<K, HK, HV> RedisOperations.opsForStream
(HashMapper<? super K, ? super HK, ? super HV> hashMapper) Returns the operations performed on Streams.<HK,
HV> StreamOperations<K, HK, HV> RedisTemplate.opsForStream
(HashMapper<? super K, ? super HK, ? super HV> hashMapper) -
Uses of HashMapper in org.springframework.data.redis.hash
Modifier and TypeClassDescriptionclass
HashMapper based on Apache Commons BeanUtils project.class
Delegating hash mapper used for flattening objects into Strings.class
ObjectMapper
basedHashMapper
implementation that allows flattening.class
HashMapper
based onMappingRedisConverter
. -
Uses of HashMapper in org.springframework.data.redis.stream
Modifier and TypeMethodDescriptionStreamMessageListenerContainer.StreamMessageListenerContainerOptions.getHashMapper()
StreamReceiver.StreamReceiverOptions.getHashMapper()
StreamMessageListenerContainer.StreamMessageListenerContainerOptions.getRequiredHashMapper()
StreamReceiver.StreamReceiverOptions.getRequiredHashMapper()
Modifier and TypeMethodDescriptionstatic <T> StreamReceiver.StreamReceiverOptionsBuilder<String,
ObjectRecord<String, T>> StreamReceiver.StreamReceiverOptions.builder
(HashMapper<T, byte[], byte[]> hashMapper) <NV> StreamMessageListenerContainer.StreamMessageListenerContainerOptionsBuilder<K,
ObjectRecord<K, NV>> StreamMessageListenerContainer.StreamMessageListenerContainerOptionsBuilder.objectMapper
(HashMapper<NV, ?, ?> hashMapper) Configure a hash mapper.StreamReceiver.StreamReceiverOptionsBuilder.objectMapper
(HashMapper<NV, ?, ?> hashMapper) Configure a hash mapper.