Class VectorChunkInputStreamGenerator
java.lang.Object
io.deephaven.util.referencecounting.ReferenceCounted
io.deephaven.extensions.barrage.chunk.BaseChunkInputStreamGenerator<ObjectChunk<Vector<?>,Values>>
io.deephaven.extensions.barrage.chunk.VectorChunkInputStreamGenerator
- All Implemented Interfaces:
LogOutputAppendable
,ChunkInputStreamGenerator
,SafeCloseable
,AutoCloseable
public class VectorChunkInputStreamGenerator
extends BaseChunkInputStreamGenerator<ObjectChunk<Vector<?>,Values>>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.extensions.barrage.chunk.BaseChunkInputStreamGenerator
BaseChunkInputStreamGenerator.SerContext
Nested classes/interfaces inherited from interface io.deephaven.extensions.barrage.chunk.ChunkInputStreamGenerator
ChunkInputStreamGenerator.BufferListener, ChunkInputStreamGenerator.DrainableColumn, ChunkInputStreamGenerator.Factory, ChunkInputStreamGenerator.FieldNodeInfo, ChunkInputStreamGenerator.FieldNodeListener
-
Field Summary
Fields inherited from class io.deephaven.extensions.barrage.chunk.BaseChunkInputStreamGenerator
chunk, elementSize, PADDING_BUFFER, REMAINDER_MOD_8_MASK
Fields inherited from interface io.deephaven.extensions.barrage.chunk.ChunkInputStreamGenerator
MAX_LOCAL_DATE_VALUE, MIN_LOCAL_DATE_VALUE, MS_PER_DAY
-
Method Summary
Modifier and TypeMethodDescriptiongetInputStream
(StreamReaderOptions options, @Nullable RowSet subset) Get an input stream optionally position-space filtered using the provided RowSet.protected void
Callback method that will be invoked when the reference count returns to zero.Methods inherited from class io.deephaven.extensions.barrage.chunk.BaseChunkInputStreamGenerator
close, getLastRowOffset, getNumLongsForBitPackOfSize, getRowOffset, getValidityMapSerializationSizeFor
Methods inherited from class io.deephaven.util.referencecounting.ReferenceCounted
append, decrementReferenceCount, forceReferenceCountToZero, getReferenceCountDebug, incrementReferenceCount, resetReferenceCount, toString, tryDecrementReferenceCount, tryIncrementReferenceCount
-
Method Details
-
onReferenceCountAtZero
protected void onReferenceCountAtZero()Description copied from class:ReferenceCounted
Callback method that will be invoked when the reference count returns to zero.- Overrides:
onReferenceCountAtZero
in classBaseChunkInputStreamGenerator<ObjectChunk<Vector<?>,
Values>>
-
getInputStream
public ChunkInputStreamGenerator.DrainableColumn getInputStream(StreamReaderOptions options, @Nullable @Nullable RowSet subset) throws IOException Description copied from interface:ChunkInputStreamGenerator
Get an input stream optionally position-space filtered using the provided RowSet.- Parameters:
options
- the serializable options for this subscriptionsubset
- if provided, is a position-space filter of source data- Returns:
- a single-use DrainableColumn ready to be drained via grpc
- Throws:
IOException
-