Method Summary |
|
public void | addExtension(String key, Object value) Method to add an extension to the query. |
public void | addSubquery(Query sub, String variableDecl, String candidateExpr) Add a subquery to this query. |
public void | addSubquery(Query sub, String variableDecl, String candidateExpr, String parameter) Add a subquery to this query. |
public void | addSubquery(Query sub, String variableDecl, String candidateExpr, String[] parameters) Add a subquery to this query. |
public void | addSubquery(Query sub, String variableDecl, String candidateExpr, Map parameters) Add a subquery to this query. |
public void | close(Object queryResult) Close the query result. |
public void | closeAll() Close all query results for this query. |
public void | compile() Compile the query. |
public void | declareImports(String imports) Declare any imports for the query. |
public void | declareParameters(String parameters) Declare any parameters for the query. |
public void | declareVariables(String variables) Declare any variables for the query. |
public long | deletePersistentAll() Execute the query deleting all instances found. |
public long | deletePersistentAll(Object[] parameters) Execute the query deleting all instances found. |
public long | deletePersistentAll(Map parameters) Execute the query deleting all instances found. |
public Object | execute() Execute the query. |
public Object | execute(Object p1) Execute the query. |
public Object | execute(Object p1, Object p2) Execute the query. |
public Object | execute(Object p1, Object p2, Object p3) Execute the query. |
public Object | executeWithArray(Object[] parameterValues) Execute the query. |
public Object | executeWithMap(Map parameters) Execute the query. |
public FetchPlan | getFetchPlan() Accessor for the fetch plan to use. |
public boolean | getIgnoreCache() |
public org.jpox.store.query.Query | getInternalQuery() Accessor for the internal query. |
public String | getLanguage() Accessor for the query language. |
public PersistenceManager | getPersistenceManager() Accessor for the PersistenceManager. |
public boolean | isUnmodifiable() Accessor for whether the query is modifiable. |
public void | setCandidates(Extent extent) Set the candidates for the query. |
public void | setCandidates(Collection pcs) Set the candidates for the query. |
public void | setClass(Class candidateClass) Set the candidate class for the query. |
public void | setExtensions(Map extensions) Set the extensions for the query. |
public void | setFilter(String filter) Set the filter for the query. |
public void | setGrouping(String grouping) Set the grouping for the query. |
public void | setIgnoreCache(boolean ignoreCache) Set the ignore cache setting for the query. |
public void | setOrdering(String ordering) Set the ordering for the query. |
public void | setRange(String range) Set the range for the query. |
public void | setRange(long fromIncl, long toExcl) Set the range for the query. |
public void | setResult(String result) Set the result for the query. |
public void | setResultClass(Class result_cls) Set the result class for the query. |
public void | setUnique(boolean unique) Set whether to expect a unique result. |
public void | setUnmodifiable() Set the query to be unmodifiable. |
public String | toString() Convenience method to return the query in string form. |