Class AbstractSingleRecordBatch<T extends PhysicalOperator>

Type Parameters:
T - the plan definition of the operator
All Implemented Interfaces:
AutoCloseable, Iterable<VectorWrapper<?>>, CloseableRecordBatch, RecordBatch, VectorAccessible
Direct Known Subclasses:
FilterRecordBatch, FlattenRecordBatch, LimitRecordBatch, MetadataHandlerBatch, PartitionLimitRecordBatch, ProjectRecordBatch, RangePartitionRecordBatch, RemovingRecordBatch, RuntimeFilterRecordBatch, StatisticsMergeBatch, TraceRecordBatch, UnpivotMapsRecordBatch

public abstract class AbstractSingleRecordBatch<T extends PhysicalOperator> extends AbstractUnaryRecordBatch<T>
Implements an AbstractUnaryRecordBatch where the incoming record batch is known at the time of creation
  • Field Details

  • Constructor Details

  • Method Details

    • getIncoming

      protected RecordBatch getIncoming()
      Specified by:
      getIncoming in class AbstractUnaryRecordBatch<T extends PhysicalOperator>
    • getFinalOutcome

      protected RecordBatch.IterOutcome getFinalOutcome(boolean hasMoreRecordInBoundary)
      Based on lastKnownOutcome and if there are more records to be output for current record boundary detected by EMIT outcome, this method returns EMIT or OK outcome.
      Parameters:
      hasMoreRecordInBoundary -
      Returns:
      EMIT - If the lastknownOutcome was EMIT and output records corresponding to all the incoming records in current record boundary is already produced. OK - otherwise