Interface StringRecord
- All Superinterfaces:
Iterable<Map.Entry<String,,String>> MapRecord<String,,String, String> Record<String,Map<String, String>>
- Since:
- 2.2
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringRecordstatic StringRecordwithStreamKey(String key) Create a newStringRecordwith the associated stream key.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.springframework.data.redis.connection.stream.MapRecord
map, mapEntries, serialize, serialize, toObjectRecord, withStreamKeyMethods inherited from interface org.springframework.data.redis.connection.stream.Record
getId, getRequiredStream, getStream, getValue
-
Method Details
-
withId
Description copied from interface:Record -
withStreamKey
Create a newStringRecordwith the associated stream key.- Parameters:
key- the stream key.- Returns:
- a new
StringRecord.
-
of
- Parameters:
source- must not be null.- Returns:
- new instance of
StringRecord. - Since:
- 2.7
-
of
- Parameters:
source- must not be null.- Returns:
- new instance of
StringRecord.
-