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.addPrefetch(PrefetchTreeNode prefetch)
Merges prefetch into the query prefetch tree.
|
SelectById<T> |
SelectById.addPrefetch(String path,
int semantics)
Merges a prefetch path with specified semantics into the query prefetch
tree.
|
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.prefetch(PrefetchTreeNode prefetch)
Resets internal prefetches to the new value.
|
SelectById<T> |
SelectById.prefetch(String path,
int semantics)
Resets internal prefetches to the new value, which is a single prefetch
with specified semantics.
|
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.useLocalCache(String... cacheGroups)
Instructs Cayenne to look for query results in the "local" cache when
running the query.
|
SelectById<T> |
SelectById.useSharedCache(String... cacheGroups) |
Copyright © 2001–2015 Apache Cayenne. All rights reserved.