|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.olingo.odata2.jpa.processor.api.jpql.JPQLContext.JPQLContextBuilder
public abstract static class JPQLContext.JPQLContextBuilder
The abstract class is extended by specific JPQLContext builder for building JPQLContexts.
Field Summary | |
---|---|
protected int |
aliasCounter
alias counter is an integer counter that is incremented by "1" for every new alias name generation. |
protected boolean |
withPaging
|
Constructor Summary | |
---|---|
protected |
JPQLContext.JPQLContextBuilder()
|
Method Summary | |
---|---|
abstract JPQLContext |
build()
The abstract method is implemented by specific JPQL context builders to build JPQL Contexts. |
protected String |
generateJPAEntityAlias()
The method returns a system generated alias name starting with prefix "E" and ending with suffix "aliasCounter". |
protected void |
resetAliasCounter()
The method resets the alias counter value to "0". |
protected abstract void |
setResultsView(Object resultsView)
The abstract method is implemented by specific JPQL context builder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int aliasCounter
protected boolean withPaging
Constructor Detail |
---|
protected JPQLContext.JPQLContextBuilder()
Method Detail |
---|
public abstract JPQLContext build() throws ODataJPAModelException, ODataJPARuntimeException
JPQLContext
ODataJPAModelException
ODataJPARuntimeException
protected abstract void setResultsView(Object resultsView)
resultsView
- is an instance representing OData request.protected void resetAliasCounter()
protected String generateJPAEntityAlias()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |