Class PullResultSetReaderImpl

All Implemented Interfaces:

public class PullResultSetReaderImpl extends Object implements PullResultSetReader


  1. Create an instance, passing in a PullResultSetReaderImpl.UpstreamSource to provide batches and optional selection vector.
  2. For each incoming batch:
    1. Call #start() to attach the batch. The associated BatchAccessor reports if the schema has changed.
    2. Call reader() to obtain a reader.
    3. Iterate over the batch using the reader.
    4. Call #release() to free the memory for the incoming batch. Or, to call #detach() to keep the batch memory.
  3. Call close() after all batches are read.