|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 org.apache.commons.logging.Log LOG
| Method Detail |
|---|
public String toHQL()
throws org.apache.hadoop.hive.ql.parse.SemanticException
HQLContextInterface
toHQL in interface HQLContextInterfaceorg.apache.hadoop.hive.ql.parse.SemanticExceptionpublic String getFrom()
HQLContextInterface
getFrom in interface HQLContextInterfacepublic String getWhere()
HQLContextInterface
getWhere in interface HQLContextInterfacepublic String getSelect()
HQLContextInterface
getSelect in interface HQLContextInterfacepublic String getGroupby()
HQLContextInterface
getGroupby in interface HQLContextInterfacepublic String getHaving()
HQLContextInterface
getHaving in interface HQLContextInterfacepublic String getOrderby()
HQLContextInterface
getOrderby in interface HQLContextInterfacepublic Integer getLimit()
HQLContextInterface
getLimit in interface HQLContextInterface
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||