public abstract class AbstractSemanticAnalyzerHook extends Object implements HiveSemanticAnalyzerHook
| Constructor and Description |
|---|
AbstractSemanticAnalyzerHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
postAnalyze(HiveSemanticAnalyzerHookContext context,
List<Task<? extends Serializable>> rootTasks)
Invoked after Hive performs its own semantic analysis on a
statement (including optimization).
|
ASTNode |
preAnalyze(HiveSemanticAnalyzerHookContext context,
ASTNode ast)
Invoked before Hive performs its own semantic analysis on
a statement.
|
public ASTNode preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast) throws SemanticException
HiveSemanticAnalyzerHookpreAnalyze in interface HiveSemanticAnalyzerHookcontext - context information for semantic analysisast - AST being analyzed and optionally rewrittenSemanticExceptionpublic void postAnalyze(HiveSemanticAnalyzerHookContext context, List<Task<? extends Serializable>> rootTasks) throws SemanticException
HiveSemanticAnalyzerHookpostAnalyze in interface HiveSemanticAnalyzerHookcontext - context information for semantic analysisrootTasks - root tasks produced by semantic analysis;
the hook is free to modify this list or its contentsSemanticExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.