| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.hooks |
| Modifier and Type | Method and Description |
|---|---|
HookContext.HookType |
HookContext.getHookType() |
static HookContext.HookType |
HookContext.HookType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HookContext.HookType[] |
HookContext.HookType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HiveHooks.addHook(HookContext.HookType type,
Object hook)
Add the hook corresponding to the specific hook type.
|
List |
HiveHooks.getHooks(HookContext.HookType type) |
<T> List<T> |
HiveHooks.getHooks(HookContext.HookType type,
Class<T> clazz)
Get all hooks corresponding to the specific hook type.
|
static <T> List<T> |
HookUtils.readHooksFromConf(HiveConf conf,
HookContext.HookType type) |
void |
HookContext.setHookType(HookContext.HookType hookType) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.