Interface ImmutableRecordBatch

All Superinterfaces:
Iterable<RecordBatchEntry>
All Known Subinterfaces:
MutableRecordBatch
All Known Implementing Classes:
RecordBatch

public interface ImmutableRecordBatch extends Iterable<RecordBatchEntry>
Represents an unmodifiable batch of records, which extends the Iterable<RecordBatchEntry> in order to make sure that the contained entries can be accessed.
  • Method Details

    • isEmpty

      default boolean isEmpty()
      Returns:
      true if no records to append
    • entries

      List<LogAppendEntry> entries()