| Package | Description |
|---|---|
| org.apache.flink.table.functions | |
| org.apache.flink.table.functions.python |
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateFunction<T,ACC>
Base class for a user-defined aggregate function.
|
class |
AsyncLookupFunction
A wrapper class of
AsyncTableFunction for asynchronously lookup rows matching the lookup
keys from external system. |
class |
AsyncScalarFunction
Base class for a user-defined scalar function which returns results asynchronously.
|
class |
AsyncTableFunction<T>
Base class for a user-defined asynchronous table function.
|
class |
ImperativeAggregateFunction<T,ACC>
Base class for user-defined
AggregateFunction and TableAggregateFunction. |
class |
LookupFunction
A wrapper class of
TableFunction for synchronously lookup rows matching the lookup keys
from external system. |
class |
ScalarFunction
Base class for a user-defined scalar function.
|
class |
TableAggregateFunction<T,ACC>
Base class for a user-defined table aggregate function.
|
class |
TableFunction<T>
Base class for a user-defined table function.
|
class |
TemporalTableFunction
Class representing temporal table function over some history table.
|
| Modifier and Type | Method and Description |
|---|---|
static UserDefinedFunction |
UserDefinedFunctionHelper.createSpecializedFunction(String functionName,
FunctionDefinition definition,
CallContext callContext,
ClassLoader builtInClassLoader,
org.apache.flink.configuration.ReadableConfig configuration,
SpecializedFunction.ExpressionEvaluatorFactory evaluatorFactory)
Creates the runtime implementation of a
FunctionDefinition as an instance of UserDefinedFunction. |
static UserDefinedFunction |
UserDefinedFunctionHelper.instantiateFunction(Class<?> functionClass)
Instantiates a
UserDefinedFunction assuming a JVM function with default constructor. |
static UserDefinedFunction |
UserDefinedFunctionHelper.instantiateFunction(ClassLoader classLoader,
org.apache.flink.configuration.ReadableConfig config,
String name,
CatalogFunction catalogFunction)
Instantiates a
UserDefinedFunction from a CatalogFunction. |
UserDefinedFunction |
SpecializedFunction.specialize(SpecializedFunction.SpecializedContext context)
Provides a runtime implementation that is specialized for the given call and session.
|
UserDefinedFunction |
BuiltInFunctionDefinition.specialize(SpecializedFunction.SpecializedContext context) |
| Modifier and Type | Method and Description |
|---|---|
static String |
UserDefinedFunctionHelper.generateInlineFunctionName(UserDefinedFunction function)
Name for anonymous, inline functions.
|
static boolean |
UserDefinedFunctionHelper.isClassNameSerializable(UserDefinedFunction function)
Returns whether a
UserDefinedFunction can be easily serialized and identified by only
a fully qualified class name. |
static void |
UserDefinedFunctionHelper.prepareInstance(org.apache.flink.configuration.ReadableConfig config,
UserDefinedFunction function)
Prepares a
UserDefinedFunction instance for usage in the API. |
| Modifier and Type | Method and Description |
|---|---|
static void |
UserDefinedFunctionHelper.validateClass(Class<? extends UserDefinedFunction> functionClass)
Validates a
UserDefinedFunction class for usage in the API. |
static void |
UserDefinedFunctionHelper.validateClassForRuntime(Class<? extends UserDefinedFunction> functionClass,
String methodName,
Class<?>[] argumentClasses,
Class<?> outputClass,
String functionName)
Validates a
UserDefinedFunction class for usage in the runtime. |
| Modifier and Type | Class and Description |
|---|---|
class |
PythonAggregateFunction
The wrapper of user defined python aggregate function.
|
class |
PythonScalarFunction
The wrapper of user defined python scalar function.
|
class |
PythonTableAggregateFunction
The wrapper of user defined python table aggregate function.
|
class |
PythonTableFunction
The wrapper of user defined python table function.
|
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.