|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.triactive.jdo.store.Query
com.triactive.jdo.store.JDOQLQuery
public class JDOQLQuery
A JDO query that uses the default JQOQL language.
Query
,
Serialized FormNested Class Summary | |
---|---|
class |
JDOQLQuery.Compiler
|
Nested classes/interfaces inherited from class com.triactive.jdo.store.Query |
---|
Query.ResultObjectFactory |
Field Summary |
---|
Fields inherited from class com.triactive.jdo.store.Query |
---|
candidateClass, dba, filter, imports, isCompiled, ordering, parameterNames, parameters, parameterTypesByName, parsedImports, pm, queryResults, storeMgr, variableNames, variables, variableTypesByName |
Constructor Summary | |
---|---|
JDOQLQuery()
Constructs a new query instance having no persistence manager. |
|
JDOQLQuery(PersistenceManager pm,
StoreManager storeMgr)
Constructs a new query instance that uses the given persistence manager. |
|
JDOQLQuery(PersistenceManager pm,
StoreManager storeMgr,
JDOQLQuery q)
Constructs a new query instance having the same criteria as the given query. |
Method Summary | |
---|---|
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()
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
executeWithMap(java.util.Map parameters)
Execute the query and return the filtered Collection. |
void |
setCandidates(java.util.Collection pcs)
Set the candidate Collection to query. |
void |
setCandidates(javax.jdo.Extent pcs)
Set the candidate Extent to query. |
Methods inherited from class com.triactive.jdo.store.Query |
---|
close, closeAll, declareImports, declareParameters, declareVariables, execute, execute, execute, execute, executeWithArray, getCandidateClass, getIgnoreCache, getPersistenceManager, getStoreManager, hashCode, isValidJavaIdentifier, resolveClassDeclaration, setClass, setFilter, setIgnoreCache, setOrdering |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDOQLQuery()
public JDOQLQuery(PersistenceManager pm, StoreManager storeMgr)
pm
- the associated persistence manager for this query.public JDOQLQuery(PersistenceManager pm, StoreManager storeMgr, JDOQLQuery q)
q
- the query from which to copy criteria.Method Detail |
---|
protected void discardCompiled()
discardCompiled
in class Query
public boolean equals(java.lang.Object obj)
equals
in class Query
public void setCandidates(javax.jdo.Extent pcs)
setCandidates
in interface javax.jdo.Query
setCandidates
in class Query
pcs
- the Candidate Extent.Query.setCandidates(javax.jdo.Extent)
public void setCandidates(java.util.Collection pcs)
setCandidates
in interface javax.jdo.Query
setCandidates
in class Query
pcs
- the Candidate collection.Query.setCandidates(java.util.Collection)
public void compile()
compile
in interface javax.jdo.Query
compile
in class Query
Query.compile()
public java.lang.Object executeWithMap(java.util.Map parameters)
executeWithMap
in interface javax.jdo.Query
executeWithMap
in class Query
parameters
- the Map containing all of the parameters.
Query.executeWithMap(Map)
,
Query.executeWithArray(Object[] parameters)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |