Package | Description |
---|---|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Field and Description |
---|---|
private BucketOptions |
Aggregates.BucketStage.options |
Modifier and Type | Method and Description |
---|---|
BucketOptions |
BucketOptions.defaultBucket(java.lang.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(java.util.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,
java.util.List<TBoundary> boundaries,
BucketOptions options)
Creates a $bucket pipeline stage
|
Constructor and Description |
---|
BucketStage(TExpression groupBy,
java.util.List<TBoundary> boundaries,
BucketOptions options) |