public interface HiveDriverRunHook extends Hook
Note that the lifetime of an instantiated hook object is scoped to the analysis of a single statement; hook instances are never reused.
Modifier and Type | Method and Description |
---|---|
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.
|
void preDriverRun(HiveDriverRunHookContext hookContext) throws Exception
Exception
void postDriverRun(HiveDriverRunHookContext hookContext) throws Exception
Exception
Copyright © 2017 The Apache Software Foundation. All rights reserved.