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 AggregationPipelineAggregationPipeline. bucketAuto(java.lang.String field, int bucketCount, BucketAutoOptions options)Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.AggregationPipelineAggregationPipelineImpl. bucketAuto(java.lang.String field, int bucketCount, BucketAutoOptions options) -
Uses of BucketAutoOptions in dev.morphia.query
Methods in dev.morphia.query that return BucketAutoOptions Modifier and Type Method Description BucketAutoOptionsBucketAutoOptions.OutputOperation. addToSet(java.lang.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.BucketAutoOptionsBucketAutoOptions.OutputOperation. average(java.lang.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.BucketAutoOptionsBucketAutoOptions. granularity(BucketAutoOptions.Granularity granularity)Define granularity field for the bucketauto stageBucketAutoOptionsBucketAutoOptions.OutputOperation. sum(java.lang.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.
-