class SimpleMapQuery extends Query
Simple query implementation that queries a map of objects.
Modifiers | Name | Description |
---|---|---|
private java.lang.Object |
associationQueryHandlers |
|
private java.util.Map<java.lang.String, java.util.Map> |
datastore |
|
private SimpleMapEntityPersister |
entityPersister |
|
private java.lang.String |
family |
|
private java.lang.Object |
functionHandlers |
|
private java.lang.Object |
handlers |
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 |
---|---|---|
|
private java.util.List |
applyJunctionToResults(Junction criteria, java.util.List resultList) |
|
private java.util.List |
applyMaxAndOffset(java.util.List sortedResults) |
|
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) |
|
private boolean |
isIndexed(PersistentProperty property) |
|
private java.util.ArrayList |
negateResults(java.util.List results) |
|
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) |
Methods inherited from class | Name |
---|---|
class Query |
add, add, addToJunction, allEq, and, between, cache, clone, conjunction, conjunction, createQuery, disjunction, disjunction, doList, eq, executeQuery, fetchStrategy, findInstanceId, 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, negation, offset, or, order, patternToRegex, projections, resolveIdIfEntity, resolvePropertyValue, 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