public interface DateHistogram extends Histogram
date_histogram aggregation.| Modifier and Type | Interface and Description |
|---|---|
static interface |
DateHistogram.Bucket |
static class |
DateHistogram.Interval
The interval the date histogram is based on.
|
Histogram.Order| Modifier and Type | Method and Description |
|---|---|
DateHistogram.Bucket |
getBucketByKey(org.joda.time.DateTime key) |
DateHistogram.Bucket |
getBucketByKey(Number key)
Returns a bucket by the key associated with it.
|
DateHistogram.Bucket |
getBucketByKey(String key)
Returns a bucket by the key associated with it.
|
List<? extends DateHistogram.Bucket> |
getBuckets() |
getNameList<? extends DateHistogram.Bucket> getBuckets()
getBuckets in interface HistogramgetBuckets in interface MultiBucketsAggregationDateHistogram.Bucket getBucketByKey(String key)
HistogramgetBucketByKey in interface HistogramgetBucketByKey in interface MultiBucketsAggregationkey - The key of the bucket.DateHistogram.Bucket getBucketByKey(Number key)
HistogramgetBucketByKey in interface Histogramkey - The key of the bucket.DateHistogram.Bucket getBucketByKey(org.joda.time.DateTime key)
Copyright © 2009–2016. All rights reserved.