@Override public BatchSchema getSchema() { return recordBatches.getSchema(); }
public JobDataFragmentImpl(final RecordBatches recordBatches, final int offsetInJobResults, final JobId jobId) { this.recordBatches = recordBatches; this.jobId = jobId; this.nameToColumnIndex = getColumnIndicesFromSchema(recordBatches.getSchema()); }