public class DDLSemanticAnalyzer extends BaseSemanticAnalyzer
BaseSemanticAnalyzer.AnalyzeRewriteContext, BaseSemanticAnalyzer.TableSpecacidFileSinks, columnAccessInfo, conf, console, ctx, db, fetchTask, HIVE_COLUMN_ORDER_ASC, HIVE_COLUMN_ORDER_DESC, idToTableNameMap, inputs, linfo, outputs, queryProperties, rootTasks, STATIC_LOG, tableAccessInfo, updateColumnAccessInfo| Constructor and Description |
|---|
DDLSemanticAnalyzer(HiveConf conf) |
DDLSemanticAnalyzer(HiveConf conf,
Hive db) |
| Modifier and Type | Method and Description |
|---|---|
void |
analyzeInternal(ASTNode input) |
static HashMap<String,String> |
getPartSpec(ASTNode partspec) |
static String |
getTypeName(ASTNode node) |
static HashMap<String,String> |
getValidatedPartSpec(Table table,
ASTNode astNode,
HiveConf conf,
boolean shouldBeFull) |
static boolean |
isFullSpec(Table table,
Map<String,String> partSpec) |
analyze, analyzeDDLSkewedValues, analyzeSkewedTablDDLColNames, analyzeStoredAdDirs, charSetString, constructListBucketingCtx, createHiveDB, escapeSQLString, getAcidFileSinks, getColumnAccessInfo, getColumnNames, getColumnNamesOrder, getColumns, getColumns, getDatabase, getDatabase, getDb, getDbTableNamePair, getDotName, getFetchTask, getIdToTableNameMap, getInputs, getLineageInfo, getOutputs, getPartition, getPartitions, getQualifiedTableName, getQueryProperties, getResultSchema, getRootTasks, getSkewedValueFromASTNode, getSkewedValuesFromASTNode, getTable, getTable, getTable, getTable, getTable, getTableAccessInfo, getTypeStringFromAST, getUnescapedName, getUnescapedName, getUnescapedUnqualifiedTableName, getUpdateColumnAccessInfo, init, initCtx, isValidPrefixSpec, readProps, reset, setColumnAccessInfo, setFetchTask, setLineageInfo, setTableAccessInfo, setUpdateColumnAccessInfo, skipAuthorization, stripIdentifierQuotes, stripQuotes, toMessage, toReadEntity, toReadEntity, toWriteEntity, toWriteEntity, unescapeIdentifier, unescapeSQLString, validate, validatePartColumnType, validatePartSpecpublic DDLSemanticAnalyzer(HiveConf conf) throws SemanticException
SemanticExceptionpublic DDLSemanticAnalyzer(HiveConf conf, Hive db) throws SemanticException
SemanticExceptionpublic static String getTypeName(ASTNode node) throws SemanticException
SemanticExceptionpublic void analyzeInternal(ASTNode input) throws SemanticException
analyzeInternal in class BaseSemanticAnalyzerSemanticExceptionpublic static HashMap<String,String> getPartSpec(ASTNode partspec) throws SemanticException
SemanticExceptionpublic static HashMap<String,String> getValidatedPartSpec(Table table, ASTNode astNode, HiveConf conf, boolean shouldBeFull) throws SemanticException
SemanticExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.