@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()
PythonFunction
getSerializedPythonFunction
in interface PythonFunction
public PythonEnv getPythonEnv()
PythonFunction
getPythonEnv
in interface PythonFunction
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.