Class UnionOperator<T>

    • Constructor Detail

      • UnionOperator

        public UnionOperator​(DataSet<T> input1,
                             DataSet<T> input2,
                             String unionLocationName)
        Deprecated.
        Create an operator that produces the union of the two given data sets.
        Parameters:
        input1 - The first data set to be unioned.
        input2 - The second data set to be unioned.
    • Method Detail

      • translateToDataFlow

        protected org.apache.flink.api.common.operators.Union<T> translateToDataFlow​(org.apache.flink.api.common.operators.Operator<T> input1,
                                                                                     org.apache.flink.api.common.operators.Operator<T> input2)
        Deprecated.
        Returns the BinaryNodeTranslation of the Union.
        Specified by:
        translateToDataFlow in class TwoInputOperator<T,​T,​T,​UnionOperator<T>>
        Parameters:
        input1 - The first input of the union, as a common API operator.
        input2 - The second input of the union, as a common API operator.
        Returns:
        The common API union operator.
      • setParallelism

        public UnionOperator<T> setParallelism​(int parallelism)
        Deprecated.
        Description copied from class: Operator
        Sets the parallelism for this operator. The parallelism must be 1 or more.
        Overrides:
        setParallelism in class Operator<T,​UnionOperator<T>>
        Parameters:
        parallelism - The parallelism for this operator. A value equal to ExecutionConfig.PARALLELISM_DEFAULT will use the system default.
        Returns:
        The operator with set parallelism.