Methods
Modifier and Type |
Method and Description |
void |
addAggregationExprsForClause(String clause,
LinkedHashMap<String,ASTNode> aggregationTrees) |
void |
addInsertIntoTable(String fullName) |
void |
addLateralViewForAlias(String alias,
ASTNode lateralView) |
void |
addTableSpec(String tName,
BaseSemanticAnalyzer.TableSpec tSpec) |
void |
addWindowingExprToClause(String clause,
ASTNode windowingExprNode) |
void |
clearAggregationExprsForClause(String clause) |
void |
clearDistinctFuncExprsForClause(String clause) |
HashMap<String,ASTNode> |
getAggregationExprsForClause(String clause) |
String |
getAlias() |
Map<String,ArrayList<ASTNode>> |
getAliasToLateralViews() |
Map<ASTNode,String> |
getAllExprToColumnAlias() |
BaseSemanticAnalyzer.AnalyzeRewriteContext |
getAnalyzeRewrite() |
Set<String> |
getClauseNames() |
Set<String> |
getClauseNamesForDest() |
ASTNode |
getClusterByForClause(String clause)
Get the Cluster By AST for the clause.
|
Set<String> |
getDestCubes() |
ASTNode |
getDestForClause(String clause) |
Set<String> |
getDestGroupingSets() |
Integer |
getDestLimit(String dest) |
Set<String> |
getDestRollups() |
LinkedHashMap<String,LinkedHashMap<String,ASTNode>> |
getDestToAggregationExprs() |
HashMap<String,ASTNode> |
getDestToClusterBy() |
HashMap<String,List<ASTNode>> |
getDestToDistinctFuncExprs() |
HashMap<String,ASTNode> |
getDestToDistributeBy() |
HashMap<String,ASTNode> |
getDestToGroupBy() |
Map<String,ASTNode> |
getDestToHaving() |
HashMap<String,ASTNode> |
getDestToLateralView() |
HashMap<String,Integer> |
getDestToLimit() |
HashMap<String,ASTNode> |
getDestToOrderBy() |
HashMap<String,ASTNode> |
getDestToSortBy() |
HashMap<String,ASTNode> |
getDestToWhereExpr() |
List<ASTNode> |
getDistinctFuncExprsForClause(String clause) |
ASTNode |
getDistributeByForClause(String clause)
Get the Distribute By AST for the clause.
|
String |
getExprToColumnAlias(ASTNode expr) |
ASTNode |
getGroupByForClause(String clause) |
ASTNode |
getHavingForClause(String clause) |
ASTNode |
getHints() |
boolean |
getIsSubQ() |
ASTNode |
getJoinExpr() |
List<ASTNode> |
getLateralViewsForAlias(String alias) |
HashMap<String,TableSample> |
getNameToSample() |
ASTNode |
getOrderByForClause(String clause) |
int |
getOuterQueryLimit() |
ASTNode |
getSelForClause(String clause) |
ASTNode |
getSortByForClause(String clause)
Get the Sort By AST for the clause.
|
ASTNode |
getSrcForAlias(String alias) |
BaseSemanticAnalyzer.TableSpec |
getTableSpec()
This method is used only for the analyze command to get the partition specs
|
BaseSemanticAnalyzer.TableSpec |
getTableSpec(String tName) |
TableSample |
getTabSample(String alias) |
ASTNode |
getWhrForClause(String clause) |
HashMap<String,ASTNode> |
getWindowingExprsForClause(String clause) |
boolean |
hasExprToColumnAlias(ASTNode expr) |
boolean |
isAnalyzeCommand() |
boolean |
isInsertIntoTable(String fullTableName)
Check if a table is in the list to be inserted into
|
boolean |
isInsertIntoTable(String dbName,
String table) |
boolean |
isInsertToTable() |
boolean |
isNoScanAnalyzeCommand() |
boolean |
isPartialScanAnalyzeCommand() |
boolean |
isSimpleSelectQuery() |
boolean |
isTopLevelSimpleSelectStarQuery() |
void |
setAggregationExprsForClause(String clause,
LinkedHashMap<String,ASTNode> aggregationTrees) |
void |
setAnalyzeRewrite(BaseSemanticAnalyzer.AnalyzeRewriteContext analyzeRewrite) |
void |
setClusterByExprForClause(String clause,
ASTNode ast)
Set the Cluster By AST for the clause.
|
void |
setDestForClause(String clause,
ASTNode ast) |
void |
setDestLimit(String dest,
Integer limit) |
void |
setDistinctFuncExprsForClause(String clause,
List<ASTNode> ast) |
void |
setDistributeByExprForClause(String clause,
ASTNode ast)
Set the Distribute By AST for the clause.
|
void |
setExprToColumnAlias(ASTNode expr,
String alias) |
void |
setGroupByExprForClause(String clause,
ASTNode ast) |
void |
setHavingExprForClause(String clause,
ASTNode ast) |
void |
setHints(ASTNode hint) |
void |
setIsAnalyzeCommand(boolean isAnalyzeCommand) |
void |
setIsInsertToTable(boolean isInsertToTable) |
void |
setJoinExpr(ASTNode joinExpr) |
void |
setNoScanAnalyzeCommand(boolean isNoScanAnalyzeCommand) |
void |
setOrderByExprForClause(String clause,
ASTNode ast) |
void |
setOuterQueryLimit(int outerQueryLimit) |
void |
setPartialScanAnalyzeCommand(boolean isPartialScanAnalyzeCommand) |
void |
setSelExprForClause(String clause,
ASTNode ast) |
void |
setSortByExprForClause(String clause,
ASTNode ast)
Set the Sort By AST for the clause.
|
void |
setSrcForAlias(String alias,
ASTNode ast) |
void |
setTabSample(String alias,
TableSample tableSample) |
void |
setWhrExprForClause(String clause,
ASTNode ast) |