public static class InternalDateRange.Bucket extends InternalRange.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Writeable.Reader<V>, Writeable.Writer<V>
format, from, keyed, to
EMPTY_PARAMS
Constructor and Description |
---|
Bucket(boolean keyed,
DocValueFormat formatter) |
Bucket(java.lang.String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
boolean keyed,
DocValueFormat formatter) |
Bucket(java.lang.String key,
double from,
double to,
long docCount,
java.util.List<InternalAggregation> aggregations,
boolean keyed,
DocValueFormat formatter) |
Modifier and Type | Method and Description |
---|---|
protected InternalRange.Factory<InternalDateRange.Bucket,?> |
getFactory() |
java.lang.Object |
getFrom() |
java.lang.Object |
getTo() |
generateKey, getAggregations, getDocCount, getFormat, getFromAsString, getKey, getKeyAsString, getKeyed, getToAsString, toXContent, writeTo
getProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isFragment
public Bucket(boolean keyed, DocValueFormat formatter)
public Bucket(java.lang.String key, double from, double to, long docCount, java.util.List<InternalAggregation> aggregations, boolean keyed, DocValueFormat formatter)
public Bucket(java.lang.String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, DocValueFormat formatter)
public java.lang.Object getFrom()
getFrom
in interface Range.Bucket
getFrom
in class InternalRange.Bucket
public java.lang.Object getTo()
getTo
in interface Range.Bucket
getTo
in class InternalRange.Bucket
protected InternalRange.Factory<InternalDateRange.Bucket,?> getFactory()
getFactory
in class InternalRange.Bucket