org.apache.hadoop.hive.ql.hooks
Class UpdateInputAccessTimeHook.PreExec

java.lang.Object
  extended by 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


Constructor Summary
UpdateInputAccessTimeHook.PreExec()
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateInputAccessTimeHook.PreExec

public UpdateInputAccessTimeHook.PreExec()
Method Detail

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 © 2014 The Apache Software Foundation. All rights reserved.