Package org.apache.flink.table.factories
Interface FunctionDefinitionFactory
-
@PublicEvolving public interface FunctionDefinitionFactory
A factory to createFunctionDefinition
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FunctionDefinitionFactory.Context
Context provided when a function definition is created.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionDefinition
createFunctionDefinition(String name, CatalogFunction catalogFunction, FunctionDefinitionFactory.Context context)
Creates aFunctionDefinition
from givenCatalogFunction
with the givenFunctionDefinitionFactory.Context
containing the class loader of the current session, which is useful when it's needed to load class from class name.
-
-
-
Method Detail
-
createFunctionDefinition
FunctionDefinition createFunctionDefinition(String name, CatalogFunction catalogFunction, FunctionDefinitionFactory.Context context)
Creates aFunctionDefinition
from givenCatalogFunction
with the givenFunctionDefinitionFactory.Context
containing the class loader of the current session, which is useful when it's needed to load class from class name.- Parameters:
name
- name of theCatalogFunction
catalogFunction
- the catalog functioncontext
- theFunctionDefinitionFactory.Context
for creating function definition- Returns:
- a
FunctionDefinition
-
-