Constructor and Description |
---|
BucketOptions() |
Modifier and Type | Method and Description |
---|---|
BucketOptions |
defaultBucket(Object name)
The name of the default bucket for values outside the defined buckets
|
Object |
getDefaultBucket() |
List<BsonField> |
getOutput() |
BucketOptions |
output(BsonField... output)
The definition of the output document in each bucket
|
BucketOptions |
output(List<BsonField> output)
The definition of the output document in each bucket
|
public BucketOptions defaultBucket(Object name)
name
- the bucket valuepublic Object getDefaultBucket()
public BucketOptions output(BsonField... output)
output
- the output document definitionpublic BucketOptions output(List<BsonField> output)
output
- the output document definition