org.apache.hadoop.hive.ql.parse
Class SemanticAnalyzer
java.lang.Object
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer
public class SemanticAnalyzer
- extends BaseSemanticAnalyzer
Implementation of the semantic analyzer
Fields inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer |
conf, console, ctx, db, fetchTask, fetchTaskInit, idToTableNameMap, LOG, pathid, randomid, rootTasks, scratchDir |
Methods inherited from class org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer |
analyze, charSetString, getFetchTask, getFetchTaskInit, getIdToTableNameMap, getRootTasks, getTmpFileName, setFetchTask, setFetchTaskInit, stripQuotes, unescapeIdentifier, unescapeSQLString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SemanticAnalyzer
public SemanticAnalyzer(HiveConf conf)
throws SemanticException
- Throws:
SemanticException
reset
protected void reset()
- Overrides:
reset
in class BaseSemanticAnalyzer
init
public void init(ParseContext pctx)
getParseContext
public ParseContext getParseContext()
doPhase1QBExpr
public void doPhase1QBExpr(ASTNode ast,
QBExpr qbexpr,
String id,
String alias)
throws SemanticException
- Throws:
SemanticException
doPhase1
public void doPhase1(ASTNode ast,
QB qb,
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.Phase1Ctx ctx_1)
throws SemanticException
- Throws:
SemanticException
getMetaData
public void getMetaData(QB qb)
throws SemanticException
- Throws:
SemanticException
getJEXLOpName
public static String getJEXLOpName(String name)
getJEXLFuncName
public static String getJEXLFuncName(String name)
genPlan
public Operator genPlan(QB qb)
throws SemanticException
- Throws:
SemanticException
initPhase1Ctx
public org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.Phase1Ctx initPhase1Ctx()
analyzeInternal
public void analyzeInternal(ASTNode ast,
Context ctx)
throws SemanticException
- Specified by:
analyzeInternal
in class BaseSemanticAnalyzer
- Throws:
SemanticException
Copyright © 2009 The Apache Software Foundation