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 |
---|---|
Association<MongoPersistentProperty> |
QueryMapper.Field.getAssociation() |
Association<MongoPersistentProperty> |
QueryMapper.MetadataBackedField.getAssociation() |
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> |
MappingMongoConverter.getMappingContext() |
protected PersistentPropertyPath<MongoPersistentProperty> |
QueryMapper.MetadataBackedField.getPath() |
protected Converter<MongoPersistentProperty,String> |
QueryMapper.MetadataBackedField.getPropertyConverter()
Return the
Converter to be used to created the mapped key. |
Modifier and Type | Method and Description |
---|---|
protected Object |
QueryMapper.convertAssociation(Object source,
MongoPersistentProperty property)
Converts the given source assuming it's actually an association to another object.
|
protected com.mongodb.DBObject |
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 com.mongodb.DBObject |
MappingMongoConverter.createMap(Map<Object,Object> map,
MongoPersistentProperty property)
Writes the given
Map using the given MongoPersistentProperty information. |
protected Object |
MappingMongoConverter.getValueInternal(MongoPersistentProperty prop,
com.mongodb.DBObject dbo,
SpELExpressionEvaluator eval,
Object parent) |
Object |
DbRefResolverCallback.resolve(MongoPersistentProperty property)
Resolve the final object for the given
MongoPersistentProperty . |
Object |
DefaultDbRefResolver.resolveDbRef(MongoPersistentProperty property,
com.mongodb.DBRef dbref,
DbRefResolverCallback callback) |
Object |
DbRefResolver.resolveDbRef(MongoPersistentProperty property,
com.mongodb.DBRef dbref,
DbRefResolverCallback callback)
Resolves the given
DBRef into an object of the given MongoPersistentProperty 's type. |
com.mongodb.DBRef |
MongoWriter.toDBRef(Object object,
MongoPersistentProperty referingProperty)
Creates a
DBRef to refer to the given object. |
com.mongodb.DBRef |
MappingMongoConverter.toDBRef(Object object,
MongoPersistentProperty referingProperty) |
protected void |
MappingMongoConverter.writePropertyInternal(Object obj,
com.mongodb.DBObject dbo,
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 |
---|
QueryMapper.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 |
---|---|
protected MongoPersistentEntityIndexResolver.IndexDefinitionHolder |
MongoPersistentEntityIndexResolver.createGeoSpatialIndexDefinition(String dotPath,
String fallbackCollection,
MongoPersistentProperty persistentProperty)
Creates
IndexDefinition wrapped in MongoPersistentEntityIndexResolver.IndexDefinitionHolder out of GeoSpatialIndexed for
MongoPersistentProperty . |
protected MongoPersistentEntityIndexResolver.IndexDefinitionHolder |
MongoPersistentEntityIndexResolver.createIndexDefinition(String dotPath,
String fallbackCollection,
MongoPersistentProperty persitentProperty)
Creates
IndexDefinition wrapped in MongoPersistentEntityIndexResolver.IndexDefinitionHolder out of Indexed for given
MongoPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
void |
MongoPersistentEntityIndexCreator.onApplicationEvent(MappingContextEvent<MongoPersistentEntity<?>,MongoPersistentProperty> event) |
Modifier and Type | Class and Description |
---|---|
class |
BasicMongoPersistentProperty
MongoDB specific
MongoPersistentProperty implementation. |
class |
CachingMongoPersistentProperty
|
Modifier and Type | Method and Description |
---|---|
MongoPersistentProperty |
MongoMappingContext.createPersistentProperty(Field field,
PropertyDescriptor descriptor,
BasicMongoPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder) |
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,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Creates a new
MongoQueryMethod from the given Method . |
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.