Package | Description |
---|---|
org.springframework.data.mongodb.config |
Spring XML namespace configuration for MongoDB specific repositories.
|
org.springframework.data.mongodb.core.mapping |
Infrastructure for the MongoDB document-to-object mapping subsystem.
|
Modifier and Type | Method and Description |
---|---|
protected FieldNamingStrategy |
AbstractMongoConfiguration.fieldNamingStrategy()
Configures a
FieldNamingStrategy on the MongoMappingContext instance created. |
Modifier and Type | Class and Description |
---|---|
class |
CamelCaseAbbreviatingFieldNamingStrategy
FieldNamingStrategy that abbreviates field names by using the very first letter of the camel case parts of
the MongoPersistentProperty 's name. |
class |
CamelCaseSplittingFieldNamingStrategy
Configurable
FieldNamingStrategy that splits up camel-case property names and reconcatenates them using a
configured delimiter. |
class |
PropertyNameFieldNamingStrategy
FieldNamingStrategy simply using the MongoPersistentProperty 's name. |
class |
SnakeCaseFieldNamingStrategy
FieldNamingStrategy that translates typical camel case Java property names to lower case JSON element names,
separated by underscores. |
Modifier and Type | Method and Description |
---|---|
void |
MongoMappingContext.setFieldNamingStrategy(FieldNamingStrategy fieldNamingStrategy)
Configures the
FieldNamingStrategy to be used to determine the field name if no manual mapping is applied. |
Constructor and Description |
---|
BasicMongoPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
MongoPersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder,
FieldNamingStrategy fieldNamingStrategy)
Creates a new
BasicMongoPersistentProperty . |
CachingMongoPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
MongoPersistentEntity<?> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder,
FieldNamingStrategy fieldNamingStrategy)
Creates a new
CachingMongoPersistentProperty . |
Copyright © 2015. All rights reserved.