Uses of Class
dev.morphia.query.BucketAutoOptions
-
Packages that use BucketAutoOptions Package Description dev.morphia.aggregation dev.morphia.query -
-
Uses of BucketAutoOptions in dev.morphia.aggregation
Methods in dev.morphia.aggregation with parameters of type BucketAutoOptions Modifier and Type Method Description AggregationPipeline
AggregationPipeline. bucketAuto(String field, int bucketCount, BucketAutoOptions options)
Deprecated, for removal: This API element is subject to removal in a future version.Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.AggregationPipeline
AggregationPipelineImpl. bucketAuto(String field, int bucketCount, BucketAutoOptions options)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of BucketAutoOptions in dev.morphia.query
Methods in dev.morphia.query that return BucketAutoOptions Modifier and Type Method Description BucketAutoOptions
BucketAutoOptions.OutputOperation. addToSet(String field)
Returns an array of all unique values that results from applying an expression to each document in a group of documents that share the same group by key.BucketAutoOptions
BucketAutoOptions.OutputOperation. average(String field)
Returns the average value of the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.BucketAutoOptions
BucketAutoOptions. granularity(BucketAutoOptions.Granularity granularity)
Deprecated, for removal: This API element is subject to removal in a future version.Define granularity field for the bucketauto stageBucketAutoOptions
BucketAutoOptions.OutputOperation. sum(Object field)
Calculates and returns the sum of all the numeric values that result from applying a specified expression to each document in a group of documents that share the same group by key.
-