Class Operator<OUT,​O extends Operator<OUT,​O>>

    • Field Detail

      • name

        protected String name
        Deprecated.
      • parallelism

        protected int parallelism
        Deprecated.
      • minResources

        protected org.apache.flink.api.common.operators.ResourceSpec minResources
        Deprecated.
      • preferredResources

        protected org.apache.flink.api.common.operators.ResourceSpec preferredResources
        Deprecated.
    • Constructor Detail

      • Operator

        protected Operator​(ExecutionEnvironment context,
                           org.apache.flink.api.common.typeinfo.TypeInformation<OUT> resultType)
        Deprecated.
    • Method Detail

      • getResultType

        public org.apache.flink.api.common.typeinfo.TypeInformation<OUT> getResultType()
        Deprecated.
        Returns the type of the result of this operator.
        Returns:
        The result type of the operator.
      • getName

        public String getName()
        Deprecated.
        Returns the name of the operator. If no name has been set, it returns the name of the operation, or the name of the class implementing the function of this operator.
        Returns:
        The name of the operator.
      • getParallelism

        public int getParallelism()
        Deprecated.
        Returns the parallelism of this operator.
        Returns:
        The parallelism of this operator.
      • getMinResources

        public org.apache.flink.api.common.operators.ResourceSpec getMinResources()
        Deprecated.
        Returns the minimum resource of this operator. If no minimum resource has been set, it returns the default empty resource.
        Returns:
        The minimum resource of this operator.
      • getPreferredResources

        public org.apache.flink.api.common.operators.ResourceSpec getPreferredResources()
        Deprecated.
        Returns the preferred resource of this operator. If no preferred resource has been set, it returns the default empty resource.
        Returns:
        The preferred resource of this operator.
      • name

        public O name​(String newName)
        Deprecated.
        Sets the name of this operator. This overrides the default name, which is either a generated description of the operation (such as for example "Aggregate(1:SUM, 2:MIN)") or the name the user-defined function or input/output format executed by the operator.
        Parameters:
        newName - The name for this operator.
        Returns:
        The operator with a new name.
      • setParallelism

        public O setParallelism​(int parallelism)
        Deprecated.
        Sets the parallelism for this operator. The parallelism must be 1 or more.
        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.