| Package | Description |
|---|---|
| org.elasticsearch.search.aggregations | |
| org.elasticsearch.search.aggregations.bucket.range |
| Modifier and Type | Method and Description |
|---|---|
static RangeBuilder |
AggregationBuilders.range(String name)
Create a new
Range aggregation with the given name. |
| Modifier and Type | Method and Description |
|---|---|
RangeBuilder |
RangeBuilder.addRange(double from,
double to)
Same as
addRange(String, double, double) but the key will be
automatically generated based on from and to. |
RangeBuilder |
RangeBuilder.addRange(String key,
double from,
double to)
Add a new range to this aggregation.
|
RangeBuilder |
RangeBuilder.addUnboundedFrom(double from)
Same as
addUnboundedFrom(String, double) but the key will be
computed automatically. |
RangeBuilder |
RangeBuilder.addUnboundedFrom(String key,
double from)
Add a new range with no upper bound.
|
RangeBuilder |
RangeBuilder.addUnboundedTo(double to)
Same as
addUnboundedTo(String, double) but the key will be
computed automatically. |
RangeBuilder |
RangeBuilder.addUnboundedTo(String key,
double to)
Add a new range with no lower bound.
|
RangeBuilder |
RangeBuilder.format(String format)
Set the format to use to display values.
|
Copyright © 2009–2017. All rights reserved.