Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
OutOperation |
OutOperation.in(String database)
Optionally specify the database of the target collection.
|
OutOperation |
OutOperation.insertDocuments()
Insert documents to the target collection.
|
OutOperation |
OutOperation.mode(OutOperation.OutMode mode)
Specify how to merge the aggregation output with the target collection.
|
static OutOperation |
Aggregation.out(String outCollectionName)
Creates a new
OutOperation using the given collection name. |
OutOperation |
OutOperation.replaceCollection()
Replace the target collection.
|
OutOperation |
OutOperation.replaceDocuments()
Replace/Upsert documents in the target collection.
|
OutOperation |
OutOperation.uniqueKey(String key)
Optionally specify the field that uniquely identifies a document in the target collection.
|
OutOperation |
OutOperation.uniqueKeyOf(Iterable<String> fields)
Optionally specify the fields that uniquely identifies a document in the target collection.
|
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.