Uses of Class
org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of AggregationOptions.Builder in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionAggregationOptions.Builder.allowDiskUse
(boolean allowDiskUse) Defines whether to off-load intensive sort-operations to disk.static AggregationOptions.Builder
AggregationOptions.builder()
Obtain a newAggregationOptions.Builder
for constructingAggregationOptions
.Define collation settings for string comparison.Define a comment to describe the execution.AggregationOptions.Builder.cursor
(org.bson.Document cursor) Additional options to the aggregation.AggregationOptions.Builder.cursorBatchSize
(int batchSize) Define the initial cursor batch size.AggregationOptions.Builder.explain
(boolean explain) Defines whether to get the execution plan for the aggregation instead of the actual results.AggregationOptions.Builder.hint
(org.bson.Document hint) Define a hint that is used by query optimizer to to fulfill the aggregation.Set the time limit for processing.static AggregationOptions.Builder
Aggregation.newAggregationOptions()
Returns a newAggregationOptions.Builder
.AggregationOptions.Builder.noMapping()
Apply no domain type mapping at all taking the pipeline as-is.AggregationOptions.Builder.relaxedMapping()
Apply a relaxed domain type mapping consideringField
annotations using the user provided name if a referenced field does not exist.AggregationOptions.Builder.skipOutput()
Run the aggregation, but do NOT read the aggregation result from the store.AggregationOptions.Builder.strictMapping()
Apply a strict domain type mapping consideringField
annotations throwing errors for non-existent, but referenced fields.