@PublicEvolving
public interface FunctionDefinitionFactory
FunctionDefinition.| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
FunctionDefinitionFactory.Context
Context provided when a function definition is created.
|
| 限定符和类型 | 方法和说明 |
|---|---|
default FunctionDefinition |
createFunctionDefinition(String name,
CatalogFunction catalogFunction)
已过时。
Please implement
createFunctionDefinition(String, CatalogFunction,
Context) instead. |
default FunctionDefinition |
createFunctionDefinition(String name,
CatalogFunction catalogFunction,
FunctionDefinitionFactory.Context context)
Creates a
FunctionDefinition from given CatalogFunction with the given FunctionDefinitionFactory.Context containing the class loader of the current session, which is useful when it's needed
to load class from class name. |
@Deprecated default FunctionDefinition createFunctionDefinition(String name, CatalogFunction catalogFunction)
createFunctionDefinition(String, CatalogFunction,
Context) instead.FunctionDefinition from given CatalogFunction.name - name of the CatalogFunctioncatalogFunction - the catalog functionFunctionDefinitiondefault FunctionDefinition createFunctionDefinition(String name, CatalogFunction catalogFunction, FunctionDefinitionFactory.Context context)
FunctionDefinition from given CatalogFunction with the given FunctionDefinitionFactory.Context containing the class loader of the current session, which is useful when it's needed
to load class from class name.
The default implementation will call createFunctionDefinition(String,
CatalogFunction) directly.
name - name of the CatalogFunctioncatalogFunction - the catalog functioncontext - the FunctionDefinitionFactory.Context for creating function definitionFunctionDefinitionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.