Class DataStreamPythonFunction

  • All Implemented Interfaces:
    Serializable, org.apache.flink.table.functions.python.PythonFunction

    @Internal
    public class DataStreamPythonFunction
    extends Object
    implements org.apache.flink.table.functions.python.PythonFunction
    DataStreamPythonFunction maintains the serialized python function which will be used in BeamDataStreamPythonFunctionRunner.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataStreamPythonFunction

        public DataStreamPythonFunction​(byte[] serializedPythonFunction,
                                        org.apache.flink.table.functions.python.PythonEnv pythonEnv)
    • Method Detail

      • getSerializedPythonFunction

        public byte[] getSerializedPythonFunction()
        Specified by:
        getSerializedPythonFunction in interface org.apache.flink.table.functions.python.PythonFunction
      • getPythonEnv

        public org.apache.flink.table.functions.python.PythonEnv getPythonEnv()
        Specified by:
        getPythonEnv in interface org.apache.flink.table.functions.python.PythonFunction