Class Codes.YieldRowSink

  • All Implemented Interfaces:
    Codes.RowSink, Describable
    Enclosing class:
    Codes

    private static class Codes.YieldRowSink
    extends Object
    implements Codes.RowSink
    Implementation of Codes.RowSink for a yield step.

    If this is the last step, use instead a Codes.CollectRowSink. It is more efficient; there is no downstream row sink; and a terminal yield step is allowed to generate expressions that are not records. Non-record expressions (e.g. int expressions) do not have a name, and therefore the value cannot be passed via the EvalEnv.