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)SelectInterpretationsKey(String sql, JdbcValuesMappingProducer jdbcValuesMappingProducer, Collection<String> querySpaces, TupleTransformer tupleTransformer, ResultListTransformer resultListTransformer)Deprecated, for removal: This API element is subject to removal in a future version.
-
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
-
SelectInterpretationsKey
@Deprecated(forRemoval=true) public SelectInterpretationsKey(String sql, JdbcValuesMappingProducer jdbcValuesMappingProducer, Collection<String> querySpaces, TupleTransformer tupleTransformer, ResultListTransformer resultListTransformer)
Deprecated, for removal: This API element is subject to removal in a future version.
-
SelectInterpretationsKey
public SelectInterpretationsKey(String sql, JdbcValuesMappingProducer jdbcValuesMappingProducer, 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
-
-