Package io.deephaven.extensions.barrage
Interface BarrageMessageWriterImpl.RecordBatchMessageView
- All Superinterfaces:
BarrageMessageWriter.MessageView
- All Known Implementing Classes:
BarrageMessageWriterImpl.SnapshotView,BarrageMessageWriterImpl.SubView
- Enclosing class:
BarrageMessageWriterImpl
public static interface BarrageMessageWriterImpl.RecordBatchMessageView
extends BarrageMessageWriter.MessageView
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable DictionaryWriterRegistryReturns theDictionaryWriterRegistryfor this stream, ornullif no columns use dictionary encoding.booleanisColumnIncluded(int col) Whether this view writes the data of columncol.modRowOffsets(int col) options()Methods inherited from interface io.deephaven.extensions.barrage.BarrageMessageWriter.MessageView
forEachStream
-
Method Details
-
options
BarrageOptions options() -
addRowOffsets
RowSet addRowOffsets() -
modRowOffsets
-
isColumnIncluded
boolean isColumnIncluded(int col) Whether this view writes the data of columncol. A column the view leaves out still gets a field node in every batch, as the schema requires, but no rows: it is written as if the message held no data for it.- Parameters:
col- the column's index in the message- Returns:
- whether the view writes the column's added and modified rows
-
dictionaryRegistry
Returns theDictionaryWriterRegistryfor this stream, ornullif no columns use dictionary encoding. The manager is shared across all batches of the same stream so thatDictionaryWriterStateinstances survive across batch boundaries.
-