public static class InternalDateRange.Bucket extends InternalRange.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
formatter, from, keyed, to
EMPTY_PARAMS
Constructor and Description |
---|
InternalDateRange.Bucket(boolean keyed,
ValueFormatter formatter) |
InternalDateRange.Bucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
boolean keyed,
ValueFormatter formatter) |
InternalDateRange.Bucket(String key,
double from,
double to,
long docCount,
List<InternalAggregation> aggregations,
boolean keyed,
ValueFormatter formatter) |
Modifier and Type | Method and Description |
---|---|
protected InternalRange.Factory<InternalDateRange.Bucket,?> |
getFactory() |
Object |
getFrom() |
Object |
getTo() |
generateKey, getAggregations, getDocCount, getFormatter, getFromAsString, getKey, getKeyAsString, getKeyed, getToAsString, readFrom, toXContent, writeTo
getProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty
public InternalDateRange.Bucket(boolean keyed, ValueFormatter formatter)
public InternalDateRange.Bucket(String key, double from, double to, long docCount, List<InternalAggregation> aggregations, boolean keyed, ValueFormatter formatter)
public InternalDateRange.Bucket(String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, ValueFormatter formatter)
public Object getFrom()
getFrom
in interface Range.Bucket
getFrom
in class InternalRange.Bucket
public Object getTo()
getTo
in interface Range.Bucket
getTo
in class InternalRange.Bucket
protected InternalRange.Factory<InternalDateRange.Bucket,?> getFactory()
getFactory
in class InternalRange.Bucket
Copyright © 2009–2017. All rights reserved.