Class QueryKey
java.lang.Object
io.jmix.eclipselink.impl.entitycache.QueryKey
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Object[]protected final intprotected final intprotected final UUIDprotected final intprotected 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 Patternprotected final Object[]protected final Stringprotected final booleanprotected final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryKeycreate(String queryString, boolean softDeletion, boolean singleResult, javax.persistence.Query jpaQuery, Map<String, Object> additionalCriteriaParameters) booleanprotected booleanequalsFields(QueryKey queryKey) protected booleanequalsParams(QueryKey queryKey) protected intgenerateArrayHashCode(Object array) protected intprotected intgenerateMapHashCode(Map<String, Object> map) getId()inthashCode()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