org.apache.olingo.odata2.jpa.processor.core.jpql
Class JPQLSelectContext

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext
      extended by org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLSelectContext
All Implemented Interfaces:
JPQLContextView, JPQLSelectContextView
Direct Known Subclasses:
JPQLJoinSelectContext

public class JPQLSelectContext
extends JPQLContext
implements JPQLSelectContextView


Nested Class Summary
 class JPQLSelectContext.JPQLSelectContextBuilder
           
 
Nested classes/interfaces inherited from class org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext
JPQLContext.JPQLContextBuilder
 
Field Summary
protected  boolean isCountOnly
           
protected  HashMap<String,String> orderByCollection
           
protected  String selectExpression
           
protected  String whereCondition
           
 
Fields inherited from class org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext
jpaEntityAlias, jpaEntityName, pagingRequested, type
 
Constructor Summary
JPQLSelectContext(boolean isCountOnly)
           
 
Method Summary
 HashMap<String,String> getOrderByCollection()
           
 String getSelectExpression()
           
 String getWhereExpression()
           
protected  void setOrderByCollection(HashMap<String,String> orderByCollection)
           
protected  void setSelectExpression(String selectExpression)
           
protected  void setWhereExpression(String filterExpression)
           
 
Methods inherited from class org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext
createBuilder, createBuilder, getJPAEntityAlias, getJPAEntityName, getType, isPagingRequested, setJPAEntityAlias, setJPAEntityName, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContextView
getJPAEntityAlias, getJPAEntityName, getType
 

Field Detail

selectExpression

protected String selectExpression

orderByCollection

protected HashMap<String,String> orderByCollection

whereCondition

protected String whereCondition

isCountOnly

protected boolean isCountOnly
Constructor Detail

JPQLSelectContext

public JPQLSelectContext(boolean isCountOnly)
Method Detail

setOrderByCollection

protected final void setOrderByCollection(HashMap<String,String> orderByCollection)

setWhereExpression

protected final void setWhereExpression(String filterExpression)

setSelectExpression

protected final void setSelectExpression(String selectExpression)

getSelectExpression

public String getSelectExpression()
Specified by:
getSelectExpression in interface JPQLSelectContextView

getOrderByCollection

public HashMap<String,String> getOrderByCollection()
Specified by:
getOrderByCollection in interface JPQLSelectContextView

getWhereExpression

public String getWhereExpression()
Specified by:
getWhereExpression in interface JPQLSelectContextView


Copyright © 2013-2014 The Apache Software Foundation. All Rights Reserved.