org.apache.hadoop.hive.ql.hooks
Class UpdateInputAccessTimeHook.PreExec
java.lang.Object
org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook.PreExec
- All Implemented Interfaces:
- Hook, PreExecute
- Enclosing class:
- UpdateInputAccessTimeHook
public static class UpdateInputAccessTimeHook.PreExec
- extends Object
- implements PreExecute
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateInputAccessTimeHook.PreExec
public UpdateInputAccessTimeHook.PreExec()
run
public void run(SessionState sess,
Set<ReadEntity> inputs,
Set<WriteEntity> outputs,
org.apache.hadoop.security.UserGroupInformation ugi)
throws Exception
- Description copied from interface:
PreExecute
- The run command that is called just before the execution of the query.
- Specified by:
run
in interface PreExecute
- 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 © 2013 The Apache Software Foundation