Package org.hibernate.query.sql.spi
Class NonSelectInterpretationsKey
- java.lang.Object
-
- org.hibernate.query.sql.spi.NonSelectInterpretationsKey
-
- All Implemented Interfaces:
QueryInterpretationCache.Key
public class NonSelectInterpretationsKey extends Object implements QueryInterpretationCache.Key
QueryInterpretations key for non-select NativeQuery instances
-
-
Constructor Summary
Constructors Constructor Description NonSelectInterpretationsKey(String sql, Collection<String> querySpaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetQueryString()inthashCode()QueryInterpretationCache.KeyprepareForStore()The possibility for a cache key to do defensive copying in case it has mutable state.
-
-
-
Constructor Detail
-
NonSelectInterpretationsKey
public NonSelectInterpretationsKey(String sql, Collection<String> querySpaces)
-
-
Method Detail
-
getQueryString
public String getQueryString()
- Specified by:
getQueryStringin interfaceQueryInterpretationCache.Key
-
prepareForStore
public QueryInterpretationCache.Key prepareForStore()
Description copied from interface:QueryInterpretationCache.KeyThe possibility for a cache key to do defensive copying in case it has mutable state.- Specified by:
prepareForStorein interfaceQueryInterpretationCache.Key
-
-