public class DummySemanticAnalyzerHook extends AbstractSemanticAnalyzerHook
Constructor and Description |
---|
DummySemanticAnalyzerHook() |
Modifier and Type | Method and Description |
---|---|
void |
postAnalyze(HiveSemanticAnalyzerHookContext context,
java.util.List<Task<? extends java.io.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
HiveSemanticAnalyzerHook
preAnalyze
in interface HiveSemanticAnalyzerHook
preAnalyze
in class AbstractSemanticAnalyzerHook
context
- context information for semantic analysisast
- AST being analyzed and optionally rewrittenSemanticException
public void postAnalyze(HiveSemanticAnalyzerHookContext context, java.util.List<Task<? extends java.io.Serializable>> rootTasks) throws SemanticException
HiveSemanticAnalyzerHook
postAnalyze
in interface HiveSemanticAnalyzerHook
postAnalyze
in class AbstractSemanticAnalyzerHook
context
- context information for semantic analysisrootTasks
- root tasks produced by semantic analysis;
the hook is free to modify this list or its contentsSemanticException
Copyright © 2012 The Apache Software Foundation