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

All Superinterfaces:
Hook
All Known Implementing Classes:
CheckQueryPropertiesHook, CheckTableAccessHook, EnforceReadOnlyTables, MapJoinCounterHook, OptrStatGroupByHook, PostExecutePrinter, PreExecutePrinter, VerifyCachingPrintStreamHook, VerifyContentSummaryCacheHook, VerifyHiveSortedInputFormatUsedHook, VerifyHooksRunInOrder.RunFirst, VerifyHooksRunInOrder.RunSecond, VerifyIsLocalModeHook, VerifyNumReducersForBucketsHook, VerifyOverriddenConfigsHook, VerifyPartitionIsNotSubdirectoryOfTableHook, VerifyPartitionIsSubdirectoryOfTableHook, VerifySessionStateLocalErrorsHook, VerifySessionStateStackTracesHook

public interface ExecuteWithHookContext
extends Hook

ExecuteWithHookContext is a new interface that the Pre/Post Execute Hook can run with the HookContext.


Method Summary
 void run(HookContext hookContext)
           
 

Method Detail

run

void run(HookContext hookContext)
         throws Exception
Parameters:
hookContext - The hook context passed to each hooks.
Throws:
Exception


Copyright © 2013 The Apache Software Foundation