|
Kodo 4.1.4 generated on June 22 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KodoQuery
Interface implemented by Kodo JDO queries.
Field Summary | |
---|---|
static String |
LANG_JDO_SQL
|
Fields inherited from interface javax.jdo.Query |
---|
JDOQL, SQL |
Fields inherited from interface org.apache.openjpa.kernel.QueryFlushModes |
---|
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION |
Method Summary | |
---|---|
void |
addAggregateListener(AggregateListener listener)
Register an aggregate listener for the query. |
void |
addFilterListener(FilterListener listener)
Register a filter listener for the query. |
Class |
getCandidateClass()
Return the class of the objects that this query will return, or null if this information is not available /
not relevant. |
Collection |
getCandidateCollection()
Return the candidate collection, or null if an
extent was specified instead of a collection. |
Extent |
getCandidateExtent()
Return the candidate extent, or null if a
collection was specified instead of an extent. |
String[] |
getDataStoreActions(Map params)
Returns a description of the commands that will be sent to the datastore in order to execute this query. |
long |
getEndRange()
Return the 0-based exclusive end index for the returned results, or Long.MAX_VALUE for no limit. |
String |
getFilter()
Return the filter that this query has been configured with. |
String |
getGrouping()
Return the grouping expression for this query. |
String |
getImports()
The import declaration. |
String |
getLanguage()
Return the language of this query. |
String |
getOrdering()
The ordering expression. |
String |
getParameters()
The declared parameters. |
String |
getQueryString()
Return a single-string representation of the query, if applicable. |
String |
getResult()
Return the result expression set for this query. |
Class |
getResultClass()
Returns the result class that has been set through Query.setResultClass(java.lang.Class) , or null if none. |
long |
getStartRange()
Return the 0-based start index for the returned results. |
String |
getVariables()
The declared variables. |
boolean |
hasSubclasses()
Whether query results will include subclasses of the candidate class. |
boolean |
isUnique()
The unique flag. |
void |
removeAggregateListener(AggregateListener listener)
Remove an aggregate listener from the query. |
void |
removeFilterListener(FilterListener listener)
Remove a filter listener from the query. |
long |
updatePersistentAll()
Issue the update query. |
long |
updatePersistentAll(Map params)
Issue the update query. |
long |
updatePersistentAll(Object[] params)
Issue the update query. |
Methods inherited from interface javax.jdo.Query |
---|
addExtension, close, closeAll, compile, declareImports, declareParameters, declareVariables, deletePersistentAll, deletePersistentAll, deletePersistentAll, execute, execute, execute, execute, executeWithArray, executeWithMap, getFetchPlan, getIgnoreCache, getPersistenceManager, isUnmodifiable, setCandidates, setCandidates, setClass, setExtensions, setFilter, setGrouping, setIgnoreCache, setOrdering, setRange, setRange, setResult, setResultClass, setUnique, setUnmodifiable |
Field Detail |
---|
static final String LANG_JDO_SQL
Method Detail |
---|
String getLanguage()
void addFilterListener(FilterListener listener)
void removeFilterListener(FilterListener listener)
void addAggregateListener(AggregateListener listener)
void removeAggregateListener(AggregateListener listener)
String[] getDataStoreActions(Map params)
params
- the named parameter map for the query invocationExtent getCandidateExtent()
null
if a
collection was specified instead of an extent.
Collection getCandidateCollection()
null
if an
extent was specified instead of a collection.
Class getCandidateClass()
null
if this information is not available /
not relevant.
boolean hasSubclasses()
String getQueryString()
String getFilter()
String getOrdering()
String getImports()
String getParameters()
String getVariables()
boolean isUnique()
String getResult()
Class getResultClass()
Query.setResultClass(java.lang.Class)
, or null if none.
String getGrouping()
long getStartRange()
long getEndRange()
Long.MAX_VALUE
for no limit.
long updatePersistentAll()
long updatePersistentAll(Object[] params)
long updatePersistentAll(Map params)
|
Kodo 4.1.4 generated on June 22 2007 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |