public class HCatSemanticAnalyzer extends HCatSemanticAnalyzerBase
Constructor and Description |
---|
HCatSemanticAnalyzer() |
Modifier and Type | Method and Description |
---|---|
protected void |
authorizeDDLWork(HiveSemanticAnalyzerHookContext cntxt,
Hive hive,
DDLWork work)
Authorized the given DDLWork.
|
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.
|
authorize, authorize, authorize, authorize, authorizeDDL, authorizeTable, getAuthProvider
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, List<Task<? extends Serializable>> rootTasks) throws SemanticException
HiveSemanticAnalyzerHook
postAnalyze
in interface HiveSemanticAnalyzerHook
postAnalyze
in class HCatSemanticAnalyzerBase
context
- context information for semantic analysisrootTasks
- root tasks produced by semantic analysis;
the hook is free to modify this list or its contentsSemanticException
protected void authorizeDDLWork(HiveSemanticAnalyzerHookContext cntxt, Hive hive, DDLWork work) throws HiveException
HCatSemanticAnalyzerBase
authorizeDDLWork
in class HCatSemanticAnalyzerBase
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.