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, getAuthProviderpublic ASTNode preAnalyze(HiveSemanticAnalyzerHookContext context, ASTNode ast) throws SemanticException
HiveSemanticAnalyzerHookpreAnalyze in interface HiveSemanticAnalyzerHookpreAnalyze in class AbstractSemanticAnalyzerHookcontext - 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 HiveSemanticAnalyzerHookpostAnalyze in class HCatSemanticAnalyzerBasecontext - context information for semantic analysisrootTasks - root tasks produced by semantic analysis;
the hook is free to modify this list or its contentsSemanticExceptionprotected void authorizeDDLWork(HiveSemanticAnalyzerHookContext cntxt, Hive hive, DDLWork work) throws HiveException
HCatSemanticAnalyzerBaseauthorizeDDLWork in class HCatSemanticAnalyzerBaseHiveExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.