org.apache.hadoop.hive.ql.parse
Class DDLSemanticAnalyzer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
      extended by org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer

public class DDLSemanticAnalyzer
extends BaseSemanticAnalyzer

DDLSemanticAnalyzer.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
BaseSemanticAnalyzer.tableSpec
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
HIVE_COLUMN_ORDER_ASC, HIVE_COLUMN_ORDER_DESC
 
Constructor Summary
DDLSemanticAnalyzer(HiveConf conf)
           
DDLSemanticAnalyzer(HiveConf conf, Hive db)
           
 
Method Summary
 void analyzeInternal(ASTNode ast)
           
static HashMap<String,String> getPartSpec(ASTNode partspec)
           
static String getTypeName(ASTNode node)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
analyze, charSetString, getColumnAccessInfo, getColumnNames, getColumns, getDb, getFetchTask, getIdToTableNameMap, getInputs, getLineageInfo, getOutputs, getQueryProperties, getResultSchema, getRootTasks, getTableAccessInfo, getUnescapedName, getUnescapedName, getUnescapedUnqualifiedTableName, init, initCtx, isValidPrefixSpec, readProps, setColumnAccessInfo, setFetchTask, setLineageInfo, setTableAccessInfo, stripIdentifierQuotes, stripQuotes, unescapeIdentifier, unescapeSQLString, validate, validatePartSpec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLSemanticAnalyzer

public DDLSemanticAnalyzer(HiveConf conf)
                    throws SemanticException
Throws:
SemanticException

DDLSemanticAnalyzer

public DDLSemanticAnalyzer(HiveConf conf,
                           Hive db)
                    throws SemanticException
Throws:
SemanticException
Method Detail

getTypeName

public static String getTypeName(ASTNode node)
                          throws SemanticException
Throws:
SemanticException

analyzeInternal

public void analyzeInternal(ASTNode ast)
                     throws SemanticException
Specified by:
analyzeInternal in class BaseSemanticAnalyzer
Throws:
SemanticException

getPartSpec

public static HashMap<String,String> getPartSpec(ASTNode partspec)
                                          throws SemanticException
Throws:
SemanticException


Copyright © 2014 The Apache Software Foundation. All rights reserved.