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
DateHistogram 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.factor(float factor)
Set a factor to apply to values of the field, typically used if times
are stored in seconds instead of milliseconds.
|
DateHistogramBuilder |
DateHistogramBuilder.format(String format)
Set the format to use for dates.
|
DateHistogramBuilder |
DateHistogramBuilder.interval(DateHistogram.Interval 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)
Set the offset that is applied to computed bucket boundaries.
|
DateHistogramBuilder |
DateHistogramBuilder.order(Histogram.Order order)
Set the order by which the buckets will be returned.
|
DateHistogramBuilder |
DateHistogramBuilder.postOffset(String postOffset)
Deprecated.
the postOffset option will be replaced by offset in future version.
|
DateHistogramBuilder |
DateHistogramBuilder.postZone(String postZone)
Deprecated.
this option is going to be removed in 2.0 releases
|
DateHistogramBuilder |
DateHistogramBuilder.preOffset(String preOffset)
Deprecated.
the preOffset option will be replaced by offset in future version.
|
DateHistogramBuilder |
DateHistogramBuilder.preZone(String preZone)
Deprecated.
use timeZone() instead
|
DateHistogramBuilder |
DateHistogramBuilder.preZoneAdjustLargeInterval(boolean preZoneAdjustLargeInterval)
Deprecated.
this option is going to be removed in 2.0 releases
|
DateHistogramBuilder |
DateHistogramBuilder.timeZone(String timeZone)
Set the time zone in which to translate dates before computing buckets.
|
Copyright © 2009–2015. All rights reserved.