public class QueryKey extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
static QueryKey |
generateQueryKey(String queryString,
QueryParameters queryParameters,
Set filterKeys,
SharedSessionContractImplementor session,
CacheableResultTransformer customTransformer)
Generates a QueryKey.
|
Map |
getNamedParameters()
Provide (unmodifiable) access to the named parameters that are part of this query.
|
CacheableResultTransformer |
getResultTransformer()
Provides access to the explicitly user-provided result transformer.
|
int |
hashCode() |
String |
toString() |
public static QueryKey generateQueryKey(String queryString, QueryParameters queryParameters, Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)
queryString
- The sql query string.queryParameters
- The query parametersfilterKeys
- The keys of any enabled filters.session
- The current session.customTransformer
- The result transformer; should be null if data is not transformed before being cached.public CacheableResultTransformer getResultTransformer()
public Map getNamedParameters()
Copyright © 2019 JBoss by Red Hat. All rights reserved.