Interface ImmutableRecordBatch
- All Superinterfaces:
Iterable<RecordBatchEntry>
- All Known Subinterfaces:
MutableRecordBatch
- All Known Implementing Classes:
RecordBatch
Represents an unmodifiable batch of records, which extends the
Iterable<RecordBatchEntry>
in order to make sure that the contained entries can be accessed.-
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
isEmpty
default boolean isEmpty()- Returns:
- true if no records to append
-
entries
List<LogAppendEntry> entries()
-