public interface Aggregation extends ToXContent
ToXContent
as it makes it easier to print out its content.Modifier and Type | Interface and Description |
---|---|
static class |
Aggregation.CommonFields
Common xcontent fields that are shared among addAggregation
|
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPED_KEYS_DELIMITER
Delimiter used when prefixing aggregation names with their type
using the typed_keys parameter
|
EMPTY_PARAMS
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getMetaData()
Get the optional byte array metadata that was set on the aggregation
|
java.lang.String |
getName() |
java.lang.String |
getType() |
isFragment, toXContent
static final java.lang.String TYPED_KEYS_DELIMITER
java.lang.String getName()
java.lang.String getType()
java.util.Map<java.lang.String,java.lang.Object> getMetaData()