public abstract static class JPQLContext.JPQLContextBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
aliasCounter
alias counter is an integer counter that is incremented by "1" for
every new alias name generation.
|
protected boolean |
withPaging |
Modifier | Constructor and Description |
---|---|
protected |
JPQLContextBuilder() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected int aliasCounter
protected boolean withPaging
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()
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.