Class IntChunkReader
java.lang.Object
io.deephaven.extensions.barrage.chunk.IntChunkReader
- All Implemented Interfaces:
ChunkReader
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.deephaven.extensions.barrage.chunk.ChunkReader
ChunkReader.Factory, ChunkReader.TypeInfo -
Constructor Summary
ConstructorsConstructorDescriptionIntChunkReader(StreamReaderOptions options) IntChunkReader(StreamReaderOptions options, IntChunkReader.IntConversion conversion) -
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.<T> ChunkReader
-
Constructor Details
-
IntChunkReader
-
IntChunkReader
-
-
Method Details
-
transform
-
readChunk
public WritableIntChunk<Values> readChunk(Iterator<ChunkInputStreamGenerator.FieldNodeInfo> fieldNodeIter, PrimitiveIterator.OfLong bufferInfoIter, DataInput is, WritableChunk<Values> outChunk, int outOffset, int totalRows) throws IOException Description copied from interface:ChunkReaderReads the given DataInput to extract the next Arrow buffer as a Deephaven Chunk.- Specified by:
readChunkin 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
-