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 Summary
ConstructorsConstructorDescriptionDataStreamPythonFunction(byte[] serializedPythonFunction, org.apache.flink.table.functions.python.PythonEnv pythonEnv) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.functions.python.PythonEnvbyte[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.python.PythonFunction
getPythonFunctionKind, takesRowAsInput
-
Constructor Details
-
DataStreamPythonFunction
public DataStreamPythonFunction(byte[] serializedPythonFunction, org.apache.flink.table.functions.python.PythonEnv pythonEnv)
-
-
Method Details
-
getSerializedPythonFunction
public byte[] getSerializedPythonFunction()- Specified by:
getSerializedPythonFunctionin interfaceorg.apache.flink.table.functions.python.PythonFunction
-
getPythonEnv
public org.apache.flink.table.functions.python.PythonEnv getPythonEnv()- Specified by:
getPythonEnvin interfaceorg.apache.flink.table.functions.python.PythonFunction
-