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 StringRecord
static StringRecord
withStreamKey
(String key) Create a newStringRecord
with the associated stream key.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.springframework.data.redis.connection.stream.MapRecord
map, mapEntries, serialize, serialize, toObjectRecord, withStreamKey
Methods 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 newStringRecord
with 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
.
-