public class DefaultQueryAST extends Object
Constructor and Description |
---|
DefaultQueryAST(org.apache.hadoop.hive.ql.parse.ASTNode selectAST,
org.apache.hadoop.hive.ql.parse.ASTNode whereAST,
org.apache.hadoop.hive.ql.parse.ASTNode groupByAST,
org.apache.hadoop.hive.ql.parse.ASTNode havingAST,
org.apache.hadoop.hive.ql.parse.ASTNode joinAST,
org.apache.hadoop.hive.ql.parse.ASTNode orderByAST,
Integer limitValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DefaultQueryAST |
fromCandidateFact(CandidateFact fact,
String storageTable,
org.apache.lens.cube.parse.QueryAST ast) |
org.apache.hadoop.hive.ql.parse.ASTNode |
getGroupByAST() |
String |
getGroupByTree() |
org.apache.hadoop.hive.ql.parse.ASTNode |
getHavingAST() |
String |
getHavingTree() |
org.apache.hadoop.hive.ql.parse.ASTNode |
getJoinAST() |
Integer |
getLimitValue() |
org.apache.hadoop.hive.ql.parse.ASTNode |
getOrderByAST() |
String |
getOrderByTree() |
org.apache.hadoop.hive.ql.parse.ASTNode |
getSelectAST() |
String |
getSelectTree() |
org.apache.hadoop.hive.ql.parse.ASTNode |
getWhereAST() |
String |
getWhereTree() |
int |
hashCode() |
void |
setGroupByAST(org.apache.hadoop.hive.ql.parse.ASTNode groupByAST) |
void |
setHavingAST(org.apache.hadoop.hive.ql.parse.ASTNode havingAST) |
void |
setJoinAST(org.apache.hadoop.hive.ql.parse.ASTNode joinAST) |
void |
setLimitValue(Integer limitValue) |
void |
setOrderByAST(org.apache.hadoop.hive.ql.parse.ASTNode orderByAST) |
void |
setSelectAST(org.apache.hadoop.hive.ql.parse.ASTNode selectAST) |
void |
setWhereAST(org.apache.hadoop.hive.ql.parse.ASTNode whereAST) |
String |
toString() |
@ConstructorProperties(value={"selectAST","whereAST","groupByAST","havingAST","joinAST","orderByAST","limitValue"}) @Generated(value="lombok") public DefaultQueryAST(org.apache.hadoop.hive.ql.parse.ASTNode selectAST, org.apache.hadoop.hive.ql.parse.ASTNode whereAST, org.apache.hadoop.hive.ql.parse.ASTNode groupByAST, org.apache.hadoop.hive.ql.parse.ASTNode havingAST, org.apache.hadoop.hive.ql.parse.ASTNode joinAST, org.apache.hadoop.hive.ql.parse.ASTNode orderByAST, Integer limitValue)
public String getSelectTree()
public String getWhereTree()
public String getGroupByTree()
public String getHavingTree()
public String getOrderByTree()
public static DefaultQueryAST fromCandidateFact(CandidateFact fact, String storageTable, org.apache.lens.cube.parse.QueryAST ast) throws LensException
LensException
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.ASTNode getSelectAST()
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.ASTNode getWhereAST()
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.ASTNode getGroupByAST()
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.ASTNode getHavingAST()
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.ASTNode getJoinAST()
@Generated(value="lombok") public org.apache.hadoop.hive.ql.parse.ASTNode getOrderByAST()
@Generated(value="lombok") public Integer getLimitValue()
@Generated(value="lombok") public void setSelectAST(org.apache.hadoop.hive.ql.parse.ASTNode selectAST)
selectAST
- the selectAST to set@Generated(value="lombok") public void setWhereAST(org.apache.hadoop.hive.ql.parse.ASTNode whereAST)
whereAST
- the whereAST to set@Generated(value="lombok") public void setGroupByAST(org.apache.hadoop.hive.ql.parse.ASTNode groupByAST)
@Generated(value="lombok") public void setHavingAST(org.apache.hadoop.hive.ql.parse.ASTNode havingAST)
havingAST
- the havingAST to set@Generated(value="lombok") public void setJoinAST(org.apache.hadoop.hive.ql.parse.ASTNode joinAST)
@Generated(value="lombok") public void setOrderByAST(org.apache.hadoop.hive.ql.parse.ASTNode orderByAST)
@Generated(value="lombok") public void setLimitValue(Integer limitValue)
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.