public class HookContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HookContext.HookType |
Constructor and Description |
---|
HookContext(QueryPlan queryPlan,
HiveConf conf,
Map<String,org.apache.hadoop.fs.ContentSummary> inputPathToContentSummary,
String userName,
String ipAddress,
String operationId) |
Modifier and Type | Method and Description |
---|---|
void |
addCompleteTask(TaskRunner completeTaskRunner) |
List<TaskRunner> |
getCompleteTaskList() |
HiveConf |
getConf() |
HookContext.HookType |
getHookType() |
Map<String,org.apache.hadoop.fs.ContentSummary> |
getInputPathToContentSummary() |
Set<ReadEntity> |
getInputs() |
String |
getIpAddress() |
LineageInfo |
getLinfo() |
String |
getOperationId() |
String |
getOperationName() |
Set<WriteEntity> |
getOutputs() |
QueryPlan |
getQueryPlan() |
org.apache.hadoop.security.UserGroupInformation |
getUgi() |
String |
getUserName() |
void |
setCompleteTaskList(List<TaskRunner> completeTaskList) |
void |
setConf(HiveConf conf) |
void |
setHookType(HookContext.HookType hookType) |
void |
setInputs(Set<ReadEntity> inputs) |
void |
setLinfo(LineageInfo linfo) |
void |
setOutputs(Set<WriteEntity> outputs) |
void |
setQueryPlan(QueryPlan queryPlan) |
void |
setUgi(org.apache.hadoop.security.UserGroupInformation ugi) |
public QueryPlan getQueryPlan()
public void setQueryPlan(QueryPlan queryPlan)
public HiveConf getConf()
public void setConf(HiveConf conf)
public List<TaskRunner> getCompleteTaskList()
public void setCompleteTaskList(List<TaskRunner> completeTaskList)
public void addCompleteTask(TaskRunner completeTaskRunner)
public Set<ReadEntity> getInputs()
public void setInputs(Set<ReadEntity> inputs)
public Set<WriteEntity> getOutputs()
public void setOutputs(Set<WriteEntity> outputs)
public LineageInfo getLinfo()
public void setLinfo(LineageInfo linfo)
public org.apache.hadoop.security.UserGroupInformation getUgi()
public void setUgi(org.apache.hadoop.security.UserGroupInformation ugi)
public Map<String,org.apache.hadoop.fs.ContentSummary> getInputPathToContentSummary()
public HookContext.HookType getHookType()
public void setHookType(HookContext.HookType hookType)
public String getIpAddress()
public String getOperationName()
public String getUserName()
public String getOperationId()
Copyright © 2017 The Apache Software Foundation. All rights reserved.