| |
|
| java.lang.Object com.triactive.jdo.store.Query com.triactive.jdo.store.TJDOSQLQuery
TJDOSQLQuery | public class TJDOSQLQuery extends Query (Code) | | A JDO query that uses the default JQOQL language.
author: Mike Martin version: $Revision: 1.11 $ See Also: Query |
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. | public void | declareVariables(String variables) Declare the unbound variables to be used in the query. | 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. | public void | setFilter(String filter) Set the filter for the query. | public void | setOrdering(String ordering) Set the ordering specification for the result Collection. |
TJDOSQLQuery | public TJDOSQLQuery(PersistenceManager pm, StoreManager storeMgr, String tjdoSqlText)(Code) | | Constructs a new query instance having the same criteria as the given
query.
Parameters: pm - The persistence manager. Parameters: storeMgr - The store manager. Parameters: tjdoSqlText - The SQL text of the 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 |
declareVariables | public void declareVariables(String variables)(Code) | | Declare the unbound variables to be used in the query.
This implementation always throws a JDOUserException since this
concept doesn't apply to TJDOSQL queries.
Parameters: variables - the variables separated by semicolons. exception: JDOUserException - Always thrown. See Also: javax.jdo.Query.declareVariables |
discardCompiled | protected void discardCompiled()(Code) | | |
setCandidates | public void setCandidates(Extent pcs)(Code) | | Set the candidate Extent to query.
This implementation always throws a JDOUserException since this
concept doesn't apply to TJDOSQL queries.
Parameters: pcs - the Candidate Extent. exception: JDOUserException - Always thrown. See Also: javax.jdo.Query.setCandidates(javax.jdo.Extent) |
setCandidates | public void setCandidates(Collection pcs)(Code) | | Set the candidate Collection to query.
This implementation always throws a JDOUserException since this
concept doesn't apply to TJDOSQL queries.
Parameters: pcs - the Candidate collection. exception: JDOUserException - Always thrown. See Also: javax.jdo.Query.setCandidates(java.util.Collection) |
setFilter | public void setFilter(String filter)(Code) | | Set the filter for the query.
This implementation always throws a JDOUserException since this
concept doesn't apply to TJDOSQL queries.
Parameters: filter - the query filter. exception: JDOUserException - Always thrown. See Also: javax.jdo.Query.setFilter |
setOrdering | public void setOrdering(String ordering)(Code) | | Set the ordering specification for the result Collection.
This implementation always throws a JDOUserException since this
concept doesn't apply to TJDOSQL queries.
Parameters: ordering - the ordering specification. exception: JDOUserException - Always thrown. See Also: javax.jdo.Query.setOrdering |
|
|
|