|
|||||||||||
| 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.TJDOSQLQuery
A JDO query that uses the default JQOQL language.
Query,
Serialized Form| Nested Class Summary |
| Nested classes 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 | |
TJDOSQLQuery(PersistenceManager pm,
StoreManager storeMgr,
java.lang.String tjdoSqlText)
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. |
void |
declareVariables(java.lang.String variables)
Declare the unbound variables to be used in the query. |
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. |
void |
setFilter(java.lang.String filter)
Set the filter for the query. |
void |
setOrdering(java.lang.String ordering)
Set the ordering specification for the result Collection. |
| Methods inherited from class com.triactive.jdo.store.Query |
close, closeAll, declareImports, declareParameters, execute, execute, execute, execute, executeWithArray, getCandidateClass, getIgnoreCache, getPersistenceManager, getStoreManager, hashCode, isValidJavaIdentifier, resolveClassDeclaration, setClass, setIgnoreCache |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TJDOSQLQuery(PersistenceManager pm,
StoreManager storeMgr,
java.lang.String tjdoSqlText)
| Method Detail |
protected void discardCompiled()
discardCompiled in class Querypublic boolean equals(java.lang.Object obj)
equals in class Querypublic void setCandidates(javax.jdo.Extent pcs)
This implementation always throws a JDOUserException since this concept doesn't apply to TJDOSQL queries.
setCandidates in interface javax.jdo.QuerysetCandidates in class Querypcs - the Candidate Extent.
javax.jdo.JDOUserException - Always thrown.Query.setCandidates(javax.jdo.Extent)public void setCandidates(java.util.Collection pcs)
This implementation always throws a JDOUserException since this concept doesn't apply to TJDOSQL queries.
setCandidates in interface javax.jdo.QuerysetCandidates in class Querypcs - the Candidate collection.
javax.jdo.JDOUserException - Always thrown.Query.setCandidates(java.util.Collection)public void setFilter(java.lang.String filter)
This implementation always throws a JDOUserException since this concept doesn't apply to TJDOSQL queries.
setFilter in interface javax.jdo.QuerysetFilter in class Queryfilter - the query filter.
javax.jdo.JDOUserException - Always thrown.Query.setFilter(java.lang.String)public void declareVariables(java.lang.String variables)
This implementation always throws a JDOUserException since this concept doesn't apply to TJDOSQL queries.
declareVariables in interface javax.jdo.QuerydeclareVariables in class Queryvariables - the variables separated by semicolons.
javax.jdo.JDOUserException - Always thrown.Query.declareVariables(java.lang.String)public void setOrdering(java.lang.String ordering)
This implementation always throws a JDOUserException since this concept doesn't apply to TJDOSQL queries.
setOrdering in interface javax.jdo.QuerysetOrdering in class Queryordering - the ordering specification.
javax.jdo.JDOUserException - Always thrown.Query.setOrdering(java.lang.String)public void compile()
compile in interface javax.jdo.Querycompile in class QueryQuery.compile()public java.lang.Object executeWithMap(java.util.Map parameters)
executeWithMap in interface javax.jdo.QueryexecuteWithMap in class Queryparameters - 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 | ||||||||||