Uses of Class
dev.morphia.aggregation.stages.AutoBucket
-
Packages that use AutoBucket Package Description dev.morphia.aggregation dev.morphia.aggregation.codecs.stages dev.morphia.aggregation.stages -
-
Uses of AutoBucket in dev.morphia.aggregation
Methods in dev.morphia.aggregation with parameters of type AutoBucket Modifier and Type Method Description Aggregation<T>
Aggregation. autoBucket(AutoBucket bucket)
Categorizes incoming documents into a specific number of groups, called buckets, based on a specified expression.Aggregation<T>
AggregationImpl. autoBucket(AutoBucket bucket)
-
Uses of AutoBucket in dev.morphia.aggregation.codecs.stages
Methods in dev.morphia.aggregation.codecs.stages with parameters of type AutoBucket Modifier and Type Method Description protected void
AutoBucketCodec. encodeStage(BsonWriter writer, AutoBucket value, EncoderContext encoderContext)
-
Uses of AutoBucket in dev.morphia.aggregation.stages
Methods in dev.morphia.aggregation.stages that return AutoBucket Modifier and Type Method Description static AutoBucket
AutoBucket. autoBucket()
Creates a new auto bucketAutoBucket
AutoBucket. buckets(Integer buckets)
A positive 32-bit integer that specifies the number of buckets into which input documents are grouped.AutoBucket
AutoBucket. granularity(BucketGranularity granularity)
A string that specifies the preferred number series to use to ensure that the calculated boundary edges end on preferred round numbers or their powers of 10.AutoBucket
AutoBucket. groupBy(dev.morphia.aggregation.expressions.impls.Expression groupBy)
An expression to group documents by.static AutoBucket
AutoBucket. of()
Deprecated, for removal: This API element is subject to removal in a future version.useautoBucket()
AutoBucket
AutoBucket. outputField(String name, dev.morphia.aggregation.expressions.impls.Expression value)
Adds a field to the document that specifies the fields to include in the output documents in addition to the _id field.
-