Uses of Class
dev.morphia.aggregation.experimental.stages.AutoBucket
-
Packages that use AutoBucket Package Description dev.morphia.aggregation.experimental dev.morphia.aggregation.experimental.codecs.stages dev.morphia.aggregation.experimental.stages -
-
Uses of AutoBucket in dev.morphia.aggregation.experimental
Methods in dev.morphia.aggregation.experimental 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.experimental.codecs.stages
Methods in dev.morphia.aggregation.experimental.codecs.stages with parameters of type AutoBucket Modifier and Type Method Description protected void
AutoBucketCodec. encodeStage(org.bson.BsonWriter writer, AutoBucket value, org.bson.codecs.EncoderContext encoderContext)
-
Uses of AutoBucket in dev.morphia.aggregation.experimental.stages
Methods in dev.morphia.aggregation.experimental.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(com.mongodb.client.model.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(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, Expression value)
Adds a field to the document that specifies the fields to include in the output documents in addition to the _id field.
-