public abstract class ParsedMultiBucketAggregation<B extends MultiBucketsAggregation.Bucket> extends ParsedAggregation implements MultiBucketsAggregation
Modifier and Type | Class and Description |
---|---|
static class |
ParsedMultiBucketAggregation.ParsedBucket |
MultiBucketsAggregation.Bucket
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
protected java.util.List<B> |
buckets |
protected boolean |
keyed |
metadata
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Constructor and Description |
---|
ParsedMultiBucketAggregation() |
Modifier and Type | Method and Description |
---|---|
protected static void |
declareMultiBucketAggregationFields(ObjectParser<? extends ParsedMultiBucketAggregation,java.lang.Void> objectParser,
CheckedFunction<XContentParser,ParsedMultiBucketAggregation.ParsedBucket,java.io.IOException> bucketParser,
CheckedFunction<XContentParser,ParsedMultiBucketAggregation.ParsedBucket,java.io.IOException> keyedBucketParser) |
protected XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuckets
getMetaData, getName, getType
isFragment, toXContent
protected final java.util.List<B extends MultiBucketsAggregation.Bucket> buckets
protected boolean keyed
protected XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class ParsedAggregation
java.io.IOException
protected static void declareMultiBucketAggregationFields(ObjectParser<? extends ParsedMultiBucketAggregation,java.lang.Void> objectParser, CheckedFunction<XContentParser,ParsedMultiBucketAggregation.ParsedBucket,java.io.IOException> bucketParser, CheckedFunction<XContentParser,ParsedMultiBucketAggregation.ParsedBucket,java.io.IOException> keyedBucketParser)