org.apache.hadoop.hive.ql.hooks
Class DriverTestHook

java.lang.Object
  extended by org.apache.hadoop.hive.ql.hooks.DriverTestHook
All Implemented Interfaces:
HiveDriverRunHook, Hook

public class DriverTestHook
extends Object
implements HiveDriverRunHook


Constructor Summary
DriverTestHook()
           
 
Method Summary
 void postDriverRun(HiveDriverRunHookContext hookContext)
          Invoked after Hive performs any processing of a command, just before a response is returned to the entity calling the Driver.
 void preDriverRun(HiveDriverRunHookContext hookContext)
          Invoked before Hive begins any processing of a command in the Driver, notably before compilation and any customizable performance logging.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverTestHook

public DriverTestHook()
Method Detail

preDriverRun

public void preDriverRun(HiveDriverRunHookContext hookContext)
                  throws Exception
Description copied from interface: HiveDriverRunHook
Invoked before Hive begins any processing of a command in the Driver, notably before compilation and any customizable performance logging.

Specified by:
preDriverRun in interface HiveDriverRunHook
Throws:
Exception

postDriverRun

public void postDriverRun(HiveDriverRunHookContext hookContext)
                   throws Exception
Description copied from interface: HiveDriverRunHook
Invoked after Hive performs any processing of a command, just before a response is returned to the entity calling the Driver.

Specified by:
postDriverRun in interface HiveDriverRunHook
Throws:
Exception


Copyright © 2014 The Apache Software Foundation. All rights reserved.