Interface ChunkInputStreamGenerator

All Superinterfaces:
AutoCloseable, SafeCloseable
All Known Implementing Classes:
BaseChunkInputStreamGenerator, BooleanChunkInputStreamGenerator, ByteChunkInputStreamGenerator, CharChunkInputStreamGenerator, DoubleChunkInputStreamGenerator, FloatChunkInputStreamGenerator, IntChunkInputStreamGenerator, LongChunkInputStreamGenerator, ShortChunkInputStreamGenerator, VarBinaryChunkInputStreamGenerator, VarListChunkInputStreamGenerator, VectorChunkInputStreamGenerator

public interface ChunkInputStreamGenerator extends SafeCloseable
  • Field Details

  • Method Details

    • getRowOffset

      long getRowOffset()
      Returns the number of rows that were sent before the first row in this generator.
    • getLastRowOffset

      long getLastRowOffset()
      Returns the offset of the final row this generator can produce.
    • getInputStream

      ChunkInputStreamGenerator.DrainableColumn getInputStream(StreamReaderOptions options, @Nullable @Nullable RowSet subset) throws IOException
      Get an input stream optionally position-space filtered using the provided RowSet.
      Parameters:
      options - the serializable options for this subscription
      subset - if provided, is a position-space filter of source data
      Returns:
      a single-use DrainableColumn ready to be drained via grpc
      Throws:
      IOException