Package org.apache.flink.table.module
Class CoreModule
java.lang.Object
org.apache.flink.table.module.CoreModule
- All Implemented Interfaces:
Module
Module of default core metadata in Flink.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionDefinition(String name) Get an optional ofFunctionDefinitionby a given name.List names of all functions in this module.listFunctions(boolean includeHiddenFunctions) List names of all functions in this module.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.module.Module
getTableSinkFactory, getTableSourceFactory
-
Field Details
-
INSTANCE
-
-
Method Details
-
listFunctions
Description copied from interface:ModuleList names of all functions in this module. It excludes internal functions.- Specified by:
listFunctionsin interfaceModule- Returns:
- a set of function names
-
listFunctions
Description copied from interface:ModuleList names of all functions in this module.A module can decide to hide certain functions. For example, internal functions that can be resolved via
Module.getFunctionDefinition(String)but should not be listed by default.- Specified by:
listFunctionsin interfaceModule- Parameters:
includeHiddenFunctions- whether to list hidden functions or not- Returns:
- a set of function names
-
getFunctionDefinition
Description copied from interface:ModuleGet an optional ofFunctionDefinitionby a given name.It includes hidden functions even though not listed in
Module.listFunctions().- Specified by:
getFunctionDefinitionin interfaceModule- Parameters:
name- name of theFunctionDefinition.- Returns:
- an optional function definition
-