Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
org.springframework.data.mongodb.repository.cdi |
CDI support for MongoDB specific repository implementation.
|
org.springframework.data.mongodb.repository.query |
Query derivation mechanism for MongoDB specific repositories.
|
org.springframework.data.mongodb.repository.support |
Support infrastructure for query derivation of MongoDB specific repositories.
|
Modifier and Type | Class and Description |
---|---|
class |
MongoTemplate
Primary implementation of
MongoOperations . |
Modifier and Type | Method and Description |
---|---|
MongoOperations |
MongoOperations.withSession(com.mongodb.client.ClientSession session)
Obtain a
ClientSession bound instance of MongoOperations . |
Modifier and Type | Method and Description |
---|---|
T |
SessionCallback.doInSession(MongoOperations operations)
Execute operations against a MongoDB instance via session bound
MongoOperations . |
Constructor and Description |
---|
DefaultIndexOperations(MongoOperations mongoOperations,
String collectionName,
Class<?> type)
Creates a new
DefaultIndexOperations . |
Constructor and Description |
---|
MongoRepositoryBean(javax.enterprise.inject.spi.Bean<MongoOperations> operations,
Set<Annotation> qualifiers,
Class<T> repositoryType,
javax.enterprise.inject.spi.BeanManager beanManager,
Optional<CustomRepositoryImplementationDetector> detector)
Creates a new
MongoRepositoryBean . |
Modifier and Type | Method and Description |
---|---|
protected RepositoryFactorySupport |
MongoRepositoryFactoryBean.getFactoryInstance(MongoOperations operations)
Creates and initializes a
RepositoryFactorySupport instance. |
void |
MongoRepositoryFactoryBean.setMongoOperations(MongoOperations operations)
Configures the
MongoOperations to be used. |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.