Uses of Class
dev.morphia.aggregation.stages.Bucket
-
Packages that use Bucket Package Description dev.morphia.aggregation dev.morphia.aggregation.codecs.stages dev.morphia.aggregation.stages -
-
Uses of Bucket in dev.morphia.aggregation
Methods in dev.morphia.aggregation with parameters of type Bucket Modifier and Type Method Description Aggregation<T>
Aggregation. bucket(Bucket bucket)
Categorizes incoming documents into groups, called buckets, based on a specified expression and bucket boundaries.Aggregation<T>
AggregationImpl. bucket(Bucket bucket)
-
Uses of Bucket in dev.morphia.aggregation.codecs.stages
Methods in dev.morphia.aggregation.codecs.stages with parameters of type Bucket Modifier and Type Method Description protected void
BucketCodec. encodeStage(BsonWriter writer, Bucket value, EncoderContext encoderContext)
-
Uses of Bucket in dev.morphia.aggregation.stages
Methods in dev.morphia.aggregation.stages that return Bucket Modifier and Type Method Description Bucket
Bucket. boundaries(dev.morphia.aggregation.expressions.impls.Expression... boundaries)
An array of values based on the groupBy expression that specify the boundaries for each bucket.static Bucket
Bucket. bucket()
Creates a new bucket stageBucket
Bucket. defaultValue(Object defaultValue)
Optional.Bucket
Bucket. groupBy(dev.morphia.aggregation.expressions.impls.Expression groupBy)
An expression to group documents by.static Bucket
Bucket. of()
Deprecated, for removal: This API element is subject to removal in a future version.usebucket()
Bucket
Bucket. 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.
-