Uses of Interface
org.springframework.data.redis.connection.stream.ObjectRecord
Packages that use ObjectRecord
Package
Description
Data structures and interfaces to interact with Redis Streams.
Core package for integrating Redis with Spring concepts.
-
Uses of ObjectRecord in org.springframework.data.redis.connection.stream
Methods in org.springframework.data.redis.connection.stream that return ObjectRecordModifier and TypeMethodDescriptionstatic <S,V> ObjectRecord <S, V> ObjectRecord.create(S stream, V value) static <S,V> ObjectRecord <S, V> StreamRecords.objectBacked(V value) Create newObjectRecordbacked by the given value.static <S,V> ObjectRecord <S, V> Record.of(V value) Create a newObjectRecordinstance backed by the given value.<V> ObjectRecord<S, V> StreamRecords.RecordBuilder.ofObject(V value) Create anObjectRecord.default <OV> ObjectRecord<ByteBuffer, OV> ByteBufferRecord.toObjectRecord(HashMapper<? super OV, ? super ByteBuffer, ? super ByteBuffer> mapper) Convert a binaryMapRecordinto anObjectRecord.default <OV> ObjectRecord<S, OV> MapRecord.toObjectRecord(HashMapper<? super OV, ? super K, ? super V> mapper) Apply the givenHashMapperto the backing value to create a newMapRecord.<SK> ObjectRecord<SK, V> ObjectRecord.withStreamKey(SK key) -
Uses of ObjectRecord in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core that return ObjectRecordModifier and TypeMethodDescriptiondefault <V> ObjectRecord<K, V> Map records fromMapRecordtoObjectRecord.default <V> ObjectRecord<K, V> Map record fromMapRecordtoObjectRecord.Methods in org.springframework.data.redis.core that return types with arguments of type ObjectRecordModifier and TypeMethodDescriptiondefault <V> List<@NonNull ObjectRecord<K, V>> StreamOperations.map(@NonNull List<@NonNull MapRecord<K, HK, HV>> records, @NonNull Class<V> targetType) Map records fromMapRecordtoObjectRecords.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.range(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range) Read all records from a stream within a specificRange.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.range(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) default <V> List<@NonNull ObjectRecord<K, V>> Read all records from a stream within a specificRangeasObjectRecord.default <V> List<@NonNull ObjectRecord<K, V>> StreamOperations.range(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamOffset<K> stream) Read records from aStreamOffsetasObjectRecord.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamOffset<K>... streams) Read records from one or moreStreamOffsets asObjectRecord.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.default <V> List<ObjectRecord<K, V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> List<ObjectRecord<K, V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> List<@NonNull ObjectRecord<K, V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.default <V> List<@NonNull ObjectRecord<K, V>> StreamOperations.read(@NonNull Class<V> targetType, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.reverseRange(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range) Read records from a stream within a specificRangein reverse order asObjectRecord.default <V> Flux<ObjectRecord<K, V>> ReactiveStreamOperations.reverseRange(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) Read records from a stream within a specificRangeapplying aLimitin reverse order asObjectRecord.default <V> List<@NonNull ObjectRecord<K, V>> StreamOperations.reverseRange(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range) Read records from a stream within a specificRangein reverse order asObjectRecord.default <V> List<@NonNull ObjectRecord<K, V>> StreamOperations.reverseRange(@NonNull Class<V> targetType, @NonNull K key, @NonNull Range<String> range, @NonNull Limit limit) Read records from a stream within a specificRangeapplying aLimitin reverse order asObjectRecord. -
Uses of ObjectRecord in org.springframework.data.redis.stream
Methods in org.springframework.data.redis.stream that return types with arguments of type ObjectRecordModifier 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.<NV> StreamMessageListenerContainer.StreamMessageListenerContainerOptionsBuilder<K, ObjectRecord<K, NV>> StreamMessageListenerContainer.StreamMessageListenerContainerOptionsBuilder.targetType(Class<NV> targetType) Configure a hash target type.StreamReceiver.StreamReceiverOptionsBuilder.targetType(Class<NV> targetType) Configure a hash target type.