Package org.hibernate.query.sql.spi
Class SelectInterpretationsKey
- java.lang.Object
-
- org.hibernate.query.sql.spi.SelectInterpretationsKey
-
- All Implemented Interfaces:
QueryInterpretationCache.Key
public class SelectInterpretationsKey extends Object implements QueryInterpretationCache.Key
-
-
Constructor Summary
Constructors Constructor Description SelectInterpretationsKey(String sql, JdbcValuesMappingProducer jdbcValuesMappingProducer, Collection<String> querySpaces, TupleTransformer tupleTransformer, ResultListTransformer resultListTransformer)
-
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
-
SelectInterpretationsKey
public SelectInterpretationsKey(String sql, JdbcValuesMappingProducer jdbcValuesMappingProducer, Collection<String> querySpaces, TupleTransformer tupleTransformer, ResultListTransformer resultListTransformer)
-
-
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
-
-