|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ASTNode | |
---|---|
org.apache.hadoop.hive.ql.parse |
Uses of ASTNode in org.apache.hadoop.hive.ql.parse |
---|
Methods in org.apache.hadoop.hive.ql.parse that return ASTNode | |
---|---|
static ASTNode |
ParseUtils.findRootNonNullToken(ASTNode tree)
Performs a descent of the leftmost branch of a tree, stopping when either a node with a non-null token is found or the leaf level is encountered. |
ASTNode |
QBParseInfo.getClusterByForClause(String clause)
Get the Cluster By AST for the clause. |
ASTNode |
QBParseInfo.getDestForClause(String clause)
|
ASTNode |
QBParseInfo.getDistinctFuncExprForClause(String clause)
|
ASTNode |
QBParseInfo.getDistributeByForClause(String clause)
Get the Distribute By AST for the clause. |
ASTNode |
TypeCheckCtx.getErrorSrcNode()
|
ASTNode |
RowResolver.getExpressionSource(ASTNode node)
Retrieves the source expression matching a given ASTNode's string rendering exactly. |
ASTNode |
QBParseInfo.getGroupByForClause(String clause)
|
ASTNode |
QBParseInfo.getHints()
|
ASTNode |
QBParseInfo.getJoinExpr()
|
ASTNode |
QBParseInfo.getOrderByForClause(String clause)
|
ASTNode |
ParseContext.getParseTree()
|
ASTNode |
QBParseInfo.getSelForClause(String clause)
|
ASTNode |
QBParseInfo.getSortByForClause(String clause)
Get the Sort By AST for the clause. |
ASTNode |
QBParseInfo.getSrcForAlias(String alias)
|
ASTNode |
ASTNodeOrigin.getUsageNode()
|
ASTNode |
QBParseInfo.getWhrForClause(String clause)
|
ASTNode |
ParseDriver.parse(String command)
|
ASTNode |
ParseDriver.parse(String command,
Context ctx)
Parses a command, optionally assigning the parser's token stream to the given context. |
Methods in org.apache.hadoop.hive.ql.parse that return types with arguments of type ASTNode | |
---|---|
HashMap<String,ASTNode> |
QBParseInfo.getAggregationExprsForClause(String clause)
|
Map<String,ArrayList<ASTNode>> |
QBParseInfo.getAliasToLateralViews()
|
HashMap<String,ASTNode> |
QBParseInfo.getDestToClusterBy()
|
HashMap<String,ASTNode> |
QBParseInfo.getDestToDistributeBy()
|
HashMap<String,ASTNode> |
QBParseInfo.getDestToGroupBy()
|
HashMap<String,ASTNode> |
QBParseInfo.getDestToOrderBy()
|
HashMap<String,ASTNode> |
QBParseInfo.getDestToSortBy()
|
HashMap<String,ASTNode> |
QBParseInfo.getDestToWhereExpr()
|
ArrayList<ArrayList<ASTNode>> |
QBJoinTree.getExpressions()
|
ArrayList<ASTNode> |
TableSample.getExprs()
Gets the ON part's expression list. |
ArrayList<ArrayList<ASTNode>> |
QBJoinTree.getFilters()
|
List<ASTNode> |
QBParseInfo.getLateralViewsForAlias(String alias)
|
ArrayList<ASTNode> |
QBJoinTree.getRHSSemijoinColumns(String alias)
|
Methods in org.apache.hadoop.hive.ql.parse with parameters of type ASTNode | |
---|---|
void |
QBParseInfo.addLateralViewForAlias(String alias,
ASTNode lateralView)
|
void |
QBJoinTree.addRHSSemijoinColumns(String alias,
ASTNode column)
Remeber the mapping of table alias to set of columns. |
void |
BaseSemanticAnalyzer.analyze(ASTNode ast,
Context ctx)
|
void |
LoadSemanticAnalyzer.analyzeInternal(ASTNode ast)
|
void |
SemanticAnalyzer.analyzeInternal(ASTNode ast)
|
void |
FunctionSemanticAnalyzer.analyzeInternal(ASTNode ast)
|
void |
DDLSemanticAnalyzer.analyzeInternal(ASTNode ast)
|
abstract void |
BaseSemanticAnalyzer.analyzeInternal(ASTNode ast)
|
void |
ExplainSemanticAnalyzer.analyzeInternal(ASTNode ast)
|
void |
SemanticAnalyzer.doPhase1(ASTNode ast,
QB qb,
org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.Phase1Ctx ctx_1)
Phase 1: (including, but not limited to): 1. |
void |
SemanticAnalyzer.doPhase1QBExpr(ASTNode ast,
QBExpr qbexpr,
String id,
String alias)
|
static ASTNode |
ParseUtils.findRootNonNullToken(ASTNode tree)
Performs a descent of the leftmost branch of a tree, stopping when either a node with a non-null token is found or the leaf level is encountered. |
ExprNodeDesc |
SemanticAnalyzer.genExprNodeDesc(ASTNode expr,
RowResolver input)
Generates an expression node descriptor for the expression passed in the arguments. |
static BaseSemanticAnalyzer |
SemanticAnalyzerFactory.get(HiveConf conf,
ASTNode tree)
|
protected List<String> |
BaseSemanticAnalyzer.getColumnNames(ASTNode ast)
|
protected List<Order> |
BaseSemanticAnalyzer.getColumnNamesOrder(ASTNode ast)
|
protected List<FieldSchema> |
BaseSemanticAnalyzer.getColumns(ASTNode ast)
|
protected List<FieldSchema> |
BaseSemanticAnalyzer.getColumns(ASTNode ast,
boolean lowerCase)
Get the list of FieldSchema out of the ASTNode. |
ColumnInfo |
RowResolver.getExpression(ASTNode node)
Retrieves the ColumnInfo corresponding to a source expression which exactly matches the string rendering of the given ASTNode. |
ASTNode |
RowResolver.getExpressionSource(ASTNode node)
Retrieves the source expression matching a given ASTNode's string rendering exactly. |
static String |
TypeCheckProcFactory.DefaultExprProcessor.getFunctionText(ASTNode expr,
boolean isFunction)
|
String |
ErrorMsg.getMsg(ASTNode tree)
|
protected static String |
BaseSemanticAnalyzer.getTypeStringFromAST(ASTNode typeNode)
|
static boolean |
ParseUtils.isJoinToken(ASTNode node)
Tests whether the parse tree node is a join token. |
static boolean |
TypeCheckProcFactory.DefaultExprProcessor.isRedundantConversionFunction(ASTNode expr,
boolean isFunction,
ArrayList<ExprNodeDesc> children)
|
void |
RowResolver.putExpression(ASTNode node,
ColumnInfo colInfo)
Puts a resolver entry corresponding to a source expression which is to be used for identical expression recognition (e.g. |
static void |
BaseSemanticAnalyzer.readProps(ASTNode prop,
Map<String,String> mapProp)
Converts parsed key/value properties pairs into a map. |
void |
QBParseInfo.setClusterByExprForClause(String clause,
ASTNode ast)
Set the Cluster By AST for the clause. |
void |
QBParseInfo.setDestForClause(String clause,
ASTNode ast)
|
void |
QBParseInfo.setDistinctFuncExprForClause(String clause,
ASTNode ast)
|
void |
QBParseInfo.setDistributeByExprForClause(String clause,
ASTNode ast)
Set the Distribute By AST for the clause. |
void |
TypeCheckCtx.setError(String error,
ASTNode errorSrcNode)
|
void |
QBParseInfo.setGroupByExprForClause(String clause,
ASTNode ast)
|
void |
QBParseInfo.setHints(ASTNode hint)
|
void |
QBParseInfo.setJoinExpr(ASTNode joinExpr)
|
void |
QBParseInfo.setOrderByExprForClause(String clause,
ASTNode ast)
|
void |
ParseContext.setParseTree(ASTNode ast)
|
void |
QBParseInfo.setSelExprForClause(String clause,
ASTNode ast)
|
void |
QBParseInfo.setSortByExprForClause(String clause,
ASTNode ast)
Set the Sort By AST for the clause. |
void |
QBParseInfo.setSrcForAlias(String alias,
ASTNode ast)
|
void |
QBParseInfo.setWhrExprForClause(String clause,
ASTNode ast)
|
Method parameters in org.apache.hadoop.hive.ql.parse with type arguments of type ASTNode | |
---|---|
void |
QBJoinTree.addRHSSemijoinColumns(String alias,
ArrayList<ASTNode> columns)
Remeber the mapping of table alias to set of columns. |
void |
QBParseInfo.setAggregationExprsForClause(String clause,
LinkedHashMap<String,ASTNode> aggregationTrees)
|
void |
QBJoinTree.setExpressions(ArrayList<ArrayList<ASTNode>> expressions)
|
void |
TableSample.setExprs(ArrayList<ASTNode> exprs)
Sets the expression list. |
void |
QBJoinTree.setFilters(ArrayList<ArrayList<ASTNode>> filters)
|
Constructor parameters in org.apache.hadoop.hive.ql.parse with type arguments of type ASTNode | |
---|---|
TableSample(String num,
String den,
ArrayList<ASTNode> exprs)
Constructs the TableSample given the numerator, denominator and the list of ON clause expressions. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |