public static class StringTerms.Bucket extends InternalTerms.Bucket
MultiBucketsAggregation.Bucket.SubAggregationComparator<B extends MultiBucketsAggregation.Bucket>ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Paramsaggregations, docCount, docCountError, showDocCountErrorEMPTY_PARAMS| コンストラクタと説明 |
|---|
Bucket(boolean showDocCountError) |
Bucket(org.apache.lucene.util.BytesRef term,
long docCount,
InternalAggregations aggregations,
boolean showDocCountError,
long docCountError) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Object |
getKey() |
Number |
getKeyAsNumber() |
String |
getKeyAsString() |
void |
readFrom(StreamInput in) |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
getAggregations, getDocCount, getDocCountError, reducegetPropertypublic Bucket(boolean showDocCountError)
public Bucket(org.apache.lucene.util.BytesRef term,
long docCount,
InternalAggregations aggregations,
boolean showDocCountError,
long docCountError)
public Object getKey()
public Number getKeyAsNumber()
getKeyAsNumber クラス内 Terms.Bucketpublic String getKeyAsString()
public void readFrom(StreamInput in) throws IOException
IOExceptionpublic void writeTo(StreamOutput out) throws IOException
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.