public interface BaseAggregationBuilder
AggregationBuilder
and PipelineAggregationBuilder
so they can conveniently share the same namespace
for XContentParser.namedObject(Class, String, Object)
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getType()
The name of the type of aggregation built by this builder.
|
BaseAggregationBuilder |
setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData)
Set the aggregation's metadata.
|
BaseAggregationBuilder |
subAggregations(AggregatorFactories.Builder subFactories)
Set the sub aggregations if this aggregation supports sub aggregations.
|
java.lang.String getType()
BaseAggregationBuilder setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData)
this
for chaining.BaseAggregationBuilder subAggregations(AggregatorFactories.Builder subFactories)
this
for chaining.