public class QueryLifeTimeHookContextImpl extends Object implements QueryLifeTimeHookContext
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryLifeTimeHookContextImpl.Builder |
| 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()
QueryLifeTimeHookContextgetHiveConf in interface QueryLifeTimeHookContextpublic void setHiveConf(HiveConf conf)
QueryLifeTimeHookContextsetHiveConf in interface QueryLifeTimeHookContextpublic String getCommand()
QueryLifeTimeHookContextgetCommand in interface QueryLifeTimeHookContextpublic void setCommand(String command)
QueryLifeTimeHookContextsetCommand in interface QueryLifeTimeHookContextcommand - the query command to setpublic HookContext getHookContext()
QueryLifeTimeHookContextgetHookContext in interface QueryLifeTimeHookContextHookContext instance containing information such as query
plan, list of tasks, etc.public void setHookContext(HookContext hc)
QueryLifeTimeHookContextsetHookContext in interface QueryLifeTimeHookContexthc - a HookContext containing information for the current query.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.