@Internal public final class SimplePythonFunction extends Object implements PythonFunction
PythonFunction.| Constructor and Description |
|---|
SimplePythonFunction(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.
|
public SimplePythonFunction(byte[] serializedPythonFunction,
PythonEnv pythonEnv)
public byte[] getSerializedPythonFunction()
PythonFunctiongetSerializedPythonFunction in interface PythonFunctionpublic PythonEnv getPythonEnv()
PythonFunctiongetPythonEnv in interface PythonFunctionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.