public static enum HookContext.HookType extends Enum<HookContext.HookType>
| Enum Constant and Description |
|---|
DRIVER_RUN_HOOKS |
HIVE_SERVER2_SESSION_HOOK |
ON_FAILURE_HOOK |
POST_EXEC_HOOK |
PRE_EXEC_HOOK |
QUERY_LIFETIME_HOOKS |
QUERY_REDACTOR_HOOKS |
SEMANTIC_ANALYZER_HOOK |
| Modifier and Type | Method and Description |
|---|---|
HiveConf.ConfVars |
getConfVar() |
String |
getDescription() |
Class |
getHookClass() |
static HookContext.HookType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HookContext.HookType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HookContext.HookType PRE_EXEC_HOOK
public static final HookContext.HookType POST_EXEC_HOOK
public static final HookContext.HookType ON_FAILURE_HOOK
public static final HookContext.HookType QUERY_LIFETIME_HOOKS
public static final HookContext.HookType SEMANTIC_ANALYZER_HOOK
public static final HookContext.HookType DRIVER_RUN_HOOKS
public static final HookContext.HookType QUERY_REDACTOR_HOOKS
public static final HookContext.HookType HIVE_SERVER2_SESSION_HOOK
public static HookContext.HookType[] values()
for (HookContext.HookType c : HookContext.HookType.values()) System.out.println(c);
public static HookContext.HookType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Class getHookClass()
public HiveConf.ConfVars getConfVar()
public String getDescription()
Copyright © 2024 The Apache Software Foundation. All rights reserved.