Package | Description |
---|---|
org.elasticsearch.search.aggregations | |
org.elasticsearch.search.aggregations.bucket.histogram |
Modifier and Type | Method and Description |
---|---|
static DateHistogramBuilder |
AggregationBuilders.dateHistogram(String name)
Create a new
DateHistogramBuilder aggregation with the given name. |
Modifier and Type | Method and Description |
---|---|
DateHistogramBuilder |
DateHistogramBuilder.extendedBounds(org.joda.time.DateTime min,
org.joda.time.DateTime max)
Set extended bounds for the histogram.
|
DateHistogramBuilder |
DateHistogramBuilder.extendedBounds(Long min,
Long max)
Set extended bounds for the histogram.
|
DateHistogramBuilder |
DateHistogramBuilder.extendedBounds(String min,
String max)
Set extended bounds for the histogram.
|
DateHistogramBuilder |
DateHistogramBuilder.format(String format)
Set the format to use for dates.
|
DateHistogramBuilder |
DateHistogramBuilder.interval(DateHistogramInterval interval)
Set the interval.
|
DateHistogramBuilder |
DateHistogramBuilder.interval(long interval)
Set the interval in milliseconds.
|
DateHistogramBuilder |
DateHistogramBuilder.minDocCount(long minDocCount)
Set the minimum document count per bucket.
|
DateHistogramBuilder |
DateHistogramBuilder.offset(String offset) |
DateHistogramBuilder |
DateHistogramBuilder.order(Histogram.Order order)
Set the order by which the buckets will be returned.
|
DateHistogramBuilder |
DateHistogramBuilder.timeZone(String timeZone)
Set the timezone in which to translate dates before computing buckets.
|
Copyright © 2009–2016. All rights reserved.