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.core.index |
Support for MongoDB document indexing.
|
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 Mongo instance. |
Constructor and Description |
---|
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 |
---|
MongoPersistentEntityIndexCreator(MongoMappingContext mappingContext,
MongoDbFactory mongoDbFactory)
Creates a new
MongoPersistentEntityIndexCreator for the given MongoMappingContext and
MongoDbFactory . |
MongoPersistentEntityIndexCreator(MongoMappingContext mappingContext,
MongoDbFactory mongoDbFactory,
org.springframework.data.mongodb.core.index.IndexResolver indexResolver)
Creates a new
MongoPersistentEntityIndexCreator for the given MongoMappingContext and
MongoDbFactory . |
Constructor and Description |
---|
GridFsTemplate(MongoDbFactory dbFactory,
MongoConverter converter)
|
GridFsTemplate(MongoDbFactory dbFactory,
MongoConverter converter,
String bucket)
|
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.