public static class InternalAdjacencyMatrix.InternalBucket extends InternalMultiBucketAggregation.InternalBucket implements AdjacencyMatrix.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsWriteable.Reader<V>, Writeable.Writer<V>EMPTY_PARAMS| Constructor and Description |
|---|
InternalBucket(StreamInput in)
Read from a stream.
|
InternalBucket(java.lang.String key,
long docCount,
InternalAggregations aggregations) |
| Modifier and Type | Method and Description |
|---|---|
Aggregations |
getAggregations() |
long |
getDocCount() |
java.lang.String |
getKey() |
java.lang.String |
getKeyAsString() |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out)
Write this into the StreamOutput.
|
getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFragmentpublic InternalBucket(java.lang.String key,
long docCount,
InternalAggregations aggregations)
public InternalBucket(StreamInput in) 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 MultiBucketsAggregation.BucketgetAggregations in interface HasAggregationspublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
toXContent in interface ToXContentjava.io.IOException