Interface DataStreamPythonFunctionOperator<OUT>

    • Method Detail

      • setNumPartitions

        void setNumPartitions​(int numPartitions)
        Sets the number of partitions. This is used for partitionCustom which takes the number of partitions to partition into as input.
      • copy

        <T> DataStreamPythonFunctionOperator<T> copy​(DataStreamPythonFunctionInfo pythonFunctionInfo,
                                                     TypeInformation<T> outputTypeInfo)
        Make a copy of the DataStreamPythonFunctionOperator with the given pythonFunctionInfo and outputTypeInfo. This is used for chaining optimization which may need to update the underlying pythonFunctionInfo and outputTypeInfo with the other fields not changed.