public interface HiveSemanticAnalyzerHookContext
extends org.apache.hadoop.conf.Configurable
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
Hive |
getHive() |
Set<ReadEntity> |
getInputs()
The following methods will only be available to hooks executing postAnalyze.
|
String |
getIpAddress() |
Set<WriteEntity> |
getOutputs() |
String |
getUserName() |
void |
setCommand(String command) |
void |
setIpAddress(String ipAddress) |
void |
setUserName(String userName) |
void |
update(BaseSemanticAnalyzer sem)
This should be called after the semantic analyzer completes.
|
Hive getHive() throws HiveException
HiveException
void update(BaseSemanticAnalyzer sem)
sem
- Set<ReadEntity> getInputs()
Set<WriteEntity> getOutputs()
String getUserName()
void setUserName(String userName)
String getIpAddress()
void setIpAddress(String ipAddress)
String getCommand()
void setCommand(String command)
Copyright © 2017 The Apache Software Foundation. All rights reserved.