ToXContent
, ToXContentFragment
, Aggregation
, CompositeAggregation
, MultiBucketsAggregation
public class ParsedComposite extends ParsedMultiBucketAggregation<ParsedComposite.ParsedBucket> implements CompositeAggregation
Modifier and Type | Class | Description |
---|---|---|
static class |
ParsedComposite.ParsedBucket |
Aggregation.CommonFields
CompositeAggregation.Bucket
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TYPED_KEYS_DELIMITER
metadata
buckets, keyed
EMPTY_PARAMS
Constructor | Description |
---|---|
ParsedComposite() |
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
afterKey() |
Returns the last key in this aggregation.
|
protected XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
|
static ParsedComposite |
fromXContent(XContentParser parser,
java.lang.String name) |
|
java.util.List<ParsedComposite.ParsedBucket> |
getBuckets() |
|
java.lang.String |
getType() |
getMetaData, getName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
declareAggregationFields, getMetaData, getName, parseDouble, setName, toXContent
declareMultiBucketAggregationFields
toXContent
isFragment
public static ParsedComposite fromXContent(XContentParser parser, java.lang.String name) throws java.io.IOException
java.io.IOException
public java.lang.String getType()
getType
in interface Aggregation
public java.util.List<ParsedComposite.ParsedBucket> getBuckets()
getBuckets
in interface CompositeAggregation
getBuckets
in interface MultiBucketsAggregation
public java.util.Map<java.lang.String,java.lang.Object> afterKey()
CompositeAggregation
CompositeAggregationBuilder.aggregateAfter(java.util.Map<java.lang.String, java.lang.Object>)
.afterKey
in interface CompositeAggregation
protected XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class ParsedMultiBucketAggregation<ParsedComposite.ParsedBucket>
java.io.IOException