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 |
---|---|
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 = true) |
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 |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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.
propertyName
- the full property name