Uses of Class
org.springframework.data.mongodb.core.aggregation.AggregationOptions.Builder
Packages that use AggregationOptions.Builder
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of AggregationOptions.Builder in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return AggregationOptions.BuilderModifier and TypeMethodDescriptionAggregationOptions.Builder.allowDiskUse(boolean allowDiskUse) Defines whether to off-load intensive sort-operations to disk.static AggregationOptions.BuilderAggregationOptions.builder()Obtain a newAggregationOptions.Builderfor 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.Define a hint that is used by query optimizer to to fulfill the aggregation.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.BuilderAggregation.newAggregationOptions()Returns a newAggregationOptions.Builder.AggregationOptions.Builder.noMapping()Apply no domain type mapping at all taking the pipeline as-is.AggregationOptions.Builder.readConcern(com.mongodb.ReadConcern readConcern) Define aReadConcernto apply to the aggregation.AggregationOptions.Builder.readPreference(com.mongodb.ReadPreference readPreference) Define aReadPreferenceto apply to the aggregation.AggregationOptions.Builder.relaxedMapping()Apply a relaxed domain type mapping consideringFieldannotations 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 consideringFieldannotations throwing errors for non-existent, but referenced fields.