@Internal public class DataStreamPythonFunction extends Object implements PythonFunction
DataStreamPythonFunction
maintains the serialized python function which will be used in
BeamDataStreamPythonFunctionRunner.Constructor and Description |
---|
DataStreamPythonFunction(byte[] serializedPythonFunction,
PythonEnv pythonEnv) |
Modifier and Type | Method and Description |
---|---|
PythonEnv |
getPythonEnv()
Returns the Python execution environment.
|
byte[] |
getSerializedPythonFunction()
Returns the serialized representation of the user-defined python function.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPythonFunctionKind, takesRowAsInput
public DataStreamPythonFunction(byte[] serializedPythonFunction, PythonEnv pythonEnv)
public byte[] getSerializedPythonFunction()
PythonFunction
getSerializedPythonFunction
in interface PythonFunction
public PythonEnv getPythonEnv()
PythonFunction
getPythonEnv
in interface PythonFunction
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.