Class QueryKey
java.lang.Object
io.jmix.eclipselink.impl.entitycache.QueryKey
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Object[]
protected final int
protected final int
protected final UUID
protected final int
protected final Object[]
Named parameters with names replaced bynormalized_param_{i}
string, where i - order in query stringprotected final String
!!!WARNING!!! DO NOT USE COLLECTIONS IN KEYS WITH HAZELCAST.protected static final Pattern
protected final Object[]
protected final String
protected final boolean
protected final boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryKey
create
(String queryString, boolean softDeletion, boolean singleResult, javax.persistence.Query jpaQuery, Map<String, Object> additionalCriteriaParameters) boolean
protected boolean
equalsFields
(QueryKey queryKey) protected boolean
equalsParams
(QueryKey queryKey) protected int
generateArrayHashCode
(Object array) protected int
protected int
generateMapHashCode
(Map<String, Object> map) getId()
int
hashCode()
protected boolean
-
Field Details
-
queryString
-
firstRow
protected final int firstRow -
maxRows
protected final int maxRows -
softDeletion
protected final boolean softDeletion -
singleResult
protected final boolean singleResult -
normalizedParameters
Named parameters with names replaced bynormalized_param_{i}
string, where i - order in query string -
positionalParameters
-
additionalCriteriaParameters
-
hashCode
protected final int hashCode -
originalQueryString
!!!WARNING!!! DO NOT USE COLLECTIONS IN KEYS WITH HAZELCAST. At least HashMap serialized/deserialized by hazelcast in undetermined way which leads to inability to get value by valid key. -
originalNamedParameters
-
id
-
PARAMETER_TEMPLATE_PATTERN
-
-
Constructor Details
-
QueryKey
-
-
Method Details