Package io.deephaven.extensions.barrage
Class BarrageMessageWriterImpl.SnapshotView
java.lang.Object
io.deephaven.extensions.barrage.BarrageMessageWriterImpl.SnapshotView
- All Implemented Interfaces:
BarrageMessageWriter.MessageView,BarrageMessageWriterImpl.RecordBatchMessageView
- Enclosing class:
BarrageMessageWriterImpl
protected class BarrageMessageWriterImpl.SnapshotView
extends Object
implements BarrageMessageWriterImpl.RecordBatchMessageView
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSnapshotView(BarrageSnapshotOptions options, @Nullable RowSet viewport, boolean reverseViewport, @Nullable RowSet keyspaceViewport, @Nullable BitSet subscribedColumns, @Nullable DictionaryWriterRegistry dictionaryRegistry) -
Method Summary
Modifier and TypeMethodDescription@Nullable DictionaryWriterRegistryReturns theDictionaryWriterRegistryfor this stream, ornullif no columns use dictionary encoding.voidforEachStream(Consumer<DefensiveDrainable> visitor) protected ByteBuffermodRowOffsets(int col) options()
-
Constructor Details
-
SnapshotView
protected SnapshotView(BarrageSnapshotOptions options, @Nullable @Nullable RowSet viewport, boolean reverseViewport, @Nullable @Nullable RowSet keyspaceViewport, @Nullable @Nullable BitSet subscribedColumns, @Nullable @Nullable DictionaryWriterRegistry dictionaryRegistry)
-
-
Method Details
-
dictionaryRegistry
Description copied from interface:BarrageMessageWriterImpl.RecordBatchMessageViewReturns 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.- Specified by:
dictionaryRegistryin interfaceBarrageMessageWriterImpl.RecordBatchMessageView
-
forEachStream
- Specified by:
forEachStreamin interfaceBarrageMessageWriter.MessageView- Throws:
IOException
-
options
- Specified by:
optionsin interfaceBarrageMessageWriterImpl.RecordBatchMessageView
-
addRowOffsets
- Specified by:
addRowOffsetsin interfaceBarrageMessageWriterImpl.RecordBatchMessageView
-
modRowOffsets
- Specified by:
modRowOffsetsin interfaceBarrageMessageWriterImpl.RecordBatchMessageView
-
getSnapshotMetadata
- Throws:
IOException
-