Package | Description |
---|---|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Field and Description |
---|---|
private BucketAutoOptions |
Aggregates.BucketAutoStage.options |
Modifier and Type | Method and Description |
---|---|
BucketAutoOptions |
BucketAutoOptions.granularity(BucketGranularity granularity)
Specifies the granularity of the bucket definitions.
|
BucketAutoOptions |
BucketAutoOptions.output(BsonField... output)
The definition of the output document in each bucket
|
BucketAutoOptions |
BucketAutoOptions.output(java.util.List<BsonField> output)
The definition of the output document in each bucket
|
Modifier and Type | Method and Description |
---|---|
static <TExpression> |
Aggregates.bucketAuto(TExpression groupBy,
int buckets,
BucketAutoOptions options)
Creates a $bucketAuto pipeline stage
|
Constructor and Description |
---|
BucketAutoStage(TExpression groupBy,
int buckets,
BucketAutoOptions options) |