Class AggregationBuilders
- java.lang.Object
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBuilders
-
public class AggregationBuilders extends java.lang.Object
Builders forAggregation
variants.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AdjacencyMatrixAggregation.Builder
adjacencyMatrix()
Creates a builder for theadjacency_matrix
Aggregation
variant.static AutoDateHistogramAggregation.Builder
autoDateHistogram()
Creates a builder for theauto_date_histogram
Aggregation
variant.static AverageAggregation.Builder
avg()
Creates a builder for theavg
Aggregation
variant.static AverageBucketAggregation.Builder
avgBucket()
Creates a builder for theavg_bucket
Aggregation
variant.static BoxplotAggregation.Builder
boxplot()
Creates a builder for theboxplot
Aggregation
variant.static BucketScriptAggregation.Builder
bucketScript()
Creates a builder for thebucket_script
Aggregation
variant.static BucketSelectorAggregation.Builder
bucketSelector()
Creates a builder for thebucket_selector
Aggregation
variant.static BucketSortAggregation.Builder
bucketSort()
Creates a builder for thebucket_sort
Aggregation
variant.static CardinalityAggregation.Builder
cardinality()
Creates a builder for thecardinality
Aggregation
variant.static ChildrenAggregation.Builder
children()
Creates a builder for thechildren
Aggregation
variant.static CompositeAggregation.Builder
composite()
Creates a builder for thecomposite
Aggregation
variant.static CumulativeCardinalityAggregation.Builder
cumulativeCardinality()
Creates a builder for thecumulative_cardinality
Aggregation
variant.static CumulativeSumAggregation.Builder
cumulativeSum()
Creates a builder for thecumulative_sum
Aggregation
variant.static DateHistogramAggregation.Builder
dateHistogram()
Creates a builder for thedate_histogram
Aggregation
variant.static DateRangeAggregation.Builder
dateRange()
Creates a builder for thedate_range
Aggregation
variant.static DerivativeAggregation.Builder
derivative()
Creates a builder for thederivative
Aggregation
variant.static DiversifiedSamplerAggregation.Builder
diversifiedSampler()
Creates a builder for thediversified_sampler
Aggregation
variant.static ExtendedStatsAggregation.Builder
extendedStats()
Creates a builder for theextended_stats
Aggregation
variant.static ExtendedStatsBucketAggregation.Builder
extendedStatsBucket()
Creates a builder for theextended_stats_bucket
Aggregation
variant.static Query.Builder
filter()
Creates a builder for thefilter
Aggregation
variant.static FiltersAggregation.Builder
filters()
Creates a builder for thefilters
Aggregation
variant.static GeoBoundsAggregation.Builder
geoBounds()
Creates a builder for thegeo_bounds
Aggregation
variant.static GeoCentroidAggregation.Builder
geoCentroid()
Creates a builder for thegeo_centroid
Aggregation
variant.static GeoDistanceAggregation.Builder
geoDistance()
Creates a builder for thegeo_distance
Aggregation
variant.static GeoHashGridAggregation.Builder
geohashGrid()
Creates a builder for thegeohash_grid
Aggregation
variant.static GeoLineAggregation.Builder
geoLine()
Creates a builder for thegeo_line
Aggregation
variant.static GeoTileGridAggregation.Builder
geotileGrid()
Creates a builder for thegeotile_grid
Aggregation
variant.static GlobalAggregation.Builder
global()
Creates a builder for theglobal
Aggregation
variant.static HistogramAggregation.Builder
histogram()
Creates a builder for thehistogram
Aggregation
variant.static InferenceAggregation.Builder
inference()
Creates a builder for theinference
Aggregation
variant.static IpRangeAggregation.Builder
ipRange()
Creates a builder for theip_range
Aggregation
variant.static MatrixStatsAggregation.Builder
matrixStats()
Creates a builder for thematrix_stats
Aggregation
variant.static MaxAggregation.Builder
max()
Creates a builder for themax
Aggregation
variant.static MaxBucketAggregation.Builder
maxBucket()
Creates a builder for themax_bucket
Aggregation
variant.static MedianAbsoluteDeviationAggregation.Builder
medianAbsoluteDeviation()
Creates a builder for themedian_absolute_deviation
Aggregation
variant.static MinAggregation.Builder
min()
Creates a builder for themin
Aggregation
variant.static MinBucketAggregation.Builder
minBucket()
Creates a builder for themin_bucket
Aggregation
variant.static MissingAggregation.Builder
missing()
Creates a builder for themissing
Aggregation
variant.static MovingAverageAggregation.Builder
movingAvg()
Creates a builder for themoving_avg
Aggregation
variant.static MovingFunctionAggregation.Builder
movingFn()
Creates a builder for themoving_fn
Aggregation
variant.static MovingPercentilesAggregation.Builder
movingPercentiles()
Creates a builder for themoving_percentiles
Aggregation
variant.static MultiTermsAggregation.Builder
multiTerms()
Creates a builder for themulti_terms
Aggregation
variant.static NestedAggregation.Builder
nested()
Creates a builder for thenested
Aggregation
variant.static NormalizeAggregation.Builder
normalize()
Creates a builder for thenormalize
Aggregation
variant.static ParentAggregation.Builder
parent()
Creates a builder for theparent
Aggregation
variant.static PercentileRanksAggregation.Builder
percentileRanks()
Creates a builder for thepercentile_ranks
Aggregation
variant.static PercentilesAggregation.Builder
percentiles()
Creates a builder for thepercentiles
Aggregation
variant.static PercentilesBucketAggregation.Builder
percentilesBucket()
Creates a builder for thepercentiles_bucket
Aggregation
variant.static RangeAggregation.Builder
range()
Creates a builder for therange
Aggregation
variant.static RareTermsAggregation.Builder
rareTerms()
Creates a builder for therare_terms
Aggregation
variant.static RateAggregation.Builder
rate()
Creates a builder for therate
Aggregation
variant.static ReverseNestedAggregation.Builder
reverseNested()
Creates a builder for thereverse_nested
Aggregation
variant.static SamplerAggregation.Builder
sampler()
Creates a builder for thesampler
Aggregation
variant.static ScriptedMetricAggregation.Builder
scriptedMetric()
Creates a builder for thescripted_metric
Aggregation
variant.static SerialDifferencingAggregation.Builder
serialDiff()
Creates a builder for theserial_diff
Aggregation
variant.static SignificantTermsAggregation.Builder
significantTerms()
Creates a builder for thesignificant_terms
Aggregation
variant.static SignificantTextAggregation.Builder
significantText()
Creates a builder for thesignificant_text
Aggregation
variant.static StatsAggregation.Builder
stats()
Creates a builder for thestats
Aggregation
variant.static StatsBucketAggregation.Builder
statsBucket()
Creates a builder for thestats_bucket
Aggregation
variant.static StringStatsAggregation.Builder
stringStats()
Creates a builder for thestring_stats
Aggregation
variant.static SumAggregation.Builder
sum()
Creates a builder for thesum
Aggregation
variant.static SumBucketAggregation.Builder
sumBucket()
Creates a builder for thesum_bucket
Aggregation
variant.static TermsAggregation.Builder
terms()
Creates a builder for theterms
Aggregation
variant.static TopHitsAggregation.Builder
topHits()
Creates a builder for thetop_hits
Aggregation
variant.static TopMetricsAggregation.Builder
topMetrics()
Creates a builder for thetop_metrics
Aggregation
variant.static TTestAggregation.Builder
tTest()
Creates a builder for thet_test
Aggregation
variant.static ValueCountAggregation.Builder
valueCount()
Creates a builder for thevalue_count
Aggregation
variant.static VariableWidthHistogramAggregation.Builder
variableWidthHistogram()
Creates a builder for thevariable_width_histogram
Aggregation
variant.static WeightedAverageAggregation.Builder
weightedAvg()
Creates a builder for theweighted_avg
Aggregation
variant.
-
-
-
Method Detail
-
adjacencyMatrix
public static AdjacencyMatrixAggregation.Builder adjacencyMatrix()
Creates a builder for theadjacency_matrix
Aggregation
variant.
-
autoDateHistogram
public static AutoDateHistogramAggregation.Builder autoDateHistogram()
Creates a builder for theauto_date_histogram
Aggregation
variant.
-
avg
public static AverageAggregation.Builder avg()
Creates a builder for theavg
Aggregation
variant.
-
avgBucket
public static AverageBucketAggregation.Builder avgBucket()
Creates a builder for theavg_bucket
Aggregation
variant.
-
boxplot
public static BoxplotAggregation.Builder boxplot()
Creates a builder for theboxplot
Aggregation
variant.
-
bucketScript
public static BucketScriptAggregation.Builder bucketScript()
Creates a builder for thebucket_script
Aggregation
variant.
-
bucketSelector
public static BucketSelectorAggregation.Builder bucketSelector()
Creates a builder for thebucket_selector
Aggregation
variant.
-
bucketSort
public static BucketSortAggregation.Builder bucketSort()
Creates a builder for thebucket_sort
Aggregation
variant.
-
cardinality
public static CardinalityAggregation.Builder cardinality()
Creates a builder for thecardinality
Aggregation
variant.
-
children
public static ChildrenAggregation.Builder children()
Creates a builder for thechildren
Aggregation
variant.
-
composite
public static CompositeAggregation.Builder composite()
Creates a builder for thecomposite
Aggregation
variant.
-
cumulativeCardinality
public static CumulativeCardinalityAggregation.Builder cumulativeCardinality()
Creates a builder for thecumulative_cardinality
Aggregation
variant.
-
cumulativeSum
public static CumulativeSumAggregation.Builder cumulativeSum()
Creates a builder for thecumulative_sum
Aggregation
variant.
-
dateHistogram
public static DateHistogramAggregation.Builder dateHistogram()
Creates a builder for thedate_histogram
Aggregation
variant.
-
dateRange
public static DateRangeAggregation.Builder dateRange()
Creates a builder for thedate_range
Aggregation
variant.
-
derivative
public static DerivativeAggregation.Builder derivative()
Creates a builder for thederivative
Aggregation
variant.
-
diversifiedSampler
public static DiversifiedSamplerAggregation.Builder diversifiedSampler()
Creates a builder for thediversified_sampler
Aggregation
variant.
-
extendedStats
public static ExtendedStatsAggregation.Builder extendedStats()
Creates a builder for theextended_stats
Aggregation
variant.
-
extendedStatsBucket
public static ExtendedStatsBucketAggregation.Builder extendedStatsBucket()
Creates a builder for theextended_stats_bucket
Aggregation
variant.
-
filter
public static Query.Builder filter()
Creates a builder for thefilter
Aggregation
variant.
-
filters
public static FiltersAggregation.Builder filters()
Creates a builder for thefilters
Aggregation
variant.
-
geoBounds
public static GeoBoundsAggregation.Builder geoBounds()
Creates a builder for thegeo_bounds
Aggregation
variant.
-
geoCentroid
public static GeoCentroidAggregation.Builder geoCentroid()
Creates a builder for thegeo_centroid
Aggregation
variant.
-
geoDistance
public static GeoDistanceAggregation.Builder geoDistance()
Creates a builder for thegeo_distance
Aggregation
variant.
-
geohashGrid
public static GeoHashGridAggregation.Builder geohashGrid()
Creates a builder for thegeohash_grid
Aggregation
variant.
-
geoLine
public static GeoLineAggregation.Builder geoLine()
Creates a builder for thegeo_line
Aggregation
variant.
-
geotileGrid
public static GeoTileGridAggregation.Builder geotileGrid()
Creates a builder for thegeotile_grid
Aggregation
variant.
-
global
public static GlobalAggregation.Builder global()
Creates a builder for theglobal
Aggregation
variant.
-
histogram
public static HistogramAggregation.Builder histogram()
Creates a builder for thehistogram
Aggregation
variant.
-
ipRange
public static IpRangeAggregation.Builder ipRange()
Creates a builder for theip_range
Aggregation
variant.
-
inference
public static InferenceAggregation.Builder inference()
Creates a builder for theinference
Aggregation
variant.
-
matrixStats
public static MatrixStatsAggregation.Builder matrixStats()
Creates a builder for thematrix_stats
Aggregation
variant.
-
max
public static MaxAggregation.Builder max()
Creates a builder for themax
Aggregation
variant.
-
maxBucket
public static MaxBucketAggregation.Builder maxBucket()
Creates a builder for themax_bucket
Aggregation
variant.
-
medianAbsoluteDeviation
public static MedianAbsoluteDeviationAggregation.Builder medianAbsoluteDeviation()
Creates a builder for themedian_absolute_deviation
Aggregation
variant.
-
min
public static MinAggregation.Builder min()
Creates a builder for themin
Aggregation
variant.
-
minBucket
public static MinBucketAggregation.Builder minBucket()
Creates a builder for themin_bucket
Aggregation
variant.
-
missing
public static MissingAggregation.Builder missing()
Creates a builder for themissing
Aggregation
variant.
-
movingAvg
public static MovingAverageAggregation.Builder movingAvg()
Creates a builder for themoving_avg
Aggregation
variant.
-
movingPercentiles
public static MovingPercentilesAggregation.Builder movingPercentiles()
Creates a builder for themoving_percentiles
Aggregation
variant.
-
movingFn
public static MovingFunctionAggregation.Builder movingFn()
Creates a builder for themoving_fn
Aggregation
variant.
-
multiTerms
public static MultiTermsAggregation.Builder multiTerms()
Creates a builder for themulti_terms
Aggregation
variant.
-
nested
public static NestedAggregation.Builder nested()
Creates a builder for thenested
Aggregation
variant.
-
normalize
public static NormalizeAggregation.Builder normalize()
Creates a builder for thenormalize
Aggregation
variant.
-
parent
public static ParentAggregation.Builder parent()
Creates a builder for theparent
Aggregation
variant.
-
percentileRanks
public static PercentileRanksAggregation.Builder percentileRanks()
Creates a builder for thepercentile_ranks
Aggregation
variant.
-
percentiles
public static PercentilesAggregation.Builder percentiles()
Creates a builder for thepercentiles
Aggregation
variant.
-
percentilesBucket
public static PercentilesBucketAggregation.Builder percentilesBucket()
Creates a builder for thepercentiles_bucket
Aggregation
variant.
-
range
public static RangeAggregation.Builder range()
Creates a builder for therange
Aggregation
variant.
-
rareTerms
public static RareTermsAggregation.Builder rareTerms()
Creates a builder for therare_terms
Aggregation
variant.
-
rate
public static RateAggregation.Builder rate()
Creates a builder for therate
Aggregation
variant.
-
reverseNested
public static ReverseNestedAggregation.Builder reverseNested()
Creates a builder for thereverse_nested
Aggregation
variant.
-
sampler
public static SamplerAggregation.Builder sampler()
Creates a builder for thesampler
Aggregation
variant.
-
scriptedMetric
public static ScriptedMetricAggregation.Builder scriptedMetric()
Creates a builder for thescripted_metric
Aggregation
variant.
-
serialDiff
public static SerialDifferencingAggregation.Builder serialDiff()
Creates a builder for theserial_diff
Aggregation
variant.
-
significantTerms
public static SignificantTermsAggregation.Builder significantTerms()
Creates a builder for thesignificant_terms
Aggregation
variant.
-
significantText
public static SignificantTextAggregation.Builder significantText()
Creates a builder for thesignificant_text
Aggregation
variant.
-
stats
public static StatsAggregation.Builder stats()
Creates a builder for thestats
Aggregation
variant.
-
statsBucket
public static StatsBucketAggregation.Builder statsBucket()
Creates a builder for thestats_bucket
Aggregation
variant.
-
stringStats
public static StringStatsAggregation.Builder stringStats()
Creates a builder for thestring_stats
Aggregation
variant.
-
sum
public static SumAggregation.Builder sum()
Creates a builder for thesum
Aggregation
variant.
-
sumBucket
public static SumBucketAggregation.Builder sumBucket()
Creates a builder for thesum_bucket
Aggregation
variant.
-
terms
public static TermsAggregation.Builder terms()
Creates a builder for theterms
Aggregation
variant.
-
topHits
public static TopHitsAggregation.Builder topHits()
Creates a builder for thetop_hits
Aggregation
variant.
-
tTest
public static TTestAggregation.Builder tTest()
Creates a builder for thet_test
Aggregation
variant.
-
topMetrics
public static TopMetricsAggregation.Builder topMetrics()
Creates a builder for thetop_metrics
Aggregation
variant.
-
valueCount
public static ValueCountAggregation.Builder valueCount()
Creates a builder for thevalue_count
Aggregation
variant.
-
weightedAvg
public static WeightedAverageAggregation.Builder weightedAvg()
Creates a builder for theweighted_avg
Aggregation
variant.
-
variableWidthHistogram
public static VariableWidthHistogramAggregation.Builder variableWidthHistogram()
Creates a builder for thevariable_width_histogram
Aggregation
variant.
-
-