| com.triactive.jdo.store.Queryable
All known Subclasses: com.triactive.jdo.store.ClassViewExtent, com.triactive.jdo.sco.HashSet, com.triactive.jdo.store.ClassBaseTableExtent,
Queryable | public interface Queryable (Code) | | Indicates an object that can be queried, such as an Extent or persistent
collection.
author: Mike Martin version: $Revision: 1.4 $ See Also: QueryStatement |
getCandidateClass | Class getCandidateClass()(Code) | | Returns the default class of candidate objects contained in this
queryable collection.
The default candidate class. |
newQueryStatement | QueryStatement newQueryStatement(Class candidateClass)(Code) | | Returns a prototypical query statement over the underlying collection,
pre-filtered to include only objects of the specified class.
Parameters: candidateClass - The class of objects to query over.The new prototypical query statement. exception: JDOUserException - If candidateClass is not the same as or a subclass ofthe defined element type for this collection. |
newResultObjectFactory | Query.ResultObjectFactory newResultObjectFactory(QueryStatement stmt)(Code) | | Returns a suitable query result factory for results produced by the
specified query.
The stmt argument must have been obtained by a previous call
to newQueryStatement() on the same Queryable.
A factory for creating PersistenceCapable objects from queryresults. |
|
|