Package | Description |
---|---|
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
Modifier and Type | Method and Description |
---|---|
SelectById<T> |
SelectById.cacheGroup(String cacheGroup) |
SelectById<T> |
SelectById.cacheStrategy(QueryCacheStrategy strategy) |
SelectById<T> |
SelectById.cacheStrategy(QueryCacheStrategy strategy,
String cacheGroup) |
static SelectById<DataRow> |
SelectById.dataRowQuery(Class<?> entityType,
Map<String,Object> id) |
static SelectById<DataRow> |
SelectById.dataRowQuery(Class<?> entityType,
Object id) |
static SelectById<DataRow> |
SelectById.dataRowQuery(ObjectId id) |
SelectById<T> |
SelectById.localCache()
Instructs Cayenne to look for query results in the "local" cache when
running the query.
|
SelectById<T> |
SelectById.localCache(String cacheGroup)
Instructs Cayenne to look for query results in the "local" cache when
running the query.
|
SelectById<T> |
SelectById.prefetch(PrefetchTreeNode prefetch)
Merges prefetch into the query prefetch tree.
|
SelectById<T> |
SelectById.prefetch(String path,
int semantics)
Merges a prefetch path with specified semantics into the query prefetch
tree.
|
static <T> SelectById<T> |
SelectById.query(Class<T> entityType,
Map<String,?> id) |
static <T> SelectById<T> |
SelectById.query(Class<T> entityType,
Object id) |
static <T> SelectById<T> |
SelectById.query(Class<T> entityType,
ObjectId id) |
SelectById<T> |
SelectById.sharedCache()
Instructs Cayenne to look for query results in the "shared" cache when
running the query.
|
SelectById<T> |
SelectById.sharedCache(String cacheGroup)
Instructs Cayenne to look for query results in the "shared" cache when
running the query.
|
Copyright © 2001–2018 Apache Cayenne. All rights reserved.