Class SingleInputOperator<IN,​OUT,​FT extends Function>

    • Field Detail

      • input

        protected Operator<IN> input
        The input which produces the data consumed by this operator.
    • Constructor Detail

      • SingleInputOperator

        protected SingleInputOperator​(UserCodeWrapper<FT> stub,
                                      UnaryOperatorInformation<IN,​OUT> operatorInfo,
                                      int[] keyPositions,
                                      String name)
        Creates a new abstract single-input operator with the given name wrapping the given user function.
        Parameters:
        stub - The object containing the user function.
        keyPositions - The field positions of the input records that act as keys.
        name - The given name for the operator, used in plans, logs and progress messages.
      • SingleInputOperator

        protected SingleInputOperator​(UserCodeWrapper<FT> stub,
                                      UnaryOperatorInformation<IN,​OUT> operatorInfo,
                                      String name)
        Creates a new abstract single-input operator with the given name wrapping the given user function. This constructor is specialized only for operators that require no keys for their processing.
        Parameters:
        stub - The object containing the user function.
        name - The given name for the operator, used in plans, logs and progress messages.