public interface QueryLifeTimeHookContext
QueryLifeTimeHook
.Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Get the current command.
|
HiveConf |
getHiveConf()
Get the current Hive configuration
|
HookContext |
getHookContext()
Get the hook context for query execution.
|
void |
setCommand(String command)
Set the current command
|
void |
setHiveConf(HiveConf conf)
Set Hive configuration
|
void |
setHookContext(HookContext hc)
Set the hook context
|
HiveConf getHiveConf()
void setHiveConf(HiveConf conf)
String getCommand()
void setCommand(String command)
command
- the query command to setHookContext getHookContext()
HookContext
instance containing information such as query
plan, list of tasks, etc.void setHookContext(HookContext hc)
hc
- a HookContext
containing information for the current query.Copyright © 2021 The Apache Software Foundation. All rights reserved.