Package org.hibernate.query.sqm.internal
Class SqmInterpretationsKey
- java.lang.Object
-
- org.hibernate.query.sqm.internal.SqmInterpretationsKey
-
- All Implemented Interfaces:
QueryInterpretationCache.Key
public final class SqmInterpretationsKey extends Object implements QueryInterpretationCache.Key
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SqmInterpretationsKey.CacheabilityInfluencers
static interface
SqmInterpretationsKey.InterpretationsKeySource
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqmInterpretationsKey
createInterpretationsKey(SqmInterpretationsKey.InterpretationsKeySource keySource)
boolean
equals(Object o)
static QueryInterpretationCache.Key
generateNonSelectKey(SqmInterpretationsKey.InterpretationsKeySource keyDetails)
String
getQueryString()
int
hashCode()
QueryInterpretationCache.Key
prepareForStore()
The possibility for a cache key to do defensive copying in case it has mutable state.
-
-
-
Method Detail
-
createInterpretationsKey
public static SqmInterpretationsKey createInterpretationsKey(SqmInterpretationsKey.InterpretationsKeySource keySource)
-
generateNonSelectKey
public static QueryInterpretationCache.Key generateNonSelectKey(SqmInterpretationsKey.InterpretationsKeySource keyDetails)
-
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
-
getQueryString
public String getQueryString()
- Specified by:
getQueryString
in interfaceQueryInterpretationCache.Key
-
-