| |
|
| java.lang.Object com.triactive.jdo.store.Query com.triactive.jdo.store.JDOQLQuery
JDOQLQuery | public class JDOQLQuery extends Query (Code) | | A JDO query that uses the default JQOQL language.
author: Mike Martin version: $Revision: 1.10 $ See Also: Query |
Inner Class :public class Compiler | |
Method Summary | |
public void | compile() Verify the elements of the query and provide a hint to the query to
prepare and optimize an execution plan. | protected void | discardCompiled() | public boolean | equals(Object obj) | public Object | executeWithMap(Map parameters) Execute the query and return the filtered Collection.
Parameters: parameters - the Map containing all of the parameters. | public void | setCandidates(Extent pcs) Set the candidate Extent to query. | public void | setCandidates(Collection pcs) Set the candidate Collection to query. |
JDOQLQuery | public JDOQLQuery()(Code) | | Constructs a new query instance having no persistence manager. The
resulting query cannot be executed, but can be used to create a new
query instance having the same criteria.
|
JDOQLQuery | public JDOQLQuery(PersistenceManager pm, StoreManager storeMgr)(Code) | | Constructs a new query instance that uses the given persistence manager.
Parameters: pm - the associated persistence manager for this query. |
compile | public void compile()(Code) | | Verify the elements of the query and provide a hint to the query to
prepare and optimize an execution plan.
See Also: javax.jdo.Query.compile |
discardCompiled | protected void discardCompiled()(Code) | | |
setCandidates | public void setCandidates(Extent pcs)(Code) | | Set the candidate Extent to query.
Parameters: pcs - the Candidate Extent. See Also: javax.jdo.Query.setCandidates(javax.jdo.Extent) |
setCandidates | public void setCandidates(Collection pcs)(Code) | | Set the candidate Collection to query.
Parameters: pcs - the Candidate collection. See Also: javax.jdo.Query.setCandidates(java.util.Collection) |
|
|
|