class OperatorRecordBatch implements CloseableRecordBatch {

  @Override
  public IterOutcome next() {
    try {
      driver.operatorContext().getStats().startProcessing();
      lastOutcome = driver.next();
      return lastOutcome;
    } finally {
      driver.operatorContext().getStats().stopProcessing();
    }
  }

  public  OperatorRecordBatch(FragmentContext context, PhysicalOperator config,
      OperatorExec opExec, boolean enableSchemaBatch);

}