Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
org.springframework.data.mongodb.core.convert |
Spring Data MongoDB specific converter infrastructure.
|
org.springframework.data.mongodb.core.index |
Support for MongoDB document indexing.
|
org.springframework.data.mongodb.core.mapping |
Infrastructure for the MongoDB document-to-object mapping subsystem.
|
org.springframework.data.mongodb.repository.query |
Query derivation mechanism for MongoDB specific repositories.
|
Constructor and Description |
---|
TypeBasedAggregationOperationContext(Class<?> type,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext,
QueryMapper mapper)
Creates a new
TypeBasedAggregationOperationContext for the given type, MappingContext and
QueryMapper . |
Modifier and Type | Field and Description |
---|---|
protected MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> |
MappingMongoConverter.mappingContext |
Modifier and Type | Method and Description |
---|---|
MongoPersistentProperty |
QueryMapper.Field.getProperty()
Returns the underlying
MongoPersistentProperty backing the field. |
MongoPersistentProperty |
QueryMapper.MetadataBackedField.getProperty() |
Modifier and Type | Method and Description |
---|---|
String |
QueryMapper.AssociationConverter.convert(MongoPersistentProperty source) |
protected Object |
QueryMapper.convertAssociation(Object source,
MongoPersistentProperty property)
Converts the given source assuming it's actually an association to another object.
|
protected List<Object> |
MappingMongoConverter.createCollection(Collection<?> collection,
MongoPersistentProperty property)
Writes the given
Collection using the given MongoPersistentProperty information. |
protected com.mongodb.DBRef |
MappingMongoConverter.createDBRef(Object target,
MongoPersistentProperty property) |
protected org.bson.conversions.Bson |
MappingMongoConverter.createMap(Map<Object,Object> map,
MongoPersistentProperty property)
Writes the given
Map using the given MongoPersistentProperty information. |
Object |
MappingMongoConverter.getValueInternal(MongoPersistentProperty prop,
org.bson.conversions.Bson bson,
SpELExpressionEvaluator evaluator,
org.springframework.data.mongodb.core.convert.ObjectPath path) |
Object |
DbRefProxyHandler.populateId(MongoPersistentProperty property,
com.mongodb.DBRef source,
Object proxy) |
Object |
DbRefResolverCallback.resolve(MongoPersistentProperty property)
Resolve the final object for the given
MongoPersistentProperty . |
Object |
DbRefResolver.resolveDbRef(MongoPersistentProperty property,
com.mongodb.DBRef dbref,
DbRefResolverCallback callback,
DbRefProxyHandler proxyHandler)
Resolves the given
DBRef into an object of the given MongoPersistentProperty 's type. |
Object |
DefaultDbRefResolver.resolveDbRef(MongoPersistentProperty property,
com.mongodb.DBRef dbref,
DbRefResolverCallback callback,
DbRefProxyHandler handler) |
Object |
NoOpDbRefResolver.resolveDbRef(MongoPersistentProperty property,
com.mongodb.DBRef dbref,
DbRefResolverCallback callback,
DbRefProxyHandler proxyHandler) |
com.mongodb.DBRef |
MappingMongoConverter.toDBRef(Object object,
MongoPersistentProperty referringProperty) |
com.mongodb.DBRef |
MongoWriter.toDBRef(Object object,
MongoPersistentProperty referingProperty)
Creates a
DBRef to refer to the given object. |
protected void |
MappingMongoConverter.writePropertyInternal(Object obj,
org.springframework.data.mongodb.core.convert.DocumentAccessor accessor,
MongoPersistentProperty prop) |
Modifier and Type | Method and Description |
---|---|
protected QueryMapper.Field |
UpdateMapper.createPropertyField(MongoPersistentEntity<?> entity,
String key,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext) |
protected QueryMapper.Field |
QueryMapper.createPropertyField(MongoPersistentEntity<?> entity,
String key,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext) |
Constructor and Description |
---|
MetadataBackedField(String name,
MongoPersistentEntity<?> entity,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> context,
MongoPersistentProperty property)
Creates a new
QueryMapper.MetadataBackedField with the given name, MongoPersistentEntity and
MappingContext with the given MongoPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
static IndexResolver |
IndexResolver.create(MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Creates a new
IndexResolver given MongoMappingContext . |
Constructor and Description |
---|
MongoPersistentEntityIndexResolver(MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Create new
MongoPersistentEntityIndexResolver . |
Modifier and Type | Class and Description |
---|---|
class |
BasicMongoPersistentProperty
MongoDB specific
PersistentProperty implementation. |
class |
CachingMongoPersistentProperty
|
Modifier and Type | Method and Description |
---|---|
MongoPersistentProperty |
MongoMappingContext.createPersistentProperty(Property property,
BasicMongoPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
MongoPersistentProperty |
MongoPersistentEntity.getTextScoreProperty()
Returns the property holding text score value.
|
MongoPersistentProperty |
BasicMongoPersistentEntity.getTextScoreProperty() |
protected MongoPersistentProperty |
BasicMongoPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(MongoPersistentProperty property)
As a general note: An implicit id property has a name that matches "id" or "_id".
|
Modifier and Type | Method and Description |
---|---|
protected Association<MongoPersistentProperty> |
BasicMongoPersistentProperty.createAssociation() |
Modifier and Type | Method and Description |
---|---|
String |
MongoPersistentProperty.PropertyToFieldNameConverter.convert(MongoPersistentProperty source) |
protected MongoPersistentProperty |
BasicMongoPersistentEntity.returnPropertyIfBetterIdPropertyCandidateOrNull(MongoPersistentProperty property)
As a general note: An implicit id property has a name that matches "id" or "_id".
|
Modifier and Type | Method and Description |
---|---|
Object |
ConvertingParameterAccessor.PotentiallyConvertingIterator.nextConverted(MongoPersistentProperty property)
Returns the next element which has already been converted.
|
Constructor and Description |
---|
MongoQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory projectionFactory,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Creates a new
MongoQueryMethod from the given Method . |
ReactiveMongoQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory projectionFactory,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Creates a new
ReactiveMongoQueryMethod from the given Method . |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.