Uses of Class
org.hibernate.cache.spi.QueryKey
Packages that use QueryKey
Package
Description
Internal implementations and support for second-level caching.
Defines the integration aspect of Hibernate's second-level caching, allowing
a "caching backend" to be plugged in as a cache provider.
-
Uses of QueryKey in org.hibernate.cache.internal
Methods in org.hibernate.cache.internal with parameters of type QueryKeyModifier and TypeMethodDescriptionList<?>
QueryResultsCacheImpl.get
(QueryKey key, String[] spaces, SharedSessionContractImplementor session) List<?>
QueryResultsCacheImpl.get
(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session) boolean
QueryResultsCacheImpl.put
(QueryKey key, List<?> results, SharedSessionContractImplementor session) -
Uses of QueryKey in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi that return QueryKeyModifier and TypeMethodDescriptionstatic QueryKey
QueryKey.from
(String sqlQueryString, Limit limit, QueryParameterBindings parameterBindings, SharedSessionContractImplementor session) Methods in org.hibernate.cache.spi with parameters of type QueryKeyModifier and TypeMethodDescriptionList<?>
QueryResultsCache.get
(QueryKey key, String[] spaces, SharedSessionContractImplementor session) Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.List<?>
QueryResultsCache.get
(QueryKey key, Set<String> spaces, SharedSessionContractImplementor session) Attempt to retrieve a cached query result list for the givenQueryKey
from the cache region, and then check if the cached results, if any, are stale.boolean
QueryResultsCache.put
(QueryKey key, List<?> result, SharedSessionContractImplementor session) Store a result list of a query with the givenQueryKey
in the query result cache. -
Uses of QueryKey in org.hibernate.sql.results.caching.internal
Constructors in org.hibernate.sql.results.caching.internal with parameters of type QueryKeyModifierConstructorDescriptionQueryCachePutManagerEnabledImpl
(QueryResultsCache queryCache, StatisticsImplementor statistics, QueryKey queryKey, String queryIdentifier, CachedJdbcValuesMetadata metadataForCache) -
Uses of QueryKey in org.hibernate.sql.results.jdbc.internal
Constructors in org.hibernate.sql.results.jdbc.internal with parameters of type QueryKeyModifierConstructorDescriptionJdbcValuesResultSetImpl
(ResultSetAccess resultSetAccess, QueryKey queryCacheKey, String queryIdentifier, QueryOptions queryOptions, boolean usesFollowOnLocking, JdbcValuesMapping valuesMapping, CachedJdbcValuesMetadata metadataForCache, ExecutionContext executionContext)