/** * Forward the overflow batch, but do not reset the batch. */ private void forwardOverflowNoReset() throws HiveException { forward(overflowBatch, null); }
/** * Forward the big table batch to the children. * * @param batch * The big table batch. */ public void forwardBigTableBatch(VectorizedRowBatch batch) throws HiveException { // Save original projection. int[] originalProjections = batch.projectedColumns; int originalProjectionSize = batch.projectionSize; // Project with the output of our operator. batch.projectionSize = outputProjection.length; batch.projectedColumns = outputProjection; forward(batch, null); // Revert the projected columns back, because batch can be re-used by our parent operators. batch.projectionSize = originalProjectionSize; batch.projectedColumns = originalProjections; }
/** * Forward the overflow batch and reset the batch. */ protected void forwardOverflow() throws HiveException { forward(overflowBatch, null); overflowBatch.reset(); maybeCheckInterrupt(); }
/** * Forward the overflow batch, but do not reset the batch. */ private void forwardOverflowNoReset() throws HiveException { forward(overflowBatch, null); }
/** * Forward the big table batch to the children. * * @param batch * The big table batch. */ public void forwardBigTableBatch(VectorizedRowBatch batch) throws HiveException { // Save original projection. int[] originalProjections = batch.projectedColumns; int originalProjectionSize = batch.projectionSize; // Project with the output of our operator. batch.projectionSize = outputProjection.length; batch.projectedColumns = outputProjection; forward(batch, null); // Revert the projected columns back, because batch can be re-used by our parent operators. batch.projectionSize = originalProjectionSize; batch.projectedColumns = originalProjections; }
/** * Forward the overflow batch and reset the batch. */ protected void forwardOverflow() throws HiveException { forward(overflowBatch, null); overflowBatch.reset(); }