|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.toplink.queryframework.DatabaseQuery | +--oracle.toplink.queryframework.ReadQuery
Purpose: Abstract class for all read queries.
Responsibilities:
Fields inherited from class oracle.toplink.queryframework.DatabaseQuery |
CascadeAggregateDelete, CascadeAllParts, CascadeDependentParts,
CascadePrivateParts, NoCascading, QUERY_PREPARE |
Fields inherited from interface oracle.toplink.internal.helper.FalseUndefinedTrue |
False, True, Undefined |
Constructor Summary |
ReadQuery()
PUBLIC: Initialize the state of the query |
Method Summary |
Type | Method |
---|---|
void |
cacheQueryResults()
PUBLIC: Indicate to the query to cache all query results |
void |
clearQueryResults()
PUBLIC: Clears the current cached results, the next execution with read from the database. |
void |
doNotCacheQueryResults()
PUBLIC: Indicate to the query to not cache any query results |
int |
getMaxRows()
PUBLIC: Return the limit for the maximum number of rows that any ResultSet can contain to the given number. |
boolean |
isReadQuery()
PUBLIC: Return if this is a read query. |
void |
setMaxRows(int maxRows)
PUBLIC: Used to set the limit for the maximum number of rows that any ResultSet can contain to the given number. |
void |
setShouldCacheQueryResults(boolean shouldCacheQueryResults)
PUBLIC: Set if the query should cache the results of the next execution or not. |
boolean |
shouldCacheQueryResults()
PUBLIC: Return if the query should cache the results of the next execution or not. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReadQuery()
Method Detail |
public void cacheQueryResults()
public void clearQueryResults()
public void doNotCacheQueryResults()
public int getMaxRows()
public boolean isReadQuery()
isReadQuery
in class DatabaseQuery
public void setMaxRows(int maxRows)
public void setShouldCacheQueryResults(boolean shouldCacheQueryResults)
public boolean shouldCacheQueryResults()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |