org.apache.hadoop.hive.ql.hooks
Interface PreExecute

All Superinterfaces:
Hook
All Known Implementing Classes:
UpdateInputAccessTimeHook.PreExec

public interface PreExecute
extends Hook

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)
          Deprecated. 
 

Method Detail

run

@Deprecated
void run(SessionState sess,
                    Set<ReadEntity> inputs,
                    Set<WriteEntity> outputs,
                    org.apache.hadoop.security.UserGroupInformation ugi)
         throws Exception
Deprecated. 

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