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

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext.JPQLContextBuilder
      extended by org.apache.olingo.odata2.jpa.processor.core.jpql.JPQLSelectContext.JPQLSelectContextBuilder
Direct Known Subclasses:
JPQLJoinSelectContext.JPQLJoinContextBuilder
Enclosing class:
JPQLSelectContext

public class JPQLSelectContext.JPQLSelectContextBuilder
extends JPQLContext.JPQLContextBuilder


Field Summary
protected  GetEntitySetUriInfo entitySetView
           
 
Fields inherited from class org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext.JPQLContextBuilder
aliasCounter, withPaging
 
Constructor Summary
JPQLSelectContext.JPQLSelectContextBuilder()
           
 
Method Summary
 JPQLContext build()
           
protected  HashMap<String,String> generateOrderByFileds()
           
protected  String generateSelectExpression()
           
protected  String generateWhereExpression()
           
protected  void setResultsView(Object resultsView)
           
 
Methods inherited from class org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext.JPQLContextBuilder
generateJPAEntityAlias, resetAliasCounter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entitySetView

protected GetEntitySetUriInfo entitySetView
Constructor Detail

JPQLSelectContext.JPQLSelectContextBuilder

public JPQLSelectContext.JPQLSelectContextBuilder()
Method Detail

build

public JPQLContext build()
                  throws ODataJPAModelException,
                         ODataJPARuntimeException
Specified by:
build in class JPQLContext.JPQLContextBuilder
Throws:
ODataJPAModelException
ODataJPARuntimeException

setResultsView

protected void setResultsView(Object resultsView)
Specified by:
setResultsView in class JPQLContext.JPQLContextBuilder

generateSelectExpression

protected String generateSelectExpression()
                                   throws EdmException
Throws:
EdmException

generateOrderByFileds

protected HashMap<String,String> generateOrderByFileds()
                                                throws ODataJPARuntimeException,
                                                       EdmException
Throws:
ODataJPARuntimeException
EdmException

generateWhereExpression

protected String generateWhereExpression()
                                  throws ODataException
Throws:
ODataException


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