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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
BaseSemanticAnalyzer.tableSpec
 
Field Summary
static Map<Integer,String> TokenToTypeName
           
 
Fields inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
conf, console, ctx, db, fetchTask, fetchTaskInit, idToTableNameMap, pathid, randomid, rootTasks, scratchDir
 
Constructor Summary
DDLSemanticAnalyzer(HiveConf conf)
           
 
Method Summary
 void analyzeInternal(ASTNode ast, Context ctx)
           
static String getTypeName(int token)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
analyze, charSetString, getFetchTask, getFetchTaskInit, getIdToTableNameMap, getRootTasks, getTmpFileName, reset, setFetchTask, setFetchTaskInit, stripQuotes, unescapeIdentifier, unescapeSQLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TokenToTypeName

public static final Map<Integer,String> TokenToTypeName
Constructor Detail

DDLSemanticAnalyzer

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

getTypeName

public static String getTypeName(int token)

analyzeInternal

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


Copyright © 2009 The Apache Software Foundation