Uses of Enum Class
org.apache.cayenne.query.QueryCacheStrategy
Packages that use QueryCacheStrategy
-
Uses of QueryCacheStrategy in org.apache.cayenne.map
Fields in org.apache.cayenne.map declared as QueryCacheStrategyMethods in org.apache.cayenne.map that return QueryCacheStrategyModifier and TypeMethodDescriptionQueryDescriptor.getCacheStrategy()Returns the cache strategy of the query, that is never null.Methods in org.apache.cayenne.map with parameters of type QueryCacheStrategyModifier and TypeMethodDescriptionvoidQueryDescriptor.setCacheStrategy(QueryCacheStrategy cacheStrategy) Sets the cache strategy of the query. -
Uses of QueryCacheStrategy in org.apache.cayenne.query
Subclasses with type arguments of type QueryCacheStrategy in org.apache.cayenne.queryFields in org.apache.cayenne.query declared as QueryCacheStrategyMethods in org.apache.cayenne.query that return QueryCacheStrategyModifier and TypeMethodDescriptionFluentSelect.getCacheStrategy()ProcedureQuery.getCacheStrategy()QueryMetadata.getCacheStrategy()Returns a caching strategy for this query.QueryMetadataProxy.getCacheStrategy()SelectById.getCacheStrategy()Deprecated, for removal: This API element is subject to removal in a future version.SQLSelect.getCacheStrategy()SQLTemplate.getCacheStrategy()static QueryCacheStrategyQueryCacheStrategy.getDefaultStrategy()Returns the default strategy -QueryCacheStrategy.NO_CACHE.static QueryCacheStrategyQueryCacheStrategy.safeValueOf(String string) Returns QueryCacheStrategy for the specified string name or default strategy for invalid names.static QueryCacheStrategyReturns the enum constant of this class with the specified name.static QueryCacheStrategy[]QueryCacheStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.cayenne.query with parameters of type QueryCacheStrategyModifier and TypeMethodDescriptionFluentSelect.cacheStrategy(QueryCacheStrategy strategy) FluentSelect.cacheStrategy(QueryCacheStrategy strategy, String cacheGroup) SelectById.cacheStrategy(QueryCacheStrategy strategy) Deprecated, for removal: This API element is subject to removal in a future version.SelectById.cacheStrategy(QueryCacheStrategy strategy, String cacheGroup) Deprecated, for removal: This API element is subject to removal in a future version.SQLSelect.cacheStrategy(QueryCacheStrategy strategy) SQLSelect.cacheStrategy(QueryCacheStrategy strategy, String cacheGroup) voidFluentSelect.setCacheStrategy(QueryCacheStrategy strategy) Deprecated, for removal: This API element is subject to removal in a future version.voidProcedureQuery.setCacheStrategy(QueryCacheStrategy strategy) voidSQLTemplate.setCacheStrategy(QueryCacheStrategy strategy)
FluentSelect.cacheStrategy(QueryCacheStrategy, String)