Package | Description |
---|---|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Field and Description |
---|---|
private BucketGranularity |
BucketAutoOptions.granularity |
Modifier and Type | Method and Description |
---|---|
static BucketGranularity |
BucketGranularity.fromString(java.lang.String value)
Tries find the enum instance for the given value
|
BucketGranularity |
BucketAutoOptions.getGranularity() |
static BucketGranularity |
BucketGranularity.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BucketGranularity[] |
BucketGranularity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BucketAutoOptions |
BucketAutoOptions.granularity(BucketGranularity granularity)
Specifies the granularity of the bucket definitions.
|