Package | Description |
---|---|
org.springframework.data.mongodb.core.aggregation |
Support for the MongoDB aggregation framework.
|
Modifier and Type | Method and Description |
---|---|
static RedactOperation.RedactOperationBuilder |
RedactOperation.builder()
Obtain a new instance of
RedactOperation.RedactOperationBuilder to specify condition and outcome of the $redact
operation. |
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.otherwise(Object otherwise)
Define the outcome (anything that resolves to $$DESCEND, $$PRUNE, or $$KEEP)
when the condition is not met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.otherwiseDescend()
Return fields at the current document level and exclude embedded ones if the condition is not met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.otherwiseKeep()
Return/Keep all fields at the current document/embedded level if the condition is not met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.otherwisePrune()
Exclude all fields at this current document/embedded level if the condition is not met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.then(Object then)
Define the outcome (anything that resolves to $$DESCEND, $$PRUNE, or $$KEEP)
when the condition is met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.thenDescend()
Return fields at the current document level and exclude embedded ones if the condition is met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.thenKeep()
Return/Keep all fields at the current document/embedded level if the condition is met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.thenPrune()
Exclude all fields at this current document/embedded level if the condition is met.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.when(AggregationExpression condition)
Specify the evaluation condition.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.when(CriteriaDefinition criteria)
Specify the evaluation condition.
|
RedactOperation.RedactOperationBuilder |
RedactOperation.RedactOperationBuilder.when(org.bson.Document condition)
Specify the evaluation condition.
|
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.