Writeable, ToXContent, MultiBucketsAggregation.Bucket, Range.Bucket, HasAggregationspublic static class InternalDateRange.Bucket extends InternalRange.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>format, from, keyed, toEMPTY_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() |
getPropertyequals, generateKey, getAggregations, getDocCount, getFormat, getFromAsString, getKey, getKeyAsString, getKeyed, getToAsString, hashCode, toXContent, writeToclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic 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.BucketgetFrom in class InternalRange.Bucketpublic java.lang.Object getTo()
getTo in interface Range.BucketgetTo in class InternalRange.Bucketprotected InternalRange.Factory<InternalDateRange.Bucket,?> getFactory()
getFactory in class InternalRange.Bucket