Method Summary |
|
public void | close(Object queryResult) Close a query result and release any resources associated with it. |
public void | closeAll() Close all query results associated with this Query instance, and release all
resources associated with them. |
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 | declareImports(String imports) Set the import statements to be used to identify the fully qualified
name of variables or parameters. |
public void | declareParameters(String parameters) Declare the list of parameters query execution. |
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 | execute() Execute the query and return the filtered Collection. |
public Object | execute(Object p1) Execute the query and return the filtered Collection.
Parameters: p1 - the value of the first parameter declared. |
public Object | execute(Object p1, Object p2) Execute the query and return the filtered Collection.
Parameters: p1 - the value of the first parameter declared. Parameters: p2 - the value of the second parameter declared. |
public Object | execute(Object p1, Object p2, Object p3) Execute the query and return the filtered Collection.
Parameters: p1 - the value of the first parameter declared. Parameters: p2 - the value of the second parameter declared. Parameters: p3 - the value of the third parameter declared. |
public Object | executeWithArray(Object[] parameters) Execute the query and return the filtered Collection.
Parameters: parameters - the Object array with all of the parameters. |
abstract public Object | executeWithMap(Map parameters) Execute the query and return the filtered Collection.
Parameters: parameters - the Map containing all of the parameters. |
public Class | getCandidateClass() Get the class of the candidate instances of the query. |
public boolean | getIgnoreCache() Get the ignoreCache option setting. |
public javax.jdo.PersistenceManager | getPersistenceManager() Get the PersistenceManager associated with this Query. |
public StoreManager | getStoreManager() Get the StoreManager associated with this Query. |
public int | hashCode() |
protected static boolean | isValidJavaIdentifier(String s) |
public Class | resolveClassDeclaration(String classDecl) |
abstract public void | setCandidates(Extent pcs) Set the candidate Extent to query. |
abstract public void | setCandidates(Collection pcs) Set the candidate Collection to query. |
public void | setClass(Class candidateClass) Set the class of the candidate instances of the query. |
public void | setFilter(String filter) Set the filter for the query. |
public void | setIgnoreCache(boolean ignoreCache) Set the ignoreCache option. |
public void | setOrdering(String ordering) Set the ordering specification for the result Collection. |