class SimpleMapQuery extends Query
Simple query implementation that queries a map of objects.
| Type | Name and description |
|---|---|
java.lang.Object |
associationQueryHandlers |
java.util.Map<java.lang.String, java.util.Map> |
datastore |
java.lang.Object |
functionHandlers |
java.lang.Object |
handlers |
| Constructor and description |
|---|
SimpleMapQuery(SimpleMapSession session, PersistentEntity entity, SimpleMapEntityPersister entityPersister) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.Object |
executeAssociationSubQuery(java.lang.Object allEntities, PersistentEntity associatedEntity, Junction queryCriteria, PersistentProperty property) |
|
protected java.util.List |
executeLikeWithRegex(SimpleMapEntityPersister entityPersister, PersistentProperty property, java.lang.Object regexFormat) |
|
protected java.util.List |
executeQuery(PersistentEntity entity, Junction criteria) |
|
java.util.Map |
executeSubQuery(java.lang.Object criteria, java.lang.Object criteriaList) |
|
java.util.Collection |
executeSubQueryInternal(java.lang.Object criteria, java.lang.Object criteriaList) |
|
protected java.lang.String |
getFamily(PersistentEntity entity) |
|
protected PersistentProperty |
getValidProperty(java.lang.Object criterion) |
|
protected java.lang.Object |
populateQueryResult(java.lang.Object identifiers, java.util.Map queryResult) |
|
protected java.lang.Object |
queryAssociation(java.lang.Object allEntities, Association association, groovy.lang.Closure callable) |
|
protected java.lang.Object |
queryAssociationList(java.lang.Object allEntities, Association association, groovy.lang.Closure callable) |
|
protected java.lang.Object |
resolveIfEmbedded(java.lang.Object propertyName, java.lang.Object obj)If the property name refers to an embedded property like 'foo.startDate', then we need resolve the value of startDate by walking through the key list. |
|
protected java.lang.Object |
subqueryIfNecessary(PropertyCriterion pc, boolean uniqueResult) |
If the property name refers to an embedded property like 'foo.startDate', then we need resolve the value of startDate by walking through the key list. @return
propertyName - the full property name