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