org.apache.hadoop.hive.ql.hooks
Class PostExecutePrinter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostExecutePrinter
public PostExecutePrinter()
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 © 2013 The Apache Software Foundation