| |
|
| java.lang.Object org.jpox.store.query.Query org.jpox.store.query.AbstractJavaQuery org.jpox.store.query.AbstractJDOQLQuery
AbstractJDOQLQuery | abstract public class AbstractJDOQLQuery extends AbstractJavaQuery (Code) | | Abstract representation of a JDOQL query used by JPOX.
The query can be specified via method calls, or via a single-string form.
See Also: Query version: $Revision: 1.5 $ |
Method Summary | |
public String | getSingleStringQuery() Method to take the defined parameters for the query and form a single string. | public static boolean | isKeyword(String name) Convenience method returning if the supplied name is a keyword for this query language. | protected long | performDeletePersistentAll(Map parameters) Execute the query to delete persistent objects.
Parameters: parameters - the Map containing all of the parameters. | public void | setGrouping(String grouping) Set the grouping specification for the result Collection. |
SINGLE_STRING_KEYWORDS | final public static String[] SINGLE_STRING_KEYWORDS(Code) | | Keywords used in single-string JDOQL. Uppercase variants specified here, but we allow the lowercase form.
|
SINGLE_STRING_KEYWORDS_LOWERCASE | final public static String[] SINGLE_STRING_KEYWORDS_LOWERCASE(Code) | | Keywords in lowercase (we avoid calling toLowerCase() multiple times, which is expensive operation) *
|
AbstractJDOQLQuery | public AbstractJDOQLQuery(ObjectManager om)(Code) | | Constructor.
Parameters: om - ObjectManager |
getSingleStringQuery | public String getSingleStringQuery()(Code) | | Method to take the defined parameters for the query and form a single string.
This is used to print out the query for logging.
The single string |
isKeyword | public static boolean isKeyword(String name)(Code) | | Convenience method returning if the supplied name is a keyword for this query language.
Parameters: name - Name to check Whether it is a keyword |
performDeletePersistentAll | protected long performDeletePersistentAll(Map parameters)(Code) | | Execute the query to delete persistent objects.
Parameters: parameters - the Map containing all of the parameters. the number of deleted objects. |
setGrouping | public void setGrouping(String grouping)(Code) | | Set the grouping specification for the result Collection.
Parameters: grouping - the grouping specification. |
Methods inherited from org.jpox.store.query.Query | public void addExtension(String key, Object value)(Code)(Java Doc) public void addSubquery(Query sub, String variableDecl, String candidateExpr, Map paramMap)(Code)(Java Doc) protected boolean applyRangeChecks()(Code)(Java Doc) protected void assertIsModifiable()(Code)(Java Doc) public void close(Object queryResult)(Code)(Java Doc) public void closeAll()(Code)(Java Doc) public void compile()(Code)(Java Doc) abstract protected void compileInternal(boolean forExecute, Map parameterValues)(Code)(Java Doc) public void declareExplicitParameters(String parameters)(Code)(Java Doc) public void declareExplicitVariables(String variables)(Code)(Java Doc) public void declareImports(String imports)(Code)(Java Doc) public long deletePersistentAll()(Code)(Java Doc) public long deletePersistentAll(Object[] parameters)(Code)(Java Doc) public long deletePersistentAll(Map parameters)(Code)(Java Doc) protected void discardCompiled()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public Object execute()(Code)(Java Doc) public Object execute(Object p1)(Code)(Java Doc) public Object execute(Object p1, Object p2)(Code)(Java Doc) public Object execute(Object p1, Object p2, Object p3)(Code)(Java Doc) public Object executeWithArray(Object[] parameterValues)(Code)(Java Doc) public Object executeWithMap(Map parameters)(Code)(Java Doc) public Class getCandidateClass()(Code)(Java Doc) public String getCandidateClassName()(Code)(Java Doc) public String getExplicitParameters()(Code)(Java Doc) public String getExplicitVariables()(Code)(Java Doc) public Object getExtension(String key)(Code)(Java Doc) public FetchPlan getFetchPlan()(Code)(Java Doc) public String getFilter()(Code)(Java Doc) public String getFrom()(Code)(Java Doc) public String getGrouping()(Code)(Java Doc) public String getHaving()(Code)(Java Doc) public boolean getIgnoreCache()(Code)(Java Doc) public String getImports()(Code)(Java Doc) public ObjectManager getObjectManager()(Code)(Java Doc) public String getOrdering()(Code)(Java Doc) protected Imports getParsedImports()(Code)(Java Doc) public String getRange()(Code)(Java Doc) public long getRangeFromIncl()(Code)(Java Doc) public long getRangeToExcl()(Code)(Java Doc) public String getResult()(Code)(Java Doc) public Class getResultClass()(Code)(Java Doc) public String getResultClassName()(Code)(Java Doc) public StoreManager getStoreManager()(Code)(Java Doc) public SubqueryDefinition getSubqueryForVariable(String variableName)(Code)(Java Doc) public short getType()(Code)(Java Doc) public boolean hasSubqueryForVariable(String variableName)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isCompiled()(Code)(Java Doc) public boolean isSubclasses()(Code)(Java Doc) public boolean isUnique()(Code)(Java Doc) public boolean isUnmodifiable()(Code)(Java Doc) abstract protected long performDeletePersistentAll(Map parameters)(Code)(Java Doc) abstract protected Object performExecute(Map parameters)(Code)(Java Doc) protected void prepareDatastore()(Code)(Java Doc) public Class resolveClassDeclaration(String classDecl)(Code)(Java Doc) public void setCandidateClassName(String candidateClassName)(Code)(Java Doc) abstract public void setCandidates(Extent pcs)(Code)(Java Doc) abstract public void setCandidates(Collection pcs)(Code)(Java Doc) public void setClass(Class candidateClass)(Code)(Java Doc) public void setExtensions(Map extensions)(Code)(Java Doc) public void setFetchPlan(FetchPlan fp)(Code)(Java Doc) public void setFilter(String filter)(Code)(Java Doc) public void setFrom(String from)(Code)(Java Doc) public void setGrouping(String grouping)(Code)(Java Doc) public void setHaving(String having)(Code)(Java Doc) public void setIgnoreCache(boolean ignoreCache)(Code)(Java Doc) public void setImplicitParameter(String name, Object value)(Code)(Java Doc) public void setImplicitParameter(int position, Object value)(Code)(Java Doc) public void setOrdering(String ordering)(Code)(Java Doc) public void setRange(long fromIncl, long toExcl)(Code)(Java Doc) public void setRange(String range)(Code)(Java Doc) public void setResult(String result)(Code)(Java Doc) public void setResultClass(Class result_cls)(Code)(Java Doc) public void setResultClassName(String resultClassName)(Code)(Java Doc) public void setResultMetaData(QueryResultMetaData qrmd)(Code)(Java Doc) public void setSubclasses(boolean subclasses)(Code)(Java Doc) public void setType(short type)(Code)(Java Doc) public void setUnique(boolean unique)(Code)(Java Doc) public void setUnmodifiable()(Code)(Java Doc) abstract protected boolean shouldReturnSingleRow()(Code)(Java Doc)
|
|
|
|