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

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

public class PostExecutePrinter
extends Object
implements ExecuteWithHookContext

Implementation of a post execute hook that simply prints out its parameters to standard output.


Nested Class Summary
 class PostExecutePrinter.DependencyKeyComp
           
 
Constructor Summary
PostExecutePrinter()
           
 
Method Summary
 void run(HookContext hookContext)
           
 void run(SessionState sess, Set<ReadEntity> inputs, Set<WriteEntity> outputs, LineageInfo linfo, org.apache.hadoop.security.UserGroupInformation ugi)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostExecutePrinter

public PostExecutePrinter()
Method Detail

run

public void run(HookContext hookContext)
         throws Exception
Specified by:
run in interface ExecuteWithHookContext
Parameters:
hookContext - The hook context passed to each hooks.
Throws:
Exception

run

public void run(SessionState sess,
                Set<ReadEntity> inputs,
                Set<WriteEntity> outputs,
                LineageInfo linfo,
                org.apache.hadoop.security.UserGroupInformation ugi)
         throws Exception
Throws:
Exception


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