public class HiveParserQBParseInfo extends Object
Constructor and Description |
---|
HiveParserQBParseInfo(String alias,
boolean isSubQ) |
public HiveParserQBParseInfo(String alias, boolean isSubQ)
public void setAggregationExprsForClause(String clause, LinkedHashMap<String,HiveParserASTNode> aggregationTrees)
public void addAggregationExprsForClause(String clause, LinkedHashMap<String,HiveParserASTNode> aggregationTrees)
public void addInsertIntoTable(String fullName, HiveParserASTNode ast)
public boolean isInsertIntoTable(String fullName)
public HashMap<String,HiveParserASTNode> getAggregationExprsForClause(String clause)
public void addWindowingExprToClause(String clause, HiveParserASTNode windowingExprNode)
public HashMap<String,HiveParserASTNode> getWindowingExprsForClause(String clause)
public void setDistinctFuncExprsForClause(String clause, List<HiveParserASTNode> ast)
public List<HiveParserASTNode> getDistinctFuncExprsForClause(String clause)
public void setSelExprForClause(String clause, HiveParserASTNode ast)
public void setQueryFromExpr(HiveParserASTNode ast)
public void setWhrExprForClause(String clause, HiveParserASTNode ast)
public void setHavingExprForClause(String clause, HiveParserASTNode ast)
public void setGroupByExprForClause(String clause, HiveParserASTNode ast)
public void setDestForClause(String clause, HiveParserASTNode ast)
public void setClusterByExprForClause(String clause, HiveParserASTNode ast)
public void setDistributeByExprForClause(String clause, HiveParserASTNode ast)
public void setSortByExprForClause(String clause, HiveParserASTNode ast)
public void setOrderByExprForClause(String clause, HiveParserASTNode ast)
public void setSrcForAlias(String alias, HiveParserASTNode ast)
public HiveParserASTNode getDestForClause(String clause)
public HashMap<String,HiveParserASTNode> getDestToWhereExpr()
public HiveParserASTNode getGroupByForClause(String clause)
public HashMap<String,HiveParserASTNode> getDestToGroupBy()
public HiveParserASTNode getHavingForClause(String clause)
public HiveParserASTNode getSelForClause(String clause)
public HiveParserASTNode getQueryFrom()
public HiveParserASTNode getClusterByForClause(String clause)
public HashMap<String,HiveParserASTNode> getDestToClusterBy()
public HiveParserASTNode getDistributeByForClause(String clause)
public HashMap<String,HiveParserASTNode> getDestToDistributeBy()
public HiveParserASTNode getSortByForClause(String clause)
public HiveParserASTNode getOrderByForClause(String clause)
public HashMap<String,HiveParserASTNode> getDestToSortBy()
public HashMap<String,HiveParserASTNode> getDestToOrderBy()
public HiveParserASTNode getSrcForAlias(String alias)
public String getAlias()
public void setAlias(String alias)
public boolean getIsSubQ()
public HiveParserASTNode getJoinExpr()
public void setJoinExpr(HiveParserASTNode joinExpr)
public boolean needTableSample(String alias)
public void setTabSample(String alias)
public Map<HiveParserASTNode,String> getAllExprToColumnAlias()
public void setExprToColumnAlias(HiveParserASTNode expr, String alias)
public boolean isSimpleSelectQuery()
public void setHints(HiveParserASTNode hint)
public HiveParserASTNode getHints()
public Map<String,ArrayList<HiveParserASTNode>> getAliasToLateralViews()
public void addLateralViewForAlias(String alias, HiveParserASTNode lateralView)
public void setIsAnalyzeCommand(boolean isAnalyzeCommand)
public boolean isAnalyzeCommand()
public void addTableSpec(String tName, HiveParserBaseSemanticAnalyzer.TableSpec tSpec)
public HashMap<String,AbstractMap.SimpleEntry<Integer,Integer>> getDestToLimit()
public HashMap<String,HiveParserASTNode> getDestToLateralView()
public void setNoScanAnalyzeCommand(boolean isNoScanAnalyzeCommand)
isNoScanAnalyzeCommand
- the isNoScanAnalyzeCommand to setpublic boolean isPartialScanAnalyzeCommand()
public void setPartialScanAnalyzeCommand(boolean isPartialScanAnalyzeCommand)
isPartialScanAnalyzeCommand
- the isPartialScanAnalyzeCommand to setpublic Map<String,HiveParserASTNode> getInsertOverwriteTables()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.