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 boolean
equals(Object o)
String
getQueryString()
int
hashCode()
QueryInterpretationCache.Key
prepareForStore()
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:
getQueryString
in interfaceQueryInterpretationCache.Key
-
prepareForStore
public QueryInterpretationCache.Key prepareForStore()
Description copied from interface:QueryInterpretationCache.Key
The possibility for a cache key to do defensive copying in case it has mutable state.- Specified by:
prepareForStore
in interfaceQueryInterpretationCache.Key
-
-