Constructor and Description |
---|
HiveModule() |
HiveModule(String hiveVersion) |
HiveModule(String hiveVersion,
ClassLoader classLoader) |
HiveModule(String hiveVersion,
ReadableConfig config,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
Optional<FunctionDefinition> |
getFunctionDefinition(String name)
Get an optional of
FunctionDefinition by a given name. |
String |
getHiveVersion() |
Set<String> |
listFunctions()
List names of all functions in this module.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTableSinkFactory, getTableSourceFactory, listFunctions
@VisibleForTesting public HiveModule()
@VisibleForTesting public HiveModule(String hiveVersion)
public HiveModule(String hiveVersion, ClassLoader classLoader)
public HiveModule(String hiveVersion, ReadableConfig config, ClassLoader classLoader)
public Set<String> listFunctions()
Module
listFunctions
in interface Module
public 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
.public String getHiveVersion()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.