org.apache.lens.cube.parse
Interface HQLContextInterface

All Known Implementing Classes:
FactHQLContext, SimpleHQLContext

public interface HQLContextInterface

HQL context holding the ql expressions


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.
 

Method Detail

toHQL

String toHQL()
             throws org.apache.hadoop.hive.ql.parse.SemanticException
Get the HQL query.

Returns:
query string
Throws:
org.apache.hadoop.hive.ql.parse.SemanticException

getSelect

String getSelect()
Get select expression.

Returns:
select

getFrom

String getFrom()
Get from string

Returns:
from

getWhere

String getWhere()
Get where string

Returns:
where

getGroupby

String getGroupby()
Get groupby string

Returns:
groupby

getHaving

String getHaving()
Get having string

Returns:
having

getOrderby

String getOrderby()
Get orderby string

Returns:
orderby

getLimit

Integer getLimit()
Get limit

Returns:
limit


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.