Class DataStreamPythonFunction

java.lang.Object
org.apache.flink.streaming.api.functions.python.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:
  • Constructor Details

    • DataStreamPythonFunction

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

    • 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