ToXContent, ToXContentFragment, Aggregation, SingleBucketAggregation, HasAggregationsParsedFilter, ParsedGlobal, ParsedMissing, ParsedNested, ParsedReverseNested, ParsedSamplerpublic abstract class ParsedSingleBucketAggregation extends ParsedAggregation implements SingleBucketAggregation
Aggregation.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field | Description |
|---|---|---|
protected Aggregations |
aggregations |
TYPED_KEYS_DELIMITERmetadataEMPTY_PARAMS| Constructor | Description |
|---|---|
ParsedSingleBucketAggregation() |
| Modifier and Type | Method | Description |
|---|---|---|
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
|
Aggregations |
getAggregations() |
|
long |
getDocCount() |
|
protected static <T extends ParsedSingleBucketAggregation> |
parseXContent(XContentParser parser,
T aggregation,
java.lang.String name) |
|
protected void |
setDocCount(long docCount) |
getMetaData, getName, getTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeclareAggregationFields, getMetaData, getName, parseDouble, setName, toXContenttoXContentisFragmentprotected Aggregations aggregations
public long getDocCount()
getDocCount in interface SingleBucketAggregationprotected void setDocCount(long docCount)
public Aggregations getAggregations()
getAggregations in interface HasAggregationsgetAggregations in interface SingleBucketAggregationpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class ParsedAggregationjava.io.IOExceptionprotected static <T extends ParsedSingleBucketAggregation> T parseXContent(XContentParser parser, T aggregation, java.lang.String name) throws java.io.IOException
java.io.IOException