## Uses of Class
org.apache.cayenne.query.SelectById

- Packages that use SelectById
  Package | Description
  --- | ---
  org.apache.cayenne.query | Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- - ### Uses of SelectById in org.apache.cayenne.query

    Methods in org.apache.cayenne.query that return SelectById
    Modifier and Type | Method | 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, Object id)` |
    `static SelectById<DataRow>` | SelectById.`dataRowQuery​(Class<?> entityType, Map<String,​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​(String path, int semantics)` | Merges a prefetch path with specified semantics into the query prefetch tree.
    `SelectById<T>` | SelectById.`prefetch​(PrefetchTreeNode prefetch)` | Merges prefetch into the query prefetch tree.
    `static <T> SelectById<T>` | SelectById.`query​(Class<T> entityType, Object id)` |
    `static <T> SelectById<T>` | SelectById.`query​(Class<T> entityType, Map<String,​?> 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.