public class BucketOptions
extends java.lang.Object
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
|
java.lang.String |
toString() |
public BucketOptions defaultBucket(@Nullable java.lang.Object name)
name
- the bucket value@Nullable public java.lang.Object getDefaultBucket()
@Nullable 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 definitionpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved