@InterfaceAudience.Public @InterfaceStability.Stable public interface QueryLifeTimeHookWithParseHooks extends QueryLifeTimeHook
QueryLifeTimeHook that has hooks for pre and post parsing of a query.| Modifier and Type | Method and Description |
|---|---|
void |
afterParse(QueryLifeTimeHookContext ctx,
boolean hasError)
Invoked after a query parsing.
|
void |
beforeParse(QueryLifeTimeHookContext ctx)
Invoked before a query enters the parse phase.
|
afterCompile, afterExecution, beforeCompile, beforeExecutionvoid beforeParse(QueryLifeTimeHookContext ctx)
ctx - the context for the hookvoid afterParse(QueryLifeTimeHookContext ctx, boolean hasError)
ctx - the context for the hookhasError - whether any error occurred during compilation.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.