|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Indicates an object that can be queried, such as an Extent or persistent collection.
QueryStatement
Method Summary | |
boolean |
alreadyDistinct()
Indicates whether or not the candidate collection contains a set of distinct (unique) objects. |
java.lang.Class |
getCandidateClass()
Returns the default class of candidate objects contained in this queryable collection. |
SqlExpression |
newQueryStatement(java.lang.Class candidateClass)
Creates a prototypical query statement over the underlying collection, pre-filtered to include only objects of the specified class. |
Method Detail |
public java.lang.Class getCandidateClass()
public boolean alreadyDistinct()
true
if the candidate objects are all unique,
false
if there may be duplicates.public SqlExpression newQueryStatement(java.lang.Class candidateClass)
candidateClass
- The class of objects to query over.
javax.jdo.JDOUserException
- If candidateClass is not the same as or a subclass of
the defined element type for this collection.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |