class SimpleMapQuery extends Query
Simple query implementation that queries a map of objects.
| Fields inherited from class | Fields |
|---|---|
class Query |
criteria, entity, fetchStrategies, joinTypes, lockResult, max, offset, orderBy, projections, queryCache, session, uniqueResult |
| Type | Name and description |
|---|---|
Object |
associationQueryHandlers |
Map<String, Map> |
datastore |
Object |
functionHandlers |
Object |
handlers |
| Constructor and description |
|---|
SimpleMapQuery(SimpleMapSession session, PersistentEntity entity, SimpleMapEntityPersister entityPersister) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Object |
executeAssociationSubQuery(Object allEntities, PersistentEntity associatedEntity, Junction queryCriteria, PersistentProperty property) |
|
protected List |
executeLikeWithRegex(SimpleMapEntityPersister entityPersister, PersistentProperty property, Object regexFormat) |
|
protected List |
executeQuery(PersistentEntity entity, Junction criteria) |
|
Map |
executeSubQuery(Object criteria, Object criteriaList) |
|
Collection |
executeSubQueryInternal(Object criteria, Object criteriaList) |
|
protected String |
getFamily(PersistentEntity entity) |
|
protected PersistentProperty |
getValidProperty(Object criterion) |
|
protected Object |
populateQueryResult(Object identifiers, Map queryResult) |
|
protected Object |
queryAssociation(Object allEntities, Association association, Closure callable) |
|
protected Object |
queryAssociationList(Object allEntities, Association association, Closure callable) |
|
protected Object |
resolveIfEmbedded(Object propertyName, 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 Object |
subqueryIfNecessary(PropertyCriterion pc, boolean uniqueResult) |
| Methods inherited from class | Name |
|---|---|
class Query |
add, add, allEq, and, between, cache, clone, conjunction, createQuery, disjunction, eq, executeQuery, fetchStrategy, firstResult, flushBeforeQuery, ge, getCriteria, getEntity, getOrderBy, getSession, gt, gte, idEq, ilike, in, isEmpty, isNotEmpty, isNotNull, isNull, join, join, le, like, list, lock, lock, lt, lte, max, maxResults, negation, offset, or, order, patternToRegex, projections, resolveIdIfEntity, rlike, select, setUniqueResult, singleResult |
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 nameGroovy Documentation