|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.parse.QBParseInfo
public class QBParseInfo
Implementation of the parse information related to a query block.
Constructor Summary | |
---|---|
QBParseInfo(String alias,
boolean isSubQ)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QBParseInfo(String alias, boolean isSubQ)
Method Detail |
---|
public void setAggregationExprsForClause(String clause, LinkedHashMap<String,ASTNode> aggregationTrees)
public HashMap<String,ASTNode> getAggregationExprsForClause(String clause)
public void setDistinctFuncExprForClause(String clause, ASTNode ast)
public ASTNode getDistinctFuncExprForClause(String clause)
public void setSelExprForClause(String clause, ASTNode ast)
public void setWhrExprForClause(String clause, ASTNode ast)
public void setGroupByExprForClause(String clause, ASTNode ast)
public void setDestForClause(String clause, ASTNode ast)
public void setClusterByExprForClause(String clause, ASTNode ast)
clause
- the name of the clauseast
- the abstract syntax treepublic void setDistributeByExprForClause(String clause, ASTNode ast)
clause
- the name of the clauseast
- the abstract syntax treepublic void setSortByExprForClause(String clause, ASTNode ast)
clause
- the name of the clauseast
- the abstract syntax treepublic void setOrderByExprForClause(String clause, ASTNode ast)
public void setSrcForAlias(String alias, ASTNode ast)
public Set<String> getClauseNames()
public Set<String> getClauseNamesForDest()
public ASTNode getDestForClause(String clause)
public ASTNode getWhrForClause(String clause)
public HashMap<String,ASTNode> getDestToWhereExpr()
public ASTNode getGroupByForClause(String clause)
public HashMap<String,ASTNode> getDestToGroupBy()
public ASTNode getSelForClause(String clause)
public ASTNode getClusterByForClause(String clause)
clause
- the name of the clause
public HashMap<String,ASTNode> getDestToClusterBy()
public ASTNode getDistributeByForClause(String clause)
clause
- the name of the clause
public HashMap<String,ASTNode> getDestToDistributeBy()
public ASTNode getSortByForClause(String clause)
clause
- the name of the clause
public ASTNode getOrderByForClause(String clause)
public HashMap<String,ASTNode> getDestToSortBy()
public HashMap<String,ASTNode> getDestToOrderBy()
public ASTNode getSrcForAlias(String alias)
public String getAlias()
public boolean getIsSubQ()
public ASTNode getJoinExpr()
public void setJoinExpr(ASTNode joinExpr)
public TableSample getTabSample(String alias)
public void setTabSample(String alias, TableSample tableSample)
public void setDestLimit(String dest, Integer limit)
public Integer getDestLimit(String dest)
public int getOuterQueryLimit()
public void setOuterQueryLimit(int outerQueryLimit)
outerQueryLimit
- the outerQueryLimit to setpublic boolean isSelectStarQuery()
public void setHints(ASTNode hint)
public ASTNode getHints()
public Map<String,ArrayList<ASTNode>> getAliasToLateralViews()
public List<ASTNode> getLateralViewsForAlias(String alias)
public void addLateralViewForAlias(String alias, ASTNode lateralView)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |