Uses of Class
org.hibernate.cache.spi.QueryKey
-
Packages that use QueryKey Package Description org.hibernate.cache.spi Defines the integration aspect of Hibernate's second-level caching allowing "caching back ends" to be plugged in as a caching provider.org.hibernate.loader org.hibernate.loader.custom -
-
Uses of QueryKey in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi that return QueryKey Modifier and Type Method Description static QueryKey
QueryKey. generateQueryKey(java.lang.String queryString, QueryParameters queryParameters, java.util.Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)
Generates a QueryKey.Methods in org.hibernate.cache.spi with parameters of type QueryKey Modifier and Type Method Description java.util.List
QueryCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)
Deprecated.Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.lang.String[] spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.util.Set<java.io.Serializable> spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.default java.util.List
QueryResultsCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)
boolean
QueryCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
Deprecated.Put a result into the query cache.boolean
QueryResultsCache. put(QueryKey key, java.util.List result, Type[] returnTypes, SharedSessionContractImplementor session)
Put a result into the query cache.default boolean
QueryResultsCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
-
Uses of QueryKey in org.hibernate.loader
Methods in org.hibernate.loader that return QueryKey Modifier and Type Method Description protected QueryKey
Loader. generateQueryKey(SharedSessionContractImplementor session, QueryParameters queryParameters)
Methods in org.hibernate.loader with parameters of type QueryKey Modifier and Type Method Description protected java.util.List
Loader. getResultFromQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key)
protected void
Loader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)
-
Uses of QueryKey in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom with parameters of type QueryKey Modifier and Type Method Description protected void
CustomLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)
CustomLoader.resultTypes
can be overridden byCustomLoader.autoDiscoverTypes(ResultSet)
, *after*CustomLoader.list(SharedSessionContractImplementor, QueryParameters)
has already been called.
-