Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
static MergeOperation.MergeOperationBuilder |
MergeOperation.builder()
Access the
builder API to create a new instance of MergeOperation . |
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.exposeVariablesOf(VariableOperators.Let let)
Expose the variables defined by
VariableOperators.Let to the update
aggregation . |
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.id(MergeOperation.UniqueMergeId id)
Set the identifier that determines if a results document matches an already existing document in the output
collection.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.inDatabase(String database)
Optionally define a target database if different from the current one.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.into(MergeOperation.MergeOperationTarget into)
Define the target to store results in.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.intoCollection(String collection)
Required output collection name to store results to.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.let(VariableOperators.Let let)
Expose the variables defined by
VariableOperators.Let to the update
aggregation . |
static MergeOperation.MergeOperationBuilder |
Aggregation.merge()
Obtain a
builder instance to create a new MergeOperation . |
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.on(String... fields)
Appends a single field or multiple fields that act as a unique identifier for a document.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.target(MergeOperation.MergeOperationTarget target)
Define the target to store results in.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.whenDocumentsDontMatch(MergeOperation.WhenDocumentsDontMatch whenNotMatched)
The action to take place when documents do not already exist in the target collection.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.whenDocumentsMatch(MergeOperation.WhenDocumentsMatch whenMatched)
The action to take place when documents already exist in the target collection.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.whenDocumentsMatchApply(Aggregation aggregation)
The
action to take place when documents already exist in the target collection. |
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.whenMatched(MergeOperation.WhenDocumentsMatch whenMatched)
The action to take place when documents already exist in the target collection.
|
MergeOperation.MergeOperationBuilder |
MergeOperation.MergeOperationBuilder.whenNotMatched(MergeOperation.WhenDocumentsDontMatch whenNotMatched)
The action to take place when documents do not already exist in the target collection.
|
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.