brickhouse.hive.hook
Class PrintQueryHook

java.lang.Object
  extended by brickhouse.hive.hook.PrintQueryHook
All Implemented Interfaces:
org.apache.hadoop.hive.ql.hooks.Hook, org.apache.hadoop.hive.ql.hooks.PreExecute

public class PrintQueryHook
extends Object
implements org.apache.hadoop.hive.ql.hooks.PreExecute


Constructor Summary
PrintQueryHook()
           
 
Method Summary
 void run(org.apache.hadoop.hive.ql.session.SessionState session, Set<org.apache.hadoop.hive.ql.hooks.ReadEntity> reads, Set<org.apache.hadoop.hive.ql.hooks.WriteEntity> writes, org.apache.hadoop.security.UserGroupInformation ugi)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintQueryHook

public PrintQueryHook()
Method Detail

run

public void run(org.apache.hadoop.hive.ql.session.SessionState session,
                Set<org.apache.hadoop.hive.ql.hooks.ReadEntity> reads,
                Set<org.apache.hadoop.hive.ql.hooks.WriteEntity> writes,
                org.apache.hadoop.security.UserGroupInformation ugi)
         throws Exception
Specified by:
run in interface org.apache.hadoop.hive.ql.hooks.PreExecute
Throws:
Exception


Copyright © 2013. All rights reserved.