public class BucketAutoOptions
extends java.lang.Object
Constructor and Description |
---|
BucketAutoOptions() |
Modifier and Type | Method and Description |
---|---|
BucketGranularity |
getGranularity() |
java.util.List<BsonField> |
getOutput() |
BucketAutoOptions |
granularity(BucketGranularity granularity)
Specifies the granularity of the bucket definitions.
|
BucketAutoOptions |
output(BsonField... output)
The definition of the output document in each bucket
|
BucketAutoOptions |
output(java.util.List<BsonField> output)
The definition of the output document in each bucket
|
java.lang.String |
toString() |
@Nullable public BucketGranularity getGranularity()
@Nullable public java.util.List<BsonField> getOutput()
public BucketAutoOptions granularity(@Nullable BucketGranularity granularity)
granularity
- the granularity of the bucket definitionsBucketGranularity
public BucketAutoOptions output(BsonField... output)
output
- the output document definitionpublic BucketAutoOptions output(@Nullable 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