public class AggregationBuilders extends Object
| Modifier and Type | Method and Description |
|---|---|
static AvgBuilder |
avg(String name)
Create a new
Avg aggregation with the given name. |
static CardinalityBuilder |
cardinality(String name)
Create a new
Cardinality aggregation with the given name. |
static ChildrenBuilder |
children(String name)
Create a new
Children aggregation with the given name. |
static ValueCountBuilder |
count(String name)
Create a new
ValueCount aggregation with the given name. |
static DateHistogramBuilder |
dateHistogram(String name)
Create a new
DateHistogramBuilder aggregation with the given name. |
static DateRangeBuilder |
dateRange(String name)
Create a new
DateRangeBuilder aggregation with the given name. |
static ExtendedStatsBuilder |
extendedStats(String name)
Create a new
ExtendedStats aggregation with the given name. |
static FilterAggregationBuilder |
filter(String name)
Create a new
Filter aggregation with the given name. |
static FiltersAggregationBuilder |
filters(String name)
Create a new
Filters aggregation with the given name. |
static GeoBoundsBuilder |
geoBounds(String name)
Create a new
GeoBounds aggregation with the given name. |
static GeoCentroidBuilder |
geoCentroid(String name)
Create a new
GeoCentroid aggregation with the given name. |
static GeoDistanceBuilder |
geoDistance(String name)
Create a new
GeoDistance aggregation with the given name. |
static GeoHashGridBuilder |
geohashGrid(String name)
Create a new
GeoHashGrid aggregation with the given name. |
static GlobalBuilder |
global(String name)
Create a new
Global aggregation with the given name. |
static HistogramBuilder |
histogram(String name)
Create a new
Histogram aggregation with the given name. |
static IPv4RangeBuilder |
ipRange(String name)
Create a new
IPv4RangeBuilder aggregation with the given name. |
static MaxBuilder |
max(String name)
Create a new
Max aggregation with the given name. |
static MinBuilder |
min(String name)
Create a new
Min aggregation with the given name. |
static MissingBuilder |
missing(String name)
Create a new
Missing aggregation with the given name. |
static NestedBuilder |
nested(String name)
Create a new
Nested aggregation with the given name. |
static PercentileRanksBuilder |
percentileRanks(String name)
Create a new
PercentileRanks aggregation with the given name. |
static PercentilesBuilder |
percentiles(String name)
Create a new
Percentiles aggregation with the given name. |
static RangeBuilder |
range(String name)
Create a new
Range aggregation with the given name. |
static ReverseNestedBuilder |
reverseNested(String name)
Create a new
ReverseNested aggregation with the given name. |
static SamplerAggregationBuilder |
sampler(String name)
Create a new
Sampler aggregation with the given name. |
static ScriptedMetricBuilder |
scriptedMetric(String name)
Create a new
ScriptedMetric aggregation with the given name. |
static SignificantTermsBuilder |
significantTerms(String name)
Create a new
SignificantTerms aggregation with the given name. |
static StatsBuilder |
stats(String name)
Create a new
Stats aggregation with the given name. |
static SumBuilder |
sum(String name)
Create a new
Sum aggregation with the given name. |
static TermsBuilder |
terms(String name)
Create a new
Terms aggregation with the given name. |
static TopHitsBuilder |
topHits(String name)
Create a new
TopHits aggregation with the given name. |
public static ValueCountBuilder count(String name)
ValueCount aggregation with the given name.public static AvgBuilder avg(String name)
Avg aggregation with the given name.public static MaxBuilder max(String name)
Max aggregation with the given name.public static MinBuilder min(String name)
Min aggregation with the given name.public static SumBuilder sum(String name)
Sum aggregation with the given name.public static StatsBuilder stats(String name)
Stats aggregation with the given name.public static ExtendedStatsBuilder extendedStats(String name)
ExtendedStats aggregation with the given name.public static FilterAggregationBuilder filter(String name)
Filter aggregation with the given name.public static FiltersAggregationBuilder filters(String name)
Filters aggregation with the given name.public static SamplerAggregationBuilder sampler(String name)
Sampler aggregation with the given name.public static GlobalBuilder global(String name)
Global aggregation with the given name.public static MissingBuilder missing(String name)
Missing aggregation with the given name.public static NestedBuilder nested(String name)
Nested aggregation with the given name.public static ReverseNestedBuilder reverseNested(String name)
ReverseNested aggregation with the given name.public static ChildrenBuilder children(String name)
Children aggregation with the given name.public static GeoDistanceBuilder geoDistance(String name)
GeoDistance aggregation with the given name.public static HistogramBuilder histogram(String name)
Histogram aggregation with the given name.public static GeoHashGridBuilder geohashGrid(String name)
GeoHashGrid aggregation with the given name.public static SignificantTermsBuilder significantTerms(String name)
SignificantTerms aggregation with the given name.public static DateHistogramBuilder dateHistogram(String name)
DateHistogramBuilder aggregation with the given name.public static RangeBuilder range(String name)
Range aggregation with the given name.public static DateRangeBuilder dateRange(String name)
DateRangeBuilder aggregation with the given name.public static IPv4RangeBuilder ipRange(String name)
IPv4RangeBuilder aggregation with the given name.public static TermsBuilder terms(String name)
Terms aggregation with the given name.public static PercentilesBuilder percentiles(String name)
Percentiles aggregation with the given name.public static PercentileRanksBuilder percentileRanks(String name)
PercentileRanks aggregation with the given name.public static CardinalityBuilder cardinality(String name)
Cardinality aggregation with the given name.public static TopHitsBuilder topHits(String name)
TopHits aggregation with the given name.public static GeoBoundsBuilder geoBounds(String name)
GeoBounds aggregation with the given name.public static GeoCentroidBuilder geoCentroid(String name)
GeoCentroid aggregation with the given name.public static ScriptedMetricBuilder scriptedMetric(String name)
ScriptedMetric aggregation with the given name.Copyright © 2009–2017. All rights reserved.