public static class BucketRange.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BucketRange.Builder |
alias(String alias)
Optional alias of the bucket range if specified in the querystring.
|
BucketRange |
build() |
BucketRange.Builder |
copy(BucketRange model) |
BucketRange.Builder |
lower(BigDecimal lower)
Lower bound of the bucket range specified in the querystring for the numeric field
referenced in tbe bucket command.
|
BucketRange.Builder |
upper(BigDecimal upper)
Upper bound of the bucket range specified in the querystring for the numeric field
referenced in tbe bucket command.
|
public BucketRange.Builder lower(BigDecimal lower)
Lower bound of the bucket range specified in the querystring for the numeric field referenced in tbe bucket command.
lower
- the value to setpublic BucketRange.Builder upper(BigDecimal upper)
Upper bound of the bucket range specified in the querystring for the numeric field referenced in tbe bucket command.
upper
- the value to setpublic BucketRange.Builder alias(String alias)
Optional alias of the bucket range if specified in the querystring.
alias
- the value to setpublic BucketRange build()
public BucketRange.Builder copy(BucketRange model)
Copyright © 2016–2024. All rights reserved.