public abstract class AbstractTypesafeQuery<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 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 javax.jdo.PersistenceManager |
pm |
protected List<ExpressionImpl> |
result
Result expression(s).
|
protected Boolean |
resultDistinct
Whether the results are distinct (no dups).
|
protected org.datanucleus.api.jdo.query.AbstractTypesafeQuery.QueryType |
type |
protected List<ExpressionImpl> |
updateExprs |
protected List<ExpressionImpl> |
updateVals |
Constructor and Description |
---|
AbstractTypesafeQuery(javax.jdo.PersistenceManager pm,
Class<T> cls,
String alias) |
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.
|
protected org.datanucleus.api.jdo.query.AbstractTypesafeQuery.QueryType type
protected Class candidateCls
protected String candidateAlias
protected List<ExpressionImpl> updateExprs
protected List<ExpressionImpl> updateVals
protected List<ExpressionImpl> result
protected Boolean resultDistinct
protected BooleanExpressionImpl filter
protected List<ExpressionImpl> grouping
protected ExpressionImpl having
protected List<OrderExpressionImpl> ordering
protected javax.jdo.PersistenceManager pm
protected org.datanucleus.ExecutionContext ec
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()
Copyright © 2023. All rights reserved.