Uses of Class
dev.morphia.query.BucketOptions
-
Packages that use BucketOptions Package Description dev.morphia.aggregation dev.morphia.query -
-
Uses of BucketOptions in dev.morphia.aggregation
Methods in dev.morphia.aggregation with parameters of type BucketOptions Modifier and Type Method Description AggregationPipeline
AggregationPipeline. bucket(String field, List<?> boundaries, BucketOptions options)
Deprecated, for removal: This API element is subject to removal in a future version.Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.AggregationPipeline
AggregationPipelineImpl. bucket(String field, List<?> boundaries, BucketOptions options)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of BucketOptions in dev.morphia.query
Methods in dev.morphia.query that return BucketOptions Modifier and Type Method Description BucketOptions
BucketOptions.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.BucketOptions
BucketOptions.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.BucketOptions
BucketOptions. defaultField(Object defaultField)
Deprecated, for removal: This API element is subject to removal in a future version.Define default field for the bucket stageBucketOptions
BucketOptions.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.
-