@PublicEvolving
public interface FunctionDefinitionFactory
FunctionDefinition.| Modifier and Type | Interface and Description |
|---|---|
static interface |
FunctionDefinitionFactory.Context
Context provided when a function definition is created.
|
| Modifier and Type | Method and Description |
|---|---|
default FunctionDefinition |
createFunctionDefinition(String name,
CatalogFunction catalogFunction)
Deprecated.
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–2025 The Apache Software Foundation. All rights reserved.