Class BooleanChunkReader
java.lang.Object
io.deephaven.extensions.barrage.chunk.BooleanChunkReader
- All Implemented Interfaces:
ChunkReader
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.extensions.barrage.chunk.ChunkReader
ChunkReader.Factory, ChunkReader.TypeInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadChunk
(Iterator<ChunkInputStreamGenerator.FieldNodeInfo> fieldNodeIter, PrimitiveIterator.OfLong bufferInfoIter, DataInput is, WritableChunk<Values> outChunk, int outOffset, int totalRows) Reads the given DataInput to extract the next Arrow buffer as a Deephaven Chunk.
-
Constructor Details
-
BooleanChunkReader
public BooleanChunkReader() -
BooleanChunkReader
-
-
Method Details
-
readChunk
public WritableChunk<Values> readChunk(Iterator<ChunkInputStreamGenerator.FieldNodeInfo> fieldNodeIter, PrimitiveIterator.OfLong bufferInfoIter, DataInput is, WritableChunk<Values> outChunk, int outOffset, int totalRows) throws IOException Description copied from interface:ChunkReader
Reads the given DataInput to extract the next Arrow buffer as a Deephaven Chunk.- Specified by:
readChunk
in interfaceChunkReader
- Parameters:
fieldNodeIter
- iterator to read fields from the streambufferInfoIter
- iterator to read buffers from the streamis
- input stream containing buffers to be readoutChunk
- chunk to write tooutOffset
- offset within the outChunk to begin writingtotalRows
- total rows to write to the outChunk- Returns:
- a Chunk containing the data from the stream
- Throws:
IOException
- if an error occurred while reading the stream
-