|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lens.cube.parse.SimpleHQLContext
public abstract class SimpleHQLContext
Accepts strings of all expressions and constructs HQL query.
Making this as an abstract class because it provides constructors without all expressions being set.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
|
Method Summary | |
---|---|
String |
getFrom()
Get from string |
String |
getGroupby()
Get groupby string |
String |
getHaving()
Get having string |
Integer |
getLimit()
Get limit |
String |
getOrderby()
Get orderby string |
String |
getSelect()
Get select expression. |
String |
getWhere()
Get where string |
String |
toHQL()
Get the HQL query. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Method Detail |
---|
public String toHQL() throws org.apache.hadoop.hive.ql.parse.SemanticException
HQLContextInterface
toHQL
in interface HQLContextInterface
org.apache.hadoop.hive.ql.parse.SemanticException
public String getFrom()
HQLContextInterface
getFrom
in interface HQLContextInterface
public String getWhere()
HQLContextInterface
getWhere
in interface HQLContextInterface
public String getSelect()
HQLContextInterface
getSelect
in interface HQLContextInterface
public String getGroupby()
HQLContextInterface
getGroupby
in interface HQLContextInterface
public String getHaving()
HQLContextInterface
getHaving
in interface HQLContextInterface
public String getOrderby()
HQLContextInterface
getOrderby
in interface HQLContextInterface
public Integer getLimit()
HQLContextInterface
getLimit
in interface HQLContextInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |