Modifier and Type | Field and Description |
---|---|
static CoreModule |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Optional<FunctionDefinition> |
getFunctionDefinition(String name)
Get an optional of
FunctionDefinition by a given name. |
Set<String> |
listFunctions()
List names of all functions in this module.
|
Set<String> |
listFunctions(boolean includeHiddenFunctions)
List names of all functions in this module.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTableSinkFactory, getTableSourceFactory
public static final CoreModule INSTANCE
public Set<String> listFunctions()
Module
listFunctions
in interface Module
public Set<String> listFunctions(boolean includeHiddenFunctions)
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.
listFunctions
in interface Module
includeHiddenFunctions
- whether to list hidden functions or notpublic Optional<FunctionDefinition> getFunctionDefinition(String name)
Module
FunctionDefinition
by a given name.
It includes hidden functions even though not listed in Module.listFunctions()
.
getFunctionDefinition
in interface Module
name
- name of the FunctionDefinition
.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.