| 程序包 | 说明 |
|---|---|
| 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 asynchronously table function (UDTF).
|
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 |
FunctionService.createFunction(FunctionDescriptor descriptor)
Creates a user-defined function with the given properties and the current thread's context
class loader.
|
static UserDefinedFunction |
FunctionService.createFunction(FunctionDescriptor descriptor,
ClassLoader classLoader)
Creates a user-defined function with the given properties.
|
static UserDefinedFunction |
FunctionService.createFunction(FunctionDescriptor descriptor,
ClassLoader classLoader,
boolean performValidation)
Creates a user-defined function with the given properties.
|
static UserDefinedFunction |
FunctionService.createFunction(FunctionDescriptor descriptor,
ClassLoader classLoader,
boolean performValidation,
org.apache.flink.configuration.ReadableConfig config)
Creates a user-defined function with the given properties.
|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
PythonTableFunction
The wrapper of user defined python table function.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.