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