Package | Description |
---|---|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
BucketOptions |
BucketOptions.defaultBucket(Object name)
The name of the default bucket for values outside the defined buckets
|
BucketOptions |
BucketOptions.output(BsonField... output)
The definition of the output document in each bucket
|
BucketOptions |
BucketOptions.output(List<BsonField> output)
The definition of the output document in each bucket
|
Modifier and Type | Method and Description |
---|---|
static <TExpression,TBoundary> |
Aggregates.bucket(TExpression groupBy,
List<TBoundary> boundaries,
BucketOptions options)
Creates a $bucket pipeline stage
|
Copyright © 2018. All rights reserved.