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 voidBucketCodec. 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 BucketBucket. 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 BucketBucket. bucket()Creates a new bucket stageBucketBucket. defaultValue(Object defaultValue)Optional.BucketBucket. groupBy(dev.morphia.aggregation.expressions.impls.Expression groupBy)An expression to group documents by.static BucketBucket. of()Deprecated, for removal: This API element is subject to removal in a future version.usebucket()BucketBucket. 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.
-