public abstract class AbstractJDOQLTypedQuery<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
candidateAlias
Alias for the candidate of this query.
|
protected Class |
candidateCls
Candidate class for the query.
|
protected ExpressionImpl |
candidates
Candidate expression for the query
|
protected org.datanucleus.query.compiler.QueryCompilation |
compilation
The generic query compilation that this equates to (cached).
|
protected org.datanucleus.ExecutionContext |
ec |
protected BooleanExpressionImpl |
filter
Filter expression.
|
protected List<ExpressionImpl> |
grouping
Grouping expression(s).
|
protected ExpressionImpl |
having
Having expression.
|
protected List<OrderExpressionImpl> |
ordering
Ordering expression(s).
|
protected AbstractJDOQLTypedQuery |
parentQuery |
protected javax.jdo.PersistenceManager |
pm |
protected String |
queryString
The single-string query that this equates to (cached).
|
protected ExpressionImpl |
rangeLowerExpr
Range : lower limit expression.
|
protected ExpressionImpl |
rangeUpperExpr
Range : upper limit expression.
|
protected List<ExpressionImpl> |
result
Result expression(s).
|
protected Class |
resultClass |
protected Boolean |
resultDistinct
Whether the results are distinct (no dups).
|
protected boolean |
subclasses
Whether to include subclasses of the candidate in the query.
|
protected org.datanucleus.store.query.Query.QueryType |
type |
protected boolean |
unique
Whether the result is unique (single row).
|
protected List<ExpressionImpl> |
updateExprs |
protected List<ExpressionImpl> |
updateVals |
Constructor and Description |
---|
AbstractJDOQLTypedQuery(javax.jdo.PersistenceManager pm,
Class<T> cls,
ExpressionImpl<T> candidates,
String alias,
AbstractJDOQLTypedQuery parentQuery) |
AbstractJDOQLTypedQuery(javax.jdo.PersistenceManager pm,
Class<T> cls,
String alias,
AbstractJDOQLTypedQuery parentQuery) |
Modifier and Type | Method and Description |
---|---|
protected org.datanucleus.query.compiler.QueryCompilation |
compile(org.datanucleus.metadata.MetaDataManager mmgr,
org.datanucleus.ClassLoaderResolver clr)
Method to compile the query as it is currently defined.
|
protected void |
discardCompiled()
Called when something is set on the query making any compilation invalid.
|
org.datanucleus.query.compiler.QueryCompilation |
getCompilation()
Accessor for the generic compilation that this criteria query equates to.
|
String |
getJDOQLForExpression(org.datanucleus.query.expression.Expression expr) |
String |
toString()
Method to return the single-string form of this JDOQL query.
|
protected AbstractJDOQLTypedQuery parentQuery
protected org.datanucleus.store.query.Query.QueryType type
protected Class candidateCls
protected ExpressionImpl candidates
protected boolean subclasses
protected String candidateAlias
protected List<ExpressionImpl> updateExprs
protected List<ExpressionImpl> updateVals
protected List<ExpressionImpl> result
protected Boolean resultDistinct
protected boolean unique
protected Class resultClass
protected BooleanExpressionImpl filter
protected List<ExpressionImpl> grouping
protected ExpressionImpl having
protected List<OrderExpressionImpl> ordering
protected ExpressionImpl rangeLowerExpr
protected ExpressionImpl rangeUpperExpr
protected javax.jdo.PersistenceManager pm
protected org.datanucleus.ExecutionContext ec
protected org.datanucleus.query.compiler.QueryCompilation compilation
protected String queryString
public AbstractJDOQLTypedQuery(javax.jdo.PersistenceManager pm, Class<T> cls, String alias, AbstractJDOQLTypedQuery parentQuery)
public AbstractJDOQLTypedQuery(javax.jdo.PersistenceManager pm, Class<T> cls, ExpressionImpl<T> candidates, String alias, AbstractJDOQLTypedQuery parentQuery)
protected void discardCompiled()
protected org.datanucleus.query.compiler.QueryCompilation compile(org.datanucleus.metadata.MetaDataManager mmgr, org.datanucleus.ClassLoaderResolver clr)
mmgr
- Metadata managerclr
- ClassLoader resolverpublic org.datanucleus.query.compiler.QueryCompilation getCompilation()
public String toString()
public String getJDOQLForExpression(org.datanucleus.query.expression.Expression expr)
Copyright © 2020. All rights reserved.