Class GatherHint

  • All Implemented Interfaces:
    LogicalOperator, PipelineOperator<RecordPort>, RecordPipelineOperator

    public final class GatherHint
    extends AbstractDeferredRecordOperator
    Forces parallel streams of data to be gathered into a single non-parallel stream. If requested, the output will also be sorted.

    It is also possible to force data to be staged to disk, breaking physical streaming; consumers of the output will run in a physical graph executed after the physical graph executing this operator. Even if not forced, the transition from parallel to non-parallel may cause staging to occur.

    Normally these actions happens automatically in a logical graph as required, but this operator provides a mechanism for explicit control.

    By definition, this is a non-parallel operator.