Package | Description |
---|---|
org.springframework.data.mongodb.core |
MongoDB core support.
|
Modifier and Type | Method and Description |
---|---|
BulkOperations |
MongoOperations.bulkOps(BulkOperations.BulkMode mode,
Class<?> entityType)
Returns a new
BulkOperations for the given entity type. |
BulkOperations |
MongoTemplate.bulkOps(BulkOperations.BulkMode bulkMode,
Class<?> entityClass) |
BulkOperations |
MongoOperations.bulkOps(BulkOperations.BulkMode mode,
Class<?> entityType,
String collectionName)
Returns a new
BulkOperations for the given entity type and collection name. |
BulkOperations |
MongoTemplate.bulkOps(BulkOperations.BulkMode mode,
Class<?> entityType,
String collectionName) |
BulkOperations |
MongoOperations.bulkOps(BulkOperations.BulkMode mode,
String collectionName)
Returns a new
BulkOperations for the given collection. |
BulkOperations |
MongoTemplate.bulkOps(BulkOperations.BulkMode bulkMode,
String collectionName) |
BulkOperations |
BulkOperations.insert(List<? extends Object> documents)
Add a list of inserts to the bulk operation.
|
BulkOperations |
BulkOperations.insert(Object documents)
Add a single insert to the bulk operation.
|
BulkOperations |
BulkOperations.remove(List<Query> removes)
Add a list of remove operations to the bulk operation.
|
BulkOperations |
BulkOperations.remove(Query remove)
Add a single remove operation to the bulk operation.
|
default BulkOperations |
BulkOperations.replaceOne(Query query,
Object replacement)
Add a single replace operation to the bulk operation.
|
BulkOperations |
BulkOperations.replaceOne(Query query,
Object replacement,
FindAndReplaceOptions options)
Add a single replace operation to the bulk operation.
|
BulkOperations |
BulkOperations.updateMulti(List<Pair<Query,Update>> updates)
Add a list of updates to the bulk operation.
|
BulkOperations |
BulkOperations.updateMulti(Query query,
Update update)
Add a single update to the bulk operation.
|
BulkOperations |
BulkOperations.updateOne(List<Pair<Query,Update>> updates)
Add a list of updates to the bulk operation.
|
BulkOperations |
BulkOperations.updateOne(Query query,
Update update)
Add a single update to the bulk operation.
|
BulkOperations |
BulkOperations.upsert(List<Pair<Query,Update>> updates)
Add a list of upserts to the bulk operation.
|
BulkOperations |
BulkOperations.upsert(Query query,
Update update)
Add a single upsert to the bulk operation.
|
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.