public static class InternalDateRange.Bucket extends InternalRange.Bucket implements DateRange.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>| Constructor and Description |
|---|
Bucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
ValueFormatter formatter) |
Bucket(String key,
double from,
double to,
long docCount,
List<InternalAggregation> aggregations,
ValueFormatter formatter) |
| Modifier and Type | Method and Description |
|---|---|
protected InternalRange.Factory<InternalDateRange.Bucket,?> |
getFactory() |
org.joda.time.DateTime |
getFromAsDate() |
org.joda.time.DateTime |
getToAsDate() |
generateKey, getAggregations, getDocCount, getFrom, getFromAsString, getKey, getKeyAsText, getTo, getToAsStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFrom, getFromAsString, getTo, getToAsStringgetAggregations, getDocCount, getKey, getKeyAsTextpublic Bucket(String key, double from, double to, long docCount, List<InternalAggregation> aggregations, ValueFormatter formatter)
public Bucket(String key, double from, double to, long docCount, InternalAggregations aggregations, ValueFormatter formatter)
public org.joda.time.DateTime getFromAsDate()
getFromAsDate in interface DateRange.Bucketpublic org.joda.time.DateTime getToAsDate()
getToAsDate in interface DateRange.Bucketprotected InternalRange.Factory<InternalDateRange.Bucket,?> getFactory()
getFactory in class InternalRange.BucketCopyright © 2009–2016. All rights reserved.