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, getToAsString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFrom, getFromAsString, getTo, getToAsString
getAggregations, getDocCount, getKey, getKeyAsText
public 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.Bucket
public org.joda.time.DateTime getToAsDate()
getToAsDate
in interface DateRange.Bucket
protected InternalRange.Factory<InternalDateRange.Bucket,?> getFactory()
getFactory
in class InternalRange.Bucket
Copyright © 2009–2015. All rights reserved.