| Constructor | Description |
|---|---|
BucketOptions() |
| Modifier and Type | Method | 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
|
String |
toString() |
public BucketOptions defaultBucket(@Nullable Object name)
name - the bucket valuepublic BucketOptions output(BsonField... output)
output - the output document definitionpublic BucketOptions output(List<BsonField> output)
output - the output document definition