Uses of Class
org.apache.cayenne.query.SelectById
Packages that use SelectById
Package
Description
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 SelectByIdModifier and TypeMethodDescriptionSelectById.cacheGroup(String cacheGroup) SelectById.cacheStrategy(QueryCacheStrategy strategy) SelectById.cacheStrategy(QueryCacheStrategy strategy, String cacheGroup) static SelectById<DataRow> SelectById.dataRowQuery(Class<?> entityType, Object id) Deprecated, for removal: This API element is subject to removal in a future version.static SelectById<DataRow> SelectById.dataRowQuery(Class<?> entityType, Object firstId, Object... otherIds) Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.dataRowQueryIds(Class, Object...)static SelectById<DataRow> SelectById.dataRowQuery(Class<?> entityType, Map<String, ?> id) Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.dataRowQueryMap(Class, Map)static SelectById<DataRow> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.dataRowQueryMaps(Class, Map[])static SelectById<DataRow> SelectById.dataRowQuery(ObjectId id) Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.dataRowQueryObjectId(ObjectId)static SelectById<DataRow> SelectById.dataRowQuery(ObjectId firstId, ObjectId... otherIds) Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.dataRowQueryObjectIds(ObjectId...)static SelectById<DataRow> SelectById.dataRowQueryId(Class<?> entityType, Object id) static SelectById<DataRow> SelectById.dataRowQueryIds(Class<?> entityType, Object... ids) static SelectById<DataRow> SelectById.dataRowQueryIdsCollection(Class<?> entityType, Collection<Object> ids) static SelectById<DataRow> SelectById.dataRowQueryMap(Class<?> entityType, Map<String, ?> id) static SelectById<DataRow> SelectById.dataRowQueryMaps(Class<?> entityType, Map<String, ?>... ids) static SelectById<DataRow> SelectById.dataRowQueryMapsCollection(Class<?> entityType, Collection<Map<String, ?>> ids) static SelectById<DataRow> SelectById.dataRowQueryObjectId(ObjectId id) static SelectById<DataRow> SelectById.dataRowQueryObjectIds(ObjectId... ids) static SelectById<DataRow> SelectById.dataRowQueryObjectIdsCollection(Collection<ObjectId> ids) SelectById.localCache()Instructs Cayenne to look for query results in the "local" cache when running the query.SelectById.localCache(String cacheGroup) Instructs Cayenne to look for query results in the "local" cache when running the query.Merges a prefetch path with specified semantics into the query prefetch tree.SelectById.prefetch(PrefetchTreeNode prefetch) Merges prefetch into the query prefetch tree.static <T> SelectById<T> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryId(Class, Object)static <T> SelectById<T> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryIds(Class, Object...)static <T> SelectById<T> SelectById.query(Class<T> entityType, Collection<Object> ids) Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryIdsCollection(Class, Collection)static <T> SelectById<T> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryMap(Class, Map)static <T> SelectById<T> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryMaps(Class, Map[])static <T> SelectById<T> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryObjectId(Class, ObjectId)static <T> SelectById<T> Deprecated, for removal: This API element is subject to removal in a future version.since 5.0, useSelectById.queryObjectIds(Class, ObjectId...)static <T> SelectById<T> static <T> SelectById<T> static <T> SelectById<T> SelectById.queryIdsCollection(Class<T> entityType, Collection<Object> ids) static <T> SelectById<T> static <T> SelectById<T> static <T> SelectById<T> SelectById.queryMapsCollection(Class<T> entityType, Collection<Map<String, ?>> ids) static <T> SelectById<T> SelectById.queryObjectId(Class<T> entityType, ObjectId id) static <T> SelectById<T> SelectById.queryObjectIds(Class<T> entityType, ObjectId... ids) static <T> SelectById<T> SelectById.queryObjectIdsCollection(Class<T> entityType, Collection<ObjectId> ids) SelectById.sharedCache()Instructs Cayenne to look for query results in the "shared" cache when running the query.SelectById.sharedCache(String cacheGroup) Instructs Cayenne to look for query results in the "shared" cache when running the query.
SelectById.dataRowQueryId(Class, Object)