Writeable, ToXContent, Filters.Bucket, MultiBucketsAggregation.Bucket, HasAggregationspublic static class InternalFilters.InternalBucket extends InternalMultiBucketAggregation.InternalBucket implements Filters.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor | Description |
|---|---|
InternalBucket(java.lang.String key,
long docCount,
InternalAggregations aggregations,
boolean keyed) |
|
InternalBucket(StreamInput in,
boolean keyed) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object other) |
|
Aggregations |
getAggregations() |
|
long |
getDocCount() |
|
java.lang.String |
getKey() |
|
java.lang.String |
getKeyAsString() |
|
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 InternalBucket(java.lang.String key,
long docCount,
InternalAggregations aggregations,
boolean keyed)
public InternalBucket(StreamInput in, boolean keyed) throws java.io.IOException
java.io.IOExceptionpublic void writeTo(StreamOutput out) throws java.io.IOException
Writeablepublic java.lang.String 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 boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object