Package org.apache.flink.table.factories
Interface FunctionDefinitionFactory
-
@PublicEvolving public interface FunctionDefinitionFactoryA factory to createFunctionDefinition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFunctionDefinitionFactory.ContextContext provided when a function definition is created.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionDefinitioncreateFunctionDefinition(String name, CatalogFunction catalogFunction, FunctionDefinitionFactory.Context context)Creates aFunctionDefinitionfrom givenCatalogFunctionwith the givenFunctionDefinitionFactory.Contextcontaining 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 aFunctionDefinitionfrom givenCatalogFunctionwith the givenFunctionDefinitionFactory.Contextcontaining the class loader of the current session, which is useful when it's needed to load class from class name.- Parameters:
name- name of theCatalogFunctioncatalogFunction- the catalog functioncontext- theFunctionDefinitionFactory.Contextfor creating function definition- Returns:
- a
FunctionDefinition
-
-