Uses of Enum
org.apache.cayenne.query.QueryCacheStrategy
Packages that use QueryCacheStrategy
Package
Description
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of QueryCacheStrategy in org.apache.cayenne.query
Fields in org.apache.cayenne.query declared as QueryCacheStrategyMethods in org.apache.cayenne.query that return QueryCacheStrategyModifier and TypeMethodDescriptionCacheableQuery.getCacheStrategy()
QueryMetadata.getCacheStrategy()
Returns a caching strategy for this query.QueryMetadataProxy.getCacheStrategy()
SelectById.getCacheStrategy()
SQLSelect.getCacheStrategy()
static QueryCacheStrategy
QueryCacheStrategy.getDefaultStrategy()
Returns the default strategy -NO_CACHE
.static QueryCacheStrategy
QueryCacheStrategy.safeValueOf
(String string) Returns QueryCacheStrategy for the specified string name or default strategy for invalid names.static QueryCacheStrategy
Returns the enum constant of this type with the specified name.static QueryCacheStrategy[]
QueryCacheStrategy.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.cayenne.query with parameters of type QueryCacheStrategyModifier and TypeMethodDescriptionColumnSelect.cacheStrategy
(QueryCacheStrategy strategy) ColumnSelect.cacheStrategy
(QueryCacheStrategy strategy, String cacheGroup) ObjectSelect.cacheStrategy
(QueryCacheStrategy strategy) ObjectSelect.cacheStrategy
(QueryCacheStrategy strategy, String cacheGroup) SelectById.cacheStrategy
(QueryCacheStrategy strategy) SelectById.cacheStrategy
(QueryCacheStrategy strategy, String cacheGroup) SQLSelect.cacheStrategy
(QueryCacheStrategy strategy) SQLSelect.cacheStrategy
(QueryCacheStrategy strategy, String cacheGroup) void
CacheableQuery.setCacheStrategy
(QueryCacheStrategy strategy)