Writeable, ToXContent, MultiBucketsAggregation.Bucket, Range.Bucket, HasAggregationspublic static class InternalBinaryRange.Bucket extends InternalMultiBucketAggregation.InternalBucket implements Range.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | Description |
|---|---|
Bucket(DocValueFormat format,
boolean keyed,
java.lang.String key,
org.apache.lucene.util.BytesRef from,
org.apache.lucene.util.BytesRef to,
long docCount,
InternalAggregations aggregations) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object o) |
|
Aggregations |
getAggregations() |
|
long |
getDocCount() |
|
java.lang.Object |
getFrom() |
|
java.lang.String |
getFromAsString() |
|
java.lang.Object |
getKey() |
|
java.lang.String |
getKeyAsString() |
|
java.lang.Object |
getTo() |
|
java.lang.String |
getToAsString() |
|
int |
hashCode() |
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
|
void |
writeTo(StreamOutput out) |
Write this into the StreamOutput.
|
getPropertyclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisFragmentpublic Bucket(DocValueFormat format, boolean keyed, java.lang.String key, org.apache.lucene.util.BytesRef from, org.apache.lucene.util.BytesRef to, long docCount, InternalAggregations aggregations)
public void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic java.lang.Object getKey()
getKey in interface MultiBucketsAggregation.Bucketpublic java.lang.String getKeyAsString()
getKeyAsString in interface MultiBucketsAggregation.Bucketpublic long getDocCount()
getDocCount in interface MultiBucketsAggregation.Bucketpublic Aggregations getAggregations()
getAggregations in interface HasAggregationsgetAggregations in interface MultiBucketsAggregation.Bucketpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOExceptionpublic java.lang.Object getFrom()
getFrom in interface Range.Bucketpublic java.lang.String getFromAsString()
getFromAsString in interface Range.Bucketpublic java.lang.Object getTo()
getTo in interface Range.Bucketpublic java.lang.String getToAsString()
getToAsString in interface Range.Bucketpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object