public class QueryLifeTimeHookContextImpl extends Object implements QueryLifeTimeHookContext
Constructor and Description |
---|
QueryLifeTimeHookContextImpl() |
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
|
public HiveConf getHiveConf()
QueryLifeTimeHookContext
getHiveConf
in interface QueryLifeTimeHookContext
public void setHiveConf(HiveConf conf)
QueryLifeTimeHookContext
setHiveConf
in interface QueryLifeTimeHookContext
public String getCommand()
QueryLifeTimeHookContext
getCommand
in interface QueryLifeTimeHookContext
public void setCommand(String command)
QueryLifeTimeHookContext
setCommand
in interface QueryLifeTimeHookContext
command
- the query command to setpublic HookContext getHookContext()
QueryLifeTimeHookContext
getHookContext
in interface QueryLifeTimeHookContext
HookContext
instance containing information such as query
plan, list of tasks, etc.public void setHookContext(HookContext hc)
QueryLifeTimeHookContext
setHookContext
in interface QueryLifeTimeHookContext
hc
- a HookContext
containing information for the current query.Copyright © 2021 The Apache Software Foundation. All rights reserved.