|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
QueryMetadata
.
public interface GenericSelectQuery
A query that returns result set.
Field Summary | |
---|---|
static java.lang.String |
CACHE_POLICY_DEFAULT
Deprecated. |
static java.lang.String |
CACHE_POLICY_PROPERTY
Deprecated. |
static int |
FETCH_LIMIT_DEFAULT
Deprecated. Defines default query fetch limit, which is zero, meaning that all matching rows should be fetched. |
static java.lang.String |
FETCH_LIMIT_PROPERTY
Deprecated. Defines the name of the property for the query fetch limit . |
static boolean |
FETCHING_DATA_ROWS_DEFAULT
Deprecated. |
static java.lang.String |
FETCHING_DATA_ROWS_PROPERTY
Deprecated. |
static java.lang.String |
LOCAL_CACHE
Deprecated. A cache policy ruling that query results shall be cached separately for each DataContext. |
static java.lang.String |
NO_CACHE
Deprecated. A cache policy that disables caching of query results. |
static int |
PAGE_SIZE_DEFAULT
Deprecated. Defines default query page size, which is zero for no pagination. |
static java.lang.String |
PAGE_SIZE_PROPERTY
Deprecated. Defines the name of the property for the query page size . |
static boolean |
REFRESHING_OBJECTS_DEFAULT
Deprecated. |
static java.lang.String |
REFRESHING_OBJECTS_PROPERTY
Deprecated. |
static boolean |
RESOLVING_INHERITED_DEFAULT
Deprecated. |
static java.lang.String |
RESOLVING_INHERITED_PROPERTY
Deprecated. |
static java.lang.String |
SHARED_CACHE
Deprecated. A cache policy ruling that query results shall be stored in a shared cache accessible by all DataContexts. |
Method Summary | |
---|---|
java.lang.String |
getCachePolicy()
Deprecated. Returns query cache policy, which can be one of NO_CACHE ,
LOCAL_CACHE , or SHARED_CACHE . |
int |
getFetchLimit()
Deprecated. Returns the limit on the maximium number of records that can be returned by this query. |
int |
getPageSize()
Deprecated. Returns query page size. |
PrefetchTreeNode |
getPrefetchTree()
Deprecated. Returns a root node of prefetch tree used by this query, or null of no prefetches are configured. |
boolean |
isFetchingDataRows()
Deprecated. Returns true if this query should produce a list of data rows as
opposed to DataObjects, false for DataObjects. |
boolean |
isRefreshingObjects()
Deprecated. Returns true if the query results should replace any currently
cached values, returns false otherwise. |
boolean |
isResolvingInherited()
Deprecated. Returns true if objects fetched via this query should be fully resolved according to the inheritance hierarchy. |
Methods inherited from interface org.apache.cayenne.query.Query |
---|
createSQLAction, getMetaData, getName, getRoot, route, setName, setRoot |
Field Detail |
---|
static final java.lang.String NO_CACHE
static final java.lang.String LOCAL_CACHE
static final java.lang.String SHARED_CACHE
static final java.lang.String FETCH_LIMIT_PROPERTY
fetch limit
.
static final int FETCH_LIMIT_DEFAULT
static final java.lang.String PAGE_SIZE_PROPERTY
page size
.
static final int PAGE_SIZE_DEFAULT
static final java.lang.String FETCHING_DATA_ROWS_PROPERTY
static final boolean FETCHING_DATA_ROWS_DEFAULT
static final java.lang.String REFRESHING_OBJECTS_PROPERTY
static final boolean REFRESHING_OBJECTS_DEFAULT
static final java.lang.String RESOLVING_INHERITED_PROPERTY
static final boolean RESOLVING_INHERITED_DEFAULT
static final java.lang.String CACHE_POLICY_PROPERTY
static final java.lang.String CACHE_POLICY_DEFAULT
Method Detail |
---|
java.lang.String getCachePolicy()
NO_CACHE
,
LOCAL_CACHE
, or SHARED_CACHE
. NO_CACHE is generally a default
policy.
boolean isFetchingDataRows()
true
if this query should produce a list of data rows as
opposed to DataObjects, false
for DataObjects. This is a hint to
QueryEngine executing this query.
boolean isRefreshingObjects()
true
if the query results should replace any currently
cached values, returns false
otherwise. If
isFetchingDataRows()
returns true
, this setting is not
applicable and has no effect.
boolean isResolvingInherited()
int getPageSize()
int getFetchLimit()
PrefetchTreeNode getPrefetchTree()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |