Class BooleanChunkReader

java.lang.Object
io.deephaven.extensions.barrage.chunk.BooleanChunkReader
All Implemented Interfaces:
ChunkReader

public class BooleanChunkReader extends Object implements ChunkReader
  • Constructor Details

  • 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 interface ChunkReader
      Parameters:
      fieldNodeIter - iterator to read fields from the stream
      bufferInfoIter - iterator to read buffers from the stream
      is - input stream containing buffers to be read
      outChunk - chunk to write to
      outOffset - offset within the outChunk to begin writing
      totalRows - 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