| Package | Description |
|---|---|
| org.springframework.data.mongodb.config |
Spring XML namespace configuration for MongoDB specific repositories.
|
| org.springframework.data.mongodb.core |
MongoDB core support.
|
| org.springframework.data.mongodb.core.convert |
Spring Data MongoDB specific converter infrastructure.
|
| org.springframework.data.mongodb.gridfs |
Support for MongoDB GridFS feature.
|
| Modifier and Type | Method and Description |
|---|---|
MongoDbFactory |
AbstractMongoConfiguration.mongoDbFactory()
Creates a
SimpleMongoDbFactory to be used by the MongoTemplate. |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleMongoDbFactory
Factory to create
DB instances from a MongoClient instance. |
| Modifier and Type | Method and Description |
|---|---|
MongoDbFactory |
MongoTemplate.getMongoDbFactory() |
| Constructor and Description |
|---|
DefaultIndexOperations(MongoDbFactory mongoDbFactory,
String collectionName,
QueryMapper queryMapper)
Creates a new
DefaultIndexOperations. |
DefaultIndexOperations(MongoDbFactory mongoDbFactory,
String collectionName,
QueryMapper queryMapper,
Class<?> type)
Creates a new
DefaultIndexOperations. |
MongoTemplate(MongoDbFactory mongoDbFactory)
Constructor used for a basic template configuration.
|
MongoTemplate(MongoDbFactory mongoDbFactory,
MongoConverter mongoConverter)
Constructor used for a basic template configuration.
|
| Constructor and Description |
|---|
DefaultDbRefResolver(MongoDbFactory mongoDbFactory)
Creates a new
DefaultDbRefResolver with the given MongoDbFactory. |
MappingMongoConverter(MongoDbFactory mongoDbFactory,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Deprecated.
use the constructor taking a
DbRefResolver instead. |
| Constructor and Description |
|---|
GridFsTemplate(MongoDbFactory dbFactory,
MongoConverter converter)
|
GridFsTemplate(MongoDbFactory dbFactory,
MongoConverter converter,
String bucket)
|
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.