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 |
---|
Bucket(boolean keyed,
ValueFormatter formatter) |
Bucket(java.lang.String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
boolean keyed,
ValueFormatter formatter) |
Bucket(java.lang.String key,
double from,
double to,
long docCount,
java.util.List<InternalAggregation> aggregations,
boolean keyed,
ValueFormatter formatter) |
Modifier and Type | Method and Description |
---|---|
protected InternalRange.Factory<InternalDateRange.Bucket,?> |
getFactory() |
java.lang.Object |
getFrom() |
java.lang.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 Bucket(boolean keyed, ValueFormatter formatter)
public Bucket(java.lang.String key, double from, double to, long docCount, java.util.List<InternalAggregation> aggregations, boolean keyed, ValueFormatter formatter)
public Bucket(java.lang.String key, double from, double to, long docCount, InternalAggregations aggregations, boolean keyed, ValueFormatter 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