Interface BaseAggregationBuilder
-
- All Known Implementing Classes:
AbstractAggregationBuilder
,AbstractPipelineAggregationBuilder
,AbstractRangeBuilder
,AdjacencyMatrixAggregationBuilder
,AggregationBuilder
,AutoDateHistogramAggregationBuilder
,AvgAggregationBuilder
,AvgBucketPipelineAggregationBuilder
,BucketMetricsPipelineAggregationBuilder
,BucketScriptPipelineAggregationBuilder
,BucketSelectorPipelineAggregationBuilder
,BucketSortPipelineAggregationBuilder
,CardinalityAggregationBuilder
,CompositeAggregationBuilder
,CumulativeSumPipelineAggregationBuilder
,DateHistogramAggregationBuilder
,DateRangeAggregationBuilder
,DerivativePipelineAggregationBuilder
,DiversifiedAggregationBuilder
,ExtendedStatsAggregationBuilder
,ExtendedStatsBucketPipelineAggregationBuilder
,FilterAggregationBuilder
,FiltersAggregationBuilder
,GeoBoundsAggregationBuilder
,GeoCentroidAggregationBuilder
,GeoDistanceAggregationBuilder
,GeoGridAggregationBuilder
,GlobalAggregationBuilder
,HistogramAggregationBuilder
,IpRangeAggregationBuilder
,MaxAggregationBuilder
,MaxBucketPipelineAggregationBuilder
,MedianAbsoluteDeviationAggregationBuilder
,MinAggregationBuilder
,MinBucketPipelineAggregationBuilder
,MissingAggregationBuilder
,MovAvgPipelineAggregationBuilder
,MovFnPipelineAggregationBuilder
,MultiValuesSourceAggregationBuilder
,MultiValuesSourceAggregationBuilder.LeafOnly
,NestedAggregationBuilder
,PercentileRanksAggregationBuilder
,PercentilesAggregationBuilder
,PercentilesBucketPipelineAggregationBuilder
,PipelineAggregationBuilder
,RangeAggregationBuilder
,ReverseNestedAggregationBuilder
,SamplerAggregationBuilder
,ScriptedMetricAggregationBuilder
,SerialDiffPipelineAggregationBuilder
,SignificantTermsAggregationBuilder
,SignificantTextAggregationBuilder
,StatsAggregationBuilder
,StatsBucketPipelineAggregationBuilder
,SumAggregationBuilder
,SumBucketPipelineAggregationBuilder
,TermsAggregationBuilder
,TopHitsAggregationBuilder
,ValueCountAggregationBuilder
,ValuesSourceAggregationBuilder
,ValuesSourceAggregationBuilder.LeafOnly
,WeightedAvgAggregationBuilder
public interface BaseAggregationBuilder
Interface shared byAggregationBuilder
andPipelineAggregationBuilder
so they can conveniently share the same namespace forXContentParser.namedObject(Class, String, Object)
.
-
-
Method Summary
Modifier and Type Method 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.
-
-
-
Method Detail
-
getType
java.lang.String getType()
The name of the type of aggregation built by this builder.
-
setMetaData
BaseAggregationBuilder setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData)
Set the aggregation's metadata. Returnsthis
for chaining.
-
subAggregations
BaseAggregationBuilder subAggregations(AggregatorFactories.Builder subFactories)
Set the sub aggregations if this aggregation supports sub aggregations. Returnsthis
for chaining.
-
-