public interface CompositeAggregation extends MultiBucketsAggregation
Modifier and Type | Interface and Description |
---|---|
static interface |
CompositeAggregation.Bucket |
Aggregation.CommonFields
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
TYPED_KEYS_DELIMITER
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
afterKey()
Returns the last key in this aggregation.
|
static XContentBuilder |
bucketToXContent(CompositeAggregation.Bucket bucket,
XContentBuilder builder,
ToXContent.Params params) |
static void |
buildCompositeMap(java.lang.String fieldName,
java.util.Map<java.lang.String,java.lang.Object> composite,
XContentBuilder builder) |
java.util.List<? extends CompositeAggregation.Bucket> |
getBuckets() |
static XContentBuilder |
toXContentFragment(CompositeAggregation aggregation,
XContentBuilder builder,
ToXContent.Params params) |
getMetaData, getName, getType
isFragment
toXContent
java.util.List<? extends CompositeAggregation.Bucket> getBuckets()
getBuckets
in interface MultiBucketsAggregation
java.util.Map<java.lang.String,java.lang.Object> afterKey()
CompositeAggregationBuilder.aggregateAfter(java.util.Map<java.lang.String, java.lang.Object>)
.static XContentBuilder bucketToXContent(CompositeAggregation.Bucket bucket, XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
static XContentBuilder toXContentFragment(CompositeAggregation aggregation, XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
static void buildCompositeMap(java.lang.String fieldName, java.util.Map<java.lang.String,java.lang.Object> composite, XContentBuilder builder) throws java.io.IOException
java.io.IOException