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