| 程序包 | 说明 |
|---|---|
| org.apache.flink.table.functions | |
| org.apache.flink.table.functions.python |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AggregateFunction<T,ACC>
Base class for a user-defined aggregate function.
|
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 |
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static UserDefinedFunction |
UserDefinedFunctionHelper.createSpecializedFunction(String functionName,
FunctionDefinition definition,
CallContext callContext,
ClassLoader builtInClassLoader,
org.apache.flink.configuration.ReadableConfig configuration)
Creates the runtime implementation of a
FunctionDefinition as an instance of UserDefinedFunction. |
static UserDefinedFunction |
UserDefinedFunctionHelper.instantiateFunction(Class<? extends UserDefinedFunction> 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 |
BuiltInFunctionDefinition.specialize(SpecializedFunction.SpecializedContext context) |
UserDefinedFunction |
SpecializedFunction.specialize(SpecializedFunction.SpecializedContext context)
Provides a runtime implementation that is specialized for the given call and session.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
UserDefinedFunctionHelper.prepareInstance(org.apache.flink.configuration.ReadableConfig config,
UserDefinedFunction function)
Prepares a
UserDefinedFunction instance for usage in the API. |
| 限定符和类型 | 方法和说明 |
|---|---|
static UserDefinedFunction |
UserDefinedFunctionHelper.instantiateFunction(Class<? extends UserDefinedFunction> functionClass)
Instantiates a
UserDefinedFunction assuming a JVM function with default constructor. |
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. |
| 限定符和类型 | 类和说明 |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.