Class AggregationContainer
java.lang.Object
org.opensearch.client.util.TaggedUnion<AggregationContainer.Tag,java.lang.Object>
org.opensearch.client.opensearch._types.aggregations.AggregationContainer
- All Implemented Interfaces:
ToJsonp
public class AggregationContainer extends TaggedUnion<AggregationContainer.Tag,java.lang.Object> implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregationContainer.Builderstatic classAggregationContainer.Tag -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregationContainer>DESERIALIZER -
Method Summary
Modifier and Type Method Description AdjacencyMatrixAggregationadjacencyMatrix()Get theadjacency_matrixvariant value.java.util.Map<java.lang.String,AggregationContainer>aggregations()Get theaggregationsvariant value.java.util.Map<java.lang.String,AggregationContainer>aggs()API name:aggsAutoDateHistogramAggregationautoDateHistogram()Get theauto_date_histogramvariant value.jakarta.json.JsonValueavg()Get theavgvariant value.jakarta.json.JsonValueavgBucket()Get theavg_bucketvariant value.BoxplotAggregationboxplot()Get theboxplotvariant value.BucketScriptAggregationbucketScript()Get thebucket_scriptvariant value.BucketSelectorAggregationbucketSelector()Get thebucket_selectorvariant value.BucketSortAggregationbucketSort()Get thebucket_sortvariant value.CardinalityAggregationcardinality()Get thecardinalityvariant value.ChildrenAggregationchildren()Get thechildrenvariant value.CompositeAggregationcomposite()Get thecompositevariant value.jakarta.json.JsonValuecumulativeCardinality()Get thecumulative_cardinalityvariant value.jakarta.json.JsonValuecumulativeSum()Get thecumulative_sumvariant value.DateHistogramAggregationdateHistogram()Get thedate_histogramvariant value.DateRangeAggregationdateRange()Get thedate_rangevariant value.jakarta.json.JsonValuederivative()Get thederivativevariant value.DiversifiedSamplerAggregationdiversifiedSampler()Get thediversified_samplervariant value.ExtendedStatsAggregationextendedStats()Get theextended_statsvariant value.ExtendedStatsBucketAggregationextendedStatsBucket()Get theextended_stats_bucketvariant value.QueryContainerfilter()Get thefiltervariant value.FiltersAggregationfilters()Get thefiltersvariant value.GeoBoundsAggregationgeoBounds()Get thegeo_boundsvariant value.GeoCentroidAggregationgeoCentroid()Get thegeo_centroidvariant value.GeoDistanceAggregationgeoDistance()Get thegeo_distancevariant value.GeoHashGridAggregationgeohashGrid()Get thegeohash_gridvariant value.GeoLineAggregationgeoLine()Get thegeo_linevariant value.GeoTileGridAggregationgeotileGrid()Get thegeotile_gridvariant value.jakarta.json.JsonValueglobal()Get theglobalvariant value.HistogramAggregationhistogram()Get thehistogramvariant value.InferenceAggregationinference()Get theinferencevariant value.IpRangeAggregationipRange()Get theip_rangevariant value.booleanisAdjacencyMatrix()Is thisAggregationContainerof aadjacency_matrixkind?booleanisAggregations()Is thisAggregationContainerof aaggregationskind?booleanisAutoDateHistogram()Is thisAggregationContainerof aauto_date_histogramkind?booleanisAvg()Is thisAggregationContainerof aavgkind?booleanisAvgBucket()Is thisAggregationContainerof aavg_bucketkind?booleanisBoxplot()Is thisAggregationContainerof aboxplotkind?booleanisBucketScript()Is thisAggregationContainerof abucket_scriptkind?booleanisBucketSelector()Is thisAggregationContainerof abucket_selectorkind?booleanisBucketSort()Is thisAggregationContainerof abucket_sortkind?booleanisCardinality()Is thisAggregationContainerof acardinalitykind?booleanisChildren()Is thisAggregationContainerof achildrenkind?booleanisComposite()Is thisAggregationContainerof acompositekind?booleanisCumulativeCardinality()Is thisAggregationContainerof acumulative_cardinalitykind?booleanisCumulativeSum()Is thisAggregationContainerof acumulative_sumkind?booleanisDateHistogram()Is thisAggregationContainerof adate_histogramkind?booleanisDateRange()Is thisAggregationContainerof adate_rangekind?booleanisDerivative()Is thisAggregationContainerof aderivativekind?booleanisDiversifiedSampler()Is thisAggregationContainerof adiversified_samplerkind?booleanisExtendedStats()Is thisAggregationContainerof aextended_statskind?booleanisExtendedStatsBucket()Is thisAggregationContainerof aextended_stats_bucketkind?booleanisFilter()Is thisAggregationContainerof afilterkind?booleanisFilters()Is thisAggregationContainerof afilterskind?booleanisGeoBounds()Is thisAggregationContainerof ageo_boundskind?booleanisGeoCentroid()Is thisAggregationContainerof ageo_centroidkind?booleanisGeoDistance()Is thisAggregationContainerof ageo_distancekind?booleanisGeohashGrid()Is thisAggregationContainerof ageohash_gridkind?booleanisGeoLine()Is thisAggregationContainerof ageo_linekind?booleanisGeotileGrid()Is thisAggregationContainerof ageotile_gridkind?booleanisGlobal()Is thisAggregationContainerof aglobalkind?booleanisHistogram()Is thisAggregationContainerof ahistogramkind?booleanisInference()Is thisAggregationContainerof ainferencekind?booleanisIpRange()Is thisAggregationContainerof aip_rangekind?booleanisLine()Is thisAggregationContainerof alinekind?booleanisMatrixStats()Is thisAggregationContainerof amatrix_statskind?booleanisMax()Is thisAggregationContainerof amaxkind?booleanisMaxBucket()Is thisAggregationContainerof amax_bucketkind?booleanisMedianAbsoluteDeviation()Is thisAggregationContainerof amedian_absolute_deviationkind?booleanisMin()Is thisAggregationContainerof aminkind?booleanisMinBucket()Is thisAggregationContainerof amin_bucketkind?booleanisMissing()Is thisAggregationContainerof amissingkind?booleanisMovingAvg()Is thisAggregationContainerof amoving_avgkind?booleanisMovingFn()Is thisAggregationContainerof amoving_fnkind?booleanisMovingPercentiles()Is thisAggregationContainerof amoving_percentileskind?booleanisMultiTerms()Is thisAggregationContainerof amulti_termskind?booleanisNested()Is thisAggregationContainerof anestedkind?booleanisNormalize()Is thisAggregationContainerof anormalizekind?booleanisParent()Is thisAggregationContainerof aparentkind?booleanisPercentileRanks()Is thisAggregationContainerof apercentile_rankskind?booleanisPercentiles()Is thisAggregationContainerof apercentileskind?booleanisPercentilesBucket()Is thisAggregationContainerof apercentiles_bucketkind?booleanisRange()Is thisAggregationContainerof arangekind?booleanisRareTerms()Is thisAggregationContainerof arare_termskind?booleanisRate()Is thisAggregationContainerof aratekind?booleanisReverseNested()Is thisAggregationContainerof areverse_nestedkind?booleanisSampler()Is thisAggregationContainerof asamplerkind?booleanisScriptedMetric()Is thisAggregationContainerof ascripted_metrickind?booleanisSerialDiff()Is thisAggregationContainerof aserial_diffkind?booleanisSignificantTerms()Is thisAggregationContainerof asignificant_termskind?booleanisSignificantText()Is thisAggregationContainerof asignificant_textkind?booleanisStats()Is thisAggregationContainerof astatskind?booleanisStatsBucket()Is thisAggregationContainerof astats_bucketkind?booleanisStringStats()Is thisAggregationContainerof astring_statskind?booleanisSum()Is thisAggregationContainerof asumkind?booleanisSumBucket()Is thisAggregationContainerof asum_bucketkind?booleanisTerms()Is thisAggregationContainerof atermskind?booleanisTopHits()Is thisAggregationContainerof atop_hitskind?booleanisTopMetrics()Is thisAggregationContainerof atop_metricskind?booleanisTTest()Is thisAggregationContainerof at_testkind?booleanisValueCount()Is thisAggregationContainerof avalue_countkind?booleanisVariableWidthHistogram()Is thisAggregationContainerof avariable_width_histogramkind?booleanisWeightedAvg()Is thisAggregationContainerof aweighted_avgkind?GeoLineAggregationline()Get thelinevariant value.MatrixStatsAggregationmatrixStats()Get thematrix_statsvariant value.jakarta.json.JsonValuemax()Get themaxvariant value.jakarta.json.JsonValuemaxBucket()Get themax_bucketvariant value.MedianAbsoluteDeviationAggregationmedianAbsoluteDeviation()Get themedian_absolute_deviationvariant value.java.util.Map<java.lang.String,jakarta.json.JsonValue>meta()API name:metajakarta.json.JsonValuemin()Get theminvariant value.jakarta.json.JsonValueminBucket()Get themin_bucketvariant value.MissingAggregationmissing()Get themissingvariant value.MovingAverageAggregationmovingAvg()Get themoving_avgvariant value.MovingFunctionAggregationmovingFn()Get themoving_fnvariant value.MovingPercentilesAggregationmovingPercentiles()Get themoving_percentilesvariant value.MultiTermsAggregationmultiTerms()Get themulti_termsvariant value.NestedAggregationnested()Get thenestedvariant value.NormalizeAggregationnormalize()Get thenormalizevariant value.ParentAggregationparent()Get theparentvariant value.PercentileRanksAggregationpercentileRanks()Get thepercentile_ranksvariant value.PercentilesAggregationpercentiles()Get thepercentilesvariant value.PercentilesBucketAggregationpercentilesBucket()Get thepercentiles_bucketvariant value.RangeAggregationrange()Get therangevariant value.RareTermsAggregationrareTerms()Get therare_termsvariant value.RateAggregationrate()Get theratevariant value.ReverseNestedAggregationreverseNested()Get thereverse_nestedvariant value.SamplerAggregationsampler()Get thesamplervariant value.ScriptedMetricAggregationscriptedMetric()Get thescripted_metricvariant value.SerialDifferencingAggregationserialDiff()Get theserial_diffvariant value.SignificantTermsAggregationsignificantTerms()Get thesignificant_termsvariant value.SignificantTextAggregationsignificantText()Get thesignificant_textvariant value.jakarta.json.JsonValuestats()Get thestatsvariant value.jakarta.json.JsonValuestatsBucket()Get thestats_bucketvariant value.StringStatsAggregationstringStats()Get thestring_statsvariant value.jakarta.json.JsonValuesum()Get thesumvariant value.jakarta.json.JsonValuesumBucket()Get thesum_bucketvariant value.TermsAggregationterms()Get thetermsvariant value.voidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)TopHitsAggregationtopHits()Get thetop_hitsvariant value.TopMetricsAggregationtopMetrics()Get thetop_metricsvariant value.TTestAggregationtTest()Get thet_testvariant value.jakarta.json.JsonValuevalueCount()Get thevalue_countvariant value.VariableWidthHistogramAggregationvariableWidthHistogram()Get thevariable_width_histogramvariant value.WeightedAverageAggregationweightedAvg()Get theweighted_avgvariant value.
-
Field Details
-
Method Details
-
aggs
API name:aggs -
meta
@Nullable public java.util.Map<java.lang.String,jakarta.json.JsonValue> meta()API name:meta -
isAdjacencyMatrix
public boolean isAdjacencyMatrix()Is thisAggregationContainerof aadjacency_matrixkind? -
adjacencyMatrix
Get theadjacency_matrixvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theadjacency_matrixkind.
-
isAggregations
public boolean isAggregations()Is thisAggregationContainerof aaggregationskind? -
aggregations
Get theaggregationsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theaggregationskind.
-
isAutoDateHistogram
public boolean isAutoDateHistogram()Is thisAggregationContainerof aauto_date_histogramkind? -
autoDateHistogram
Get theauto_date_histogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theauto_date_histogramkind.
-
isAvg
public boolean isAvg()Is thisAggregationContainerof aavgkind? -
avg
public jakarta.json.JsonValue avg()Get theavgvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theavgkind.
-
isAvgBucket
public boolean isAvgBucket()Is thisAggregationContainerof aavg_bucketkind? -
avgBucket
public jakarta.json.JsonValue avgBucket()Get theavg_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theavg_bucketkind.
-
isBoxplot
public boolean isBoxplot()Is thisAggregationContainerof aboxplotkind? -
boxplot
Get theboxplotvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theboxplotkind.
-
isBucketScript
public boolean isBucketScript()Is thisAggregationContainerof abucket_scriptkind? -
bucketScript
Get thebucket_scriptvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebucket_scriptkind.
-
isBucketSelector
public boolean isBucketSelector()Is thisAggregationContainerof abucket_selectorkind? -
bucketSelector
Get thebucket_selectorvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebucket_selectorkind.
-
isBucketSort
public boolean isBucketSort()Is thisAggregationContainerof abucket_sortkind? -
bucketSort
Get thebucket_sortvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebucket_sortkind.
-
isCardinality
public boolean isCardinality()Is thisAggregationContainerof acardinalitykind? -
cardinality
Get thecardinalityvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecardinalitykind.
-
isChildren
public boolean isChildren()Is thisAggregationContainerof achildrenkind? -
children
Get thechildrenvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thechildrenkind.
-
isComposite
public boolean isComposite()Is thisAggregationContainerof acompositekind? -
composite
Get thecompositevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecompositekind.
-
isCumulativeCardinality
public boolean isCumulativeCardinality()Is thisAggregationContainerof acumulative_cardinalitykind? -
cumulativeCardinality
public jakarta.json.JsonValue cumulativeCardinality()Get thecumulative_cardinalityvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecumulative_cardinalitykind.
-
isCumulativeSum
public boolean isCumulativeSum()Is thisAggregationContainerof acumulative_sumkind? -
cumulativeSum
public jakarta.json.JsonValue cumulativeSum()Get thecumulative_sumvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecumulative_sumkind.
-
isDateHistogram
public boolean isDateHistogram()Is thisAggregationContainerof adate_histogramkind? -
dateHistogram
Get thedate_histogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedate_histogramkind.
-
isDateRange
public boolean isDateRange()Is thisAggregationContainerof adate_rangekind? -
dateRange
Get thedate_rangevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedate_rangekind.
-
isDerivative
public boolean isDerivative()Is thisAggregationContainerof aderivativekind? -
derivative
public jakarta.json.JsonValue derivative()Get thederivativevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thederivativekind.
-
isDiversifiedSampler
public boolean isDiversifiedSampler()Is thisAggregationContainerof adiversified_samplerkind? -
diversifiedSampler
Get thediversified_samplervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thediversified_samplerkind.
-
isExtendedStats
public boolean isExtendedStats()Is thisAggregationContainerof aextended_statskind? -
extendedStats
Get theextended_statsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theextended_statskind.
-
isExtendedStatsBucket
public boolean isExtendedStatsBucket()Is thisAggregationContainerof aextended_stats_bucketkind? -
extendedStatsBucket
Get theextended_stats_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theextended_stats_bucketkind.
-
isFilter
public boolean isFilter()Is thisAggregationContainerof afilterkind? -
filter
Get thefiltervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefilterkind.
-
isFilters
public boolean isFilters()Is thisAggregationContainerof afilterskind? -
filters
Get thefiltersvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefilterskind.
-
isGeoBounds
public boolean isGeoBounds()Is thisAggregationContainerof ageo_boundskind? -
geoBounds
Get thegeo_boundsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_boundskind.
-
isGeoCentroid
public boolean isGeoCentroid()Is thisAggregationContainerof ageo_centroidkind? -
geoCentroid
Get thegeo_centroidvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_centroidkind.
-
isGeoDistance
public boolean isGeoDistance()Is thisAggregationContainerof ageo_distancekind? -
geoDistance
Get thegeo_distancevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_distancekind.
-
isGeohashGrid
public boolean isGeohashGrid()Is thisAggregationContainerof ageohash_gridkind? -
geohashGrid
Get thegeohash_gridvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeohash_gridkind.
-
isGeoLine
public boolean isGeoLine()Is thisAggregationContainerof ageo_linekind? -
geoLine
Get thegeo_linevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_linekind.
-
isGeotileGrid
public boolean isGeotileGrid()Is thisAggregationContainerof ageotile_gridkind? -
geotileGrid
Get thegeotile_gridvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeotile_gridkind.
-
isGlobal
public boolean isGlobal()Is thisAggregationContainerof aglobalkind? -
global
public jakarta.json.JsonValue global()Get theglobalvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theglobalkind.
-
isHistogram
public boolean isHistogram()Is thisAggregationContainerof ahistogramkind? -
histogram
Get thehistogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thehistogramkind.
-
isIpRange
public boolean isIpRange()Is thisAggregationContainerof aip_rangekind? -
ipRange
Get theip_rangevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theip_rangekind.
-
isInference
public boolean isInference()Is thisAggregationContainerof ainferencekind? -
inference
Get theinferencevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theinferencekind.
-
isLine
public boolean isLine()Is thisAggregationContainerof alinekind? -
line
Get thelinevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thelinekind.
-
isMatrixStats
public boolean isMatrixStats()Is thisAggregationContainerof amatrix_statskind? -
matrixStats
Get thematrix_statsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thematrix_statskind.
-
isMax
public boolean isMax()Is thisAggregationContainerof amaxkind? -
max
public jakarta.json.JsonValue max()Get themaxvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themaxkind.
-
isMaxBucket
public boolean isMaxBucket()Is thisAggregationContainerof amax_bucketkind? -
maxBucket
public jakarta.json.JsonValue maxBucket()Get themax_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themax_bucketkind.
-
isMedianAbsoluteDeviation
public boolean isMedianAbsoluteDeviation()Is thisAggregationContainerof amedian_absolute_deviationkind? -
medianAbsoluteDeviation
Get themedian_absolute_deviationvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themedian_absolute_deviationkind.
-
isMin
public boolean isMin()Is thisAggregationContainerof aminkind? -
min
public jakarta.json.JsonValue min()Get theminvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theminkind.
-
isMinBucket
public boolean isMinBucket()Is thisAggregationContainerof amin_bucketkind? -
minBucket
public jakarta.json.JsonValue minBucket()Get themin_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themin_bucketkind.
-
isMissing
public boolean isMissing()Is thisAggregationContainerof amissingkind? -
missing
Get themissingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themissingkind.
-
isMovingAvg
public boolean isMovingAvg()Is thisAggregationContainerof amoving_avgkind? -
movingAvg
Get themoving_avgvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themoving_avgkind.
-
isMovingPercentiles
public boolean isMovingPercentiles()Is thisAggregationContainerof amoving_percentileskind? -
movingPercentiles
Get themoving_percentilesvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themoving_percentileskind.
-
isMovingFn
public boolean isMovingFn()Is thisAggregationContainerof amoving_fnkind? -
movingFn
Get themoving_fnvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themoving_fnkind.
-
isMultiTerms
public boolean isMultiTerms()Is thisAggregationContainerof amulti_termskind? -
multiTerms
Get themulti_termsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themulti_termskind.
-
isNested
public boolean isNested()Is thisAggregationContainerof anestedkind? -
nested
Get thenestedvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenestedkind.
-
isNormalize
public boolean isNormalize()Is thisAggregationContainerof anormalizekind? -
normalize
Get thenormalizevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenormalizekind.
-
isParent
public boolean isParent()Is thisAggregationContainerof aparentkind? -
parent
Get theparentvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theparentkind.
-
isPercentileRanks
public boolean isPercentileRanks()Is thisAggregationContainerof apercentile_rankskind? -
percentileRanks
Get thepercentile_ranksvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepercentile_rankskind.
-
isPercentiles
public boolean isPercentiles()Is thisAggregationContainerof apercentileskind? -
percentiles
Get thepercentilesvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepercentileskind.
-
isPercentilesBucket
public boolean isPercentilesBucket()Is thisAggregationContainerof apercentiles_bucketkind? -
percentilesBucket
Get thepercentiles_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepercentiles_bucketkind.
-
isRange
public boolean isRange()Is thisAggregationContainerof arangekind? -
range
Get therangevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of therangekind.
-
isRareTerms
public boolean isRareTerms()Is thisAggregationContainerof arare_termskind? -
rareTerms
Get therare_termsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of therare_termskind.
-
isRate
public boolean isRate()Is thisAggregationContainerof aratekind? -
rate
Get theratevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theratekind.
-
isReverseNested
public boolean isReverseNested()Is thisAggregationContainerof areverse_nestedkind? -
reverseNested
Get thereverse_nestedvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thereverse_nestedkind.
-
isSampler
public boolean isSampler()Is thisAggregationContainerof asamplerkind? -
sampler
Get thesamplervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesamplerkind.
-
isScriptedMetric
public boolean isScriptedMetric()Is thisAggregationContainerof ascripted_metrickind? -
scriptedMetric
Get thescripted_metricvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thescripted_metrickind.
-
isSerialDiff
public boolean isSerialDiff()Is thisAggregationContainerof aserial_diffkind? -
serialDiff
Get theserial_diffvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theserial_diffkind.
-
isSignificantTerms
public boolean isSignificantTerms()Is thisAggregationContainerof asignificant_termskind? -
significantTerms
Get thesignificant_termsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesignificant_termskind.
-
isSignificantText
public boolean isSignificantText()Is thisAggregationContainerof asignificant_textkind? -
significantText
Get thesignificant_textvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesignificant_textkind.
-
isStats
public boolean isStats()Is thisAggregationContainerof astatskind? -
stats
public jakarta.json.JsonValue stats()Get thestatsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thestatskind.
-
isStatsBucket
public boolean isStatsBucket()Is thisAggregationContainerof astats_bucketkind? -
statsBucket
public jakarta.json.JsonValue statsBucket()Get thestats_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thestats_bucketkind.
-
isStringStats
public boolean isStringStats()Is thisAggregationContainerof astring_statskind? -
stringStats
Get thestring_statsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thestring_statskind.
-
isSum
public boolean isSum()Is thisAggregationContainerof asumkind? -
sum
public jakarta.json.JsonValue sum()Get thesumvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesumkind.
-
isSumBucket
public boolean isSumBucket()Is thisAggregationContainerof asum_bucketkind? -
sumBucket
public jakarta.json.JsonValue sumBucket()Get thesum_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesum_bucketkind.
-
isTerms
public boolean isTerms()Is thisAggregationContainerof atermskind? -
terms
Get thetermsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetermskind.
-
isTopHits
public boolean isTopHits()Is thisAggregationContainerof atop_hitskind? -
topHits
Get thetop_hitsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetop_hitskind.
-
isTTest
public boolean isTTest()Is thisAggregationContainerof at_testkind? -
tTest
Get thet_testvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thet_testkind.
-
isTopMetrics
public boolean isTopMetrics()Is thisAggregationContainerof atop_metricskind? -
topMetrics
Get thetop_metricsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetop_metricskind.
-
isValueCount
public boolean isValueCount()Is thisAggregationContainerof avalue_countkind? -
valueCount
public jakarta.json.JsonValue valueCount()Get thevalue_countvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thevalue_countkind.
-
isWeightedAvg
public boolean isWeightedAvg()Is thisAggregationContainerof aweighted_avgkind? -
weightedAvg
Get theweighted_avgvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theweighted_avgkind.
-
isVariableWidthHistogram
public boolean isVariableWidthHistogram()Is thisAggregationContainerof avariable_width_histogramkind? -
variableWidthHistogram
Get thevariable_width_histogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thevariable_width_histogramkind.
-
toJsonp
-