|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jdo.query.AbstractTypesafeQuery<T>
public abstract class AbstractTypesafeQuery<T>
Abstract base for a typesafe query. Extended by JDOTypesafeQuery and JDOTypesafeSubquery.
| Field Summary | |
|---|---|
protected java.lang.String |
candidateAlias
Alias for the candidate of this query. |
protected java.lang.Class |
candidateCls
Candidate class for the query. |
protected BooleanExpressionImpl |
filter
Filter expression. |
protected java.util.List<ExpressionImpl> |
grouping
Grouping expression(s). |
protected ExpressionImpl |
having
Having expression. |
protected ObjectManager |
om
|
protected java.util.List<OrderExpressionImpl> |
ordering
Ordering expression(s). |
protected javax.jdo.PersistenceManager |
pm
|
protected java.util.List<ExpressionImpl> |
result
Result expression(s). |
protected java.lang.Boolean |
resultDistinct
Whether the results are distinct (no dups). |
| Constructor Summary | |
|---|---|
AbstractTypesafeQuery(javax.jdo.PersistenceManager pm,
java.lang.Class<T> cls,
java.lang.String alias)
|
|
| Method Summary | |
|---|---|
protected QueryCompilation |
compile(MetaDataManager mmgr,
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. |
QueryCompilation |
getCompilation()
Accessor for the generic compilation that this criteria query equates to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Class candidateCls
protected java.lang.String candidateAlias
protected java.util.List<ExpressionImpl> result
protected java.lang.Boolean resultDistinct
protected BooleanExpressionImpl filter
protected java.util.List<ExpressionImpl> grouping
protected ExpressionImpl having
protected java.util.List<OrderExpressionImpl> ordering
protected javax.jdo.PersistenceManager pm
protected ObjectManager om
| Constructor Detail |
|---|
public AbstractTypesafeQuery(javax.jdo.PersistenceManager pm,
java.lang.Class<T> cls,
java.lang.String alias)
| Method Detail |
|---|
protected void discardCompiled()
protected QueryCompilation compile(MetaDataManager mmgr,
ClassLoaderResolver clr)
mmgr - Metadata managerclr - ClassLoader resolver
public QueryCompilation getCompilation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||