Uses of Class
org.springframework.data.mongodb.core.convert.QueryMapper.Field
Packages that use QueryMapper.Field
Package
Description
Spring Data MongoDB specific converter infrastructure.
-
Uses of QueryMapper.Field in org.springframework.data.mongodb.core.convert
Subclasses of QueryMapper.Field in org.springframework.data.mongodb.core.convertModifier and TypeClassDescriptionprotected static class
Extension ofQueryMapper.Field
to be backed with mapping metadata.Methods in org.springframework.data.mongodb.core.convert that return QueryMapper.FieldModifier and TypeMethodDescriptionprotected QueryMapper.Field
QueryMapper.createPropertyField
(MongoPersistentEntity<?> entity, String key, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) protected QueryMapper.Field
UpdateMapper.createPropertyField
(MongoPersistentEntity<?> entity, String key, MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext) Returns a newQueryMapper.Field
with the given name.Methods in org.springframework.data.mongodb.core.convert with parameters of type QueryMapper.FieldModifier and TypeMethodDescriptionprotected Object
QueryMapper.convertAssociation
(Object source, QueryMapper.Field field) QueryMapper.createMapEntry
(QueryMapper.Field field, Object value) Creates a newMap.Entry
for the givenQueryMapper.Field
with the given value.protected org.bson.Document
QueryMapper.getMappedKeyword
(QueryMapper.Field property, org.springframework.data.mongodb.core.convert.QueryMapper.Keyword keyword) Returns the mapped keyword considered defining a criteria for the given property.QueryMapper.getMappedObjectForField
(QueryMapper.Field field, Object rawValue) Extracts the mapped object value for given field out of rawValue taking nestedQueryMapper.Keyword
s into accountUpdateMapper.getMappedObjectForField
(QueryMapper.Field field, Object rawValue) protected Object
QueryMapper.getMappedValue
(QueryMapper.Field documentField, Object sourceValue) Returns the mapped value for the given source object assuming it's a value for the givenMongoPersistentProperty
.protected boolean
QueryMapper.isAssociationConversionNecessary
(QueryMapper.Field documentField, Object value) Returns whether the givenQueryMapper.Field
represents an association reference that together with the given value requires conversion to aDBRef
object.protected boolean
UpdateMapper.isAssociationConversionNecessary
(QueryMapper.Field documentField, Object value)