Deprecated
as a consequence of QueryCache being deprecated. See corresponding docs for further information.
| Modifier and Type | Method and Description |
|---|---|
| public default void | |
| public default void | |
| public List | Returns: The cached results; may be null.The cache key key, Set<Serializable> The query spaces (used in invalidation plus validation checks) spaces, Type[] returnTypes, SharedSessionContractImplementor The originating session session)Get results from the cache. |
| public List | Returns: The cached results; may be null.The cache key key, String[] The query spaces (used in invalidation plus validation checks) spaces, Type[] returnTypes, SharedSessionContractImplementor The originating session session)Get results from the cache. |
| public default List | get(QueryKey
The cache key key, Type[] The result types returnTypes, boolean Was this a natural id lookup? isNaturalKeyLookup, Set<Serializable> The query spaces (used in invalidation plus validation checks) spaces, SharedSessionContractImplementor The originating session session)Implements org. |
| public QueryResultsRegion | getRegion()
Redeclares org. |
| public boolean | Returns: Whether the put actually happened.The cache key key, List<E> The results to cache result, Type[] returnTypes, SharedSessionContractImplementor The originating session session)Put a result into the query cache. |
| public default boolean | put(QueryKey
The cache key key, Type[] The result types returnTypes, List<E> The results to cache result, boolean Was this a natural id lookup? isNaturalKeyLookup, SharedSessionContractImplementor The originating session session)Implements org. |
| clear | back to summary |
|---|---|
| public default void clear() throws CacheException Implements org. Clear items from the query cache.
| |
| destroy | back to summary |
|---|---|
| public default void destroy() Implements org. Doc from org. Destroy the cache.
| |
| get | back to summary |
|---|---|
| public List Get results from the cache.
| |
| get | back to summary |
|---|---|
| public List Get results from the cache.
| |
| get | back to summary |
|---|---|
| public default List Implements org. Doc from org. Get results from the cache.
| |
| getRegion | back to summary |
|---|---|
| public QueryResultsRegion getRegion() Redeclares org. The underlying cache region being used.
| |
| put | back to summary |
|---|---|
| public boolean put(QueryKey key, List<E> result, Type[] returnTypes, SharedSessionContractImplementor session) throws HibernateException Put a result into the query cache.
| |
| put | back to summary |
|---|---|
| public default boolean put(QueryKey key, Type[] returnTypes, List<E> result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session) Implements org. Doc from org. Put a result into the query cache.
| |