public static class InternalHistogram.Bucket extends InternalMultiBucketAggregation.InternalBucket implements Histogram.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected ValueFormatter |
formatter |
EMPTY_PARAMS| コンストラクタと説明 |
|---|
Bucket(boolean keyed,
ValueFormatter formatter,
InternalHistogram.Factory<?> factory) |
Bucket(long key,
long docCount,
boolean keyed,
ValueFormatter formatter,
InternalHistogram.Factory factory,
InternalAggregations aggregations) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Aggregations |
getAggregations() |
long |
getDocCount() |
protected InternalHistogram.Factory<?> |
getFactory() |
ValueFormatter |
getFormatter() |
Object |
getKey() |
String |
getKeyAsString() |
boolean |
getKeyed() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyprotected final transient ValueFormatter formatter
public Bucket(boolean keyed,
ValueFormatter formatter,
InternalHistogram.Factory<?> factory)
public Bucket(long key,
long docCount,
boolean keyed,
ValueFormatter formatter,
InternalHistogram.Factory factory,
InternalAggregations aggregations)
protected InternalHistogram.Factory<?> getFactory()
public String getKeyAsString()
getKeyAsString インタフェース内 MultiBucketsAggregation.Bucketpublic Object getKey()
getKey インタフェース内 MultiBucketsAggregation.Bucketpublic long getDocCount()
getDocCount インタフェース内 MultiBucketsAggregation.Bucketpublic Aggregations getAggregations()
getAggregations インタフェース内 MultiBucketsAggregation.BucketgetAggregations インタフェース内 HasAggregationspublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionpublic ValueFormatter getFormatter()
public boolean getKeyed()
Copyright © 2009–2016. All rights reserved.