Interface PythonFunction
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BuiltInPythonAggregateFunction,PythonAggregateFunction,PythonScalarFunction,PythonTableAggregateFunction,PythonTableFunction
The base interface of a wrapper of a Python function. It wraps the serialized Python function and
the execution environment.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Python execution environment.default PythonFunctionKindReturns the kind of the user-defined python function.byte[]Returns the serialized representation of the user-defined python function.default booleanReturns Whether the Python function takes row as input instead of each columns of a row.
-
Method Details
-
getSerializedPythonFunction
byte[] getSerializedPythonFunction()Returns the serialized representation of the user-defined python function. -
getPythonEnv
PythonEnv getPythonEnv()Returns the Python execution environment. -
getPythonFunctionKind
Returns the kind of the user-defined python function. -
takesRowAsInput
default boolean takesRowAsInput()Returns Whether the Python function takes row as input instead of each columns of a row.
-