org.apache.hadoop.hive.ql.hooks
Interface PreExecute
public interface PreExecute
The pre execute hook interface. A list of such hooks can
be configured to be called after compilation and before
execution.
Method Summary |
void |
run(SessionState sess,
Set<ReadEntity> inputs,
Set<WriteEntity> outputs,
org.apache.hadoop.security.UserGroupInformation ugi)
The run command that is called just before the execution of the
query. |
run
void run(SessionState sess,
Set<ReadEntity> inputs,
Set<WriteEntity> outputs,
org.apache.hadoop.security.UserGroupInformation ugi)
throws Exception
- The run command that is called just before the execution of the
query.
- Parameters:
sess
- The session state.inputs
- The set of input tables and partitions.outputs
- The set of output tables, partitions, local and hdfs directories.ugi
- The user group security information.
- Throws:
Exception
Copyright © 2009 The Apache Software Foundation