Class Aggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.Aggregation
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<java.lang.Object>
@JsonpDeserializable public class Aggregation extends java.lang.Object implements TaggedUnion<java.lang.Object>, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAggregation.Builder -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Aggregation>_DESERIALIZERstatic java.lang.StringADJACENCY_MATRIXstatic java.lang.StringAUTO_DATE_HISTOGRAMstatic java.lang.StringAVGstatic java.lang.StringAVG_BUCKETstatic java.lang.StringBOXPLOTstatic java.lang.StringBUCKET_SCRIPTstatic java.lang.StringBUCKET_SELECTORstatic java.lang.StringBUCKET_SORTstatic java.lang.StringCARDINALITYstatic java.lang.StringCHILDRENstatic java.lang.StringCOMPOSITEstatic java.lang.StringCUMULATIVE_CARDINALITYstatic java.lang.StringCUMULATIVE_SUMstatic java.lang.StringDATE_HISTOGRAMstatic java.lang.StringDATE_RANGEstatic java.lang.StringDERIVATIVEstatic java.lang.StringDIVERSIFIED_SAMPLERstatic java.lang.StringEXTENDED_STATSstatic java.lang.StringEXTENDED_STATS_BUCKETstatic java.lang.StringFILTERstatic java.lang.StringFILTERSstatic java.lang.StringGEO_BOUNDSstatic java.lang.StringGEO_CENTROIDstatic java.lang.StringGEO_DISTANCEstatic java.lang.StringGEO_LINEstatic java.lang.StringGEOHASH_GRIDstatic java.lang.StringGEOTILE_GRIDstatic java.lang.StringGLOBALstatic java.lang.StringHISTOGRAMstatic java.lang.StringINFERENCEstatic java.lang.StringIP_RANGEstatic java.lang.StringMATRIX_STATSstatic java.lang.StringMAXstatic java.lang.StringMAX_BUCKETstatic java.lang.StringMEDIAN_ABSOLUTE_DEVIATIONstatic java.lang.StringMINstatic java.lang.StringMIN_BUCKETstatic java.lang.StringMISSINGstatic java.lang.StringMOVING_AVGstatic java.lang.StringMOVING_FNstatic java.lang.StringMOVING_PERCENTILESstatic java.lang.StringMULTI_TERMSstatic java.lang.StringNESTEDstatic java.lang.StringNORMALIZEstatic java.lang.StringPARENTstatic java.lang.StringPERCENTILE_RANKSstatic java.lang.StringPERCENTILESstatic java.lang.StringPERCENTILES_BUCKETstatic java.lang.StringRANGEstatic java.lang.StringRARE_TERMSstatic java.lang.StringRATEstatic java.lang.StringREVERSE_NESTEDstatic java.lang.StringSAMPLERstatic java.lang.StringSCRIPTED_METRICstatic java.lang.StringSERIAL_DIFFstatic java.lang.StringSIGNIFICANT_TERMSstatic java.lang.StringSIGNIFICANT_TEXTstatic java.lang.StringSTATSstatic java.lang.StringSTATS_BUCKETstatic java.lang.StringSTRING_STATSstatic java.lang.StringSUMstatic java.lang.StringSUM_BUCKETstatic java.lang.StringT_TESTstatic java.lang.StringTERMSstatic java.lang.StringTOP_HITSstatic java.lang.StringTOP_METRICSstatic java.lang.StringVALUE_COUNTstatic java.lang.StringVARIABLE_WIDTH_HISTOGRAMstatic java.lang.StringWEIGHTED_AVG -
Constructor Summary
Constructors Constructor Description Aggregation(AggregationVariant value)Aggregation(ObjectBuilder<T> builder)Aggregation(java.util.function.Function<Aggregation.Builder,Aggregation.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Object_get()java.lang.String_type()Get the of the type of the variant held by this union object.AdjacencyMatrixAggregationadjacencyMatrix()Get theadjacency_matrixvariant value.java.util.Map<java.lang.String,Aggregation>aggs()API name:aggsAutoDateHistogramAggregationautoDateHistogram()Get theauto_date_histogramvariant value.AverageAggregationavg()Get theavgvariant value.AverageBucketAggregationavgBucket()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.CumulativeCardinalityAggregationcumulativeCardinality()Get thecumulative_cardinalityvariant value.CumulativeSumAggregationcumulativeSum()Get thecumulative_sumvariant value.DateHistogramAggregationdateHistogram()Get thedate_histogramvariant value.DateRangeAggregationdateRange()Get thedate_rangevariant value.DerivativeAggregationderivative()Get thederivativevariant value.DiversifiedSamplerAggregationdiversifiedSampler()Get thediversified_samplervariant value.ExtendedStatsAggregationextendedStats()Get theextended_statsvariant value.ExtendedStatsBucketAggregationextendedStatsBucket()Get theextended_stats_bucketvariant value.Queryfilter()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.GlobalAggregationglobal()Get theglobalvariant value.HistogramAggregationhistogram()Get thehistogramvariant value.InferenceAggregationinference()Get theinferencevariant value.IpRangeAggregationipRange()Get theip_rangevariant value.MatrixStatsAggregationmatrixStats()Get thematrix_statsvariant value.MaxAggregationmax()Get themaxvariant value.MaxBucketAggregationmaxBucket()Get themax_bucketvariant value.MedianAbsoluteDeviationAggregationmedianAbsoluteDeviation()Get themedian_absolute_deviationvariant value.java.util.Map<java.lang.String,JsonData>meta()API name:metaMinAggregationmin()Get theminvariant value.MinBucketAggregationminBucket()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.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAggregationDeserializer(DelegatingDeserializer<Aggregation.Builder> op)SignificantTermsAggregationsignificantTerms()Get thesignificant_termsvariant value.SignificantTextAggregationsignificantText()Get thesignificant_textvariant value.StatsAggregationstats()Get thestatsvariant value.StatsBucketAggregationstatsBucket()Get thestats_bucketvariant value.StringStatsAggregationstringStats()Get thestring_statsvariant value.SumAggregationsum()Get thesumvariant value.SumBucketAggregationsumBucket()Get thesum_bucketvariant value.TermsAggregationterms()Get thetermsvariant value.TopHitsAggregationtopHits()Get thetop_hitsvariant value.TopMetricsAggregationtopMetrics()Get thetop_metricsvariant value.TTestAggregationtTest()Get thet_testvariant value.ValueCountAggregationvalueCount()Get thevalue_countvariant value.VariableWidthHistogramAggregationvariableWidthHistogram()Get thevariable_width_histogramvariant value.WeightedAverageAggregationweightedAvg()Get theweighted_avgvariant value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.util.TaggedUnion
_is
-
Field Details
-
ADJACENCY_MATRIX
public static final java.lang.String ADJACENCY_MATRIX- See Also:
- Constant Field Values
-
AUTO_DATE_HISTOGRAM
public static final java.lang.String AUTO_DATE_HISTOGRAM- See Also:
- Constant Field Values
-
AVG
public static final java.lang.String AVG- See Also:
- Constant Field Values
-
AVG_BUCKET
public static final java.lang.String AVG_BUCKET- See Also:
- Constant Field Values
-
BOXPLOT
public static final java.lang.String BOXPLOT- See Also:
- Constant Field Values
-
BUCKET_SCRIPT
public static final java.lang.String BUCKET_SCRIPT- See Also:
- Constant Field Values
-
BUCKET_SELECTOR
public static final java.lang.String BUCKET_SELECTOR- See Also:
- Constant Field Values
-
BUCKET_SORT
public static final java.lang.String BUCKET_SORT- See Also:
- Constant Field Values
-
CARDINALITY
public static final java.lang.String CARDINALITY- See Also:
- Constant Field Values
-
CHILDREN
public static final java.lang.String CHILDREN- See Also:
- Constant Field Values
-
COMPOSITE
public static final java.lang.String COMPOSITE- See Also:
- Constant Field Values
-
CUMULATIVE_CARDINALITY
public static final java.lang.String CUMULATIVE_CARDINALITY- See Also:
- Constant Field Values
-
CUMULATIVE_SUM
public static final java.lang.String CUMULATIVE_SUM- See Also:
- Constant Field Values
-
DATE_HISTOGRAM
public static final java.lang.String DATE_HISTOGRAM- See Also:
- Constant Field Values
-
DATE_RANGE
public static final java.lang.String DATE_RANGE- See Also:
- Constant Field Values
-
DERIVATIVE
public static final java.lang.String DERIVATIVE- See Also:
- Constant Field Values
-
DIVERSIFIED_SAMPLER
public static final java.lang.String DIVERSIFIED_SAMPLER- See Also:
- Constant Field Values
-
EXTENDED_STATS
public static final java.lang.String EXTENDED_STATS- See Also:
- Constant Field Values
-
EXTENDED_STATS_BUCKET
public static final java.lang.String EXTENDED_STATS_BUCKET- See Also:
- Constant Field Values
-
FILTER
public static final java.lang.String FILTER- See Also:
- Constant Field Values
-
FILTERS
public static final java.lang.String FILTERS- See Also:
- Constant Field Values
-
GEO_BOUNDS
public static final java.lang.String GEO_BOUNDS- See Also:
- Constant Field Values
-
GEO_CENTROID
public static final java.lang.String GEO_CENTROID- See Also:
- Constant Field Values
-
GEO_DISTANCE
public static final java.lang.String GEO_DISTANCE- See Also:
- Constant Field Values
-
GEOHASH_GRID
public static final java.lang.String GEOHASH_GRID- See Also:
- Constant Field Values
-
GEO_LINE
public static final java.lang.String GEO_LINE- See Also:
- Constant Field Values
-
GEOTILE_GRID
public static final java.lang.String GEOTILE_GRID- See Also:
- Constant Field Values
-
GLOBAL
public static final java.lang.String GLOBAL- See Also:
- Constant Field Values
-
HISTOGRAM
public static final java.lang.String HISTOGRAM- See Also:
- Constant Field Values
-
IP_RANGE
public static final java.lang.String IP_RANGE- See Also:
- Constant Field Values
-
INFERENCE
public static final java.lang.String INFERENCE- See Also:
- Constant Field Values
-
MATRIX_STATS
public static final java.lang.String MATRIX_STATS- See Also:
- Constant Field Values
-
MAX
public static final java.lang.String MAX- See Also:
- Constant Field Values
-
MAX_BUCKET
public static final java.lang.String MAX_BUCKET- See Also:
- Constant Field Values
-
MEDIAN_ABSOLUTE_DEVIATION
public static final java.lang.String MEDIAN_ABSOLUTE_DEVIATION- See Also:
- Constant Field Values
-
MIN
public static final java.lang.String MIN- See Also:
- Constant Field Values
-
MIN_BUCKET
public static final java.lang.String MIN_BUCKET- See Also:
- Constant Field Values
-
MISSING
public static final java.lang.String MISSING- See Also:
- Constant Field Values
-
MOVING_AVG
public static final java.lang.String MOVING_AVG- See Also:
- Constant Field Values
-
MOVING_PERCENTILES
public static final java.lang.String MOVING_PERCENTILES- See Also:
- Constant Field Values
-
MOVING_FN
public static final java.lang.String MOVING_FN- See Also:
- Constant Field Values
-
MULTI_TERMS
public static final java.lang.String MULTI_TERMS- See Also:
- Constant Field Values
-
NESTED
public static final java.lang.String NESTED- See Also:
- Constant Field Values
-
NORMALIZE
public static final java.lang.String NORMALIZE- See Also:
- Constant Field Values
-
PARENT
public static final java.lang.String PARENT- See Also:
- Constant Field Values
-
PERCENTILE_RANKS
public static final java.lang.String PERCENTILE_RANKS- See Also:
- Constant Field Values
-
PERCENTILES
public static final java.lang.String PERCENTILES- See Also:
- Constant Field Values
-
PERCENTILES_BUCKET
public static final java.lang.String PERCENTILES_BUCKET- See Also:
- Constant Field Values
-
RANGE
public static final java.lang.String RANGE- See Also:
- Constant Field Values
-
RARE_TERMS
public static final java.lang.String RARE_TERMS- See Also:
- Constant Field Values
-
RATE
public static final java.lang.String RATE- See Also:
- Constant Field Values
-
REVERSE_NESTED
public static final java.lang.String REVERSE_NESTED- See Also:
- Constant Field Values
-
SAMPLER
public static final java.lang.String SAMPLER- See Also:
- Constant Field Values
-
SCRIPTED_METRIC
public static final java.lang.String SCRIPTED_METRIC- See Also:
- Constant Field Values
-
SERIAL_DIFF
public static final java.lang.String SERIAL_DIFF- See Also:
- Constant Field Values
-
SIGNIFICANT_TERMS
public static final java.lang.String SIGNIFICANT_TERMS- See Also:
- Constant Field Values
-
SIGNIFICANT_TEXT
public static final java.lang.String SIGNIFICANT_TEXT- See Also:
- Constant Field Values
-
STATS
public static final java.lang.String STATS- See Also:
- Constant Field Values
-
STATS_BUCKET
public static final java.lang.String STATS_BUCKET- See Also:
- Constant Field Values
-
STRING_STATS
public static final java.lang.String STRING_STATS- See Also:
- Constant Field Values
-
SUM
public static final java.lang.String SUM- See Also:
- Constant Field Values
-
SUM_BUCKET
public static final java.lang.String SUM_BUCKET- See Also:
- Constant Field Values
-
TERMS
public static final java.lang.String TERMS- See Also:
- Constant Field Values
-
TOP_HITS
public static final java.lang.String TOP_HITS- See Also:
- Constant Field Values
-
T_TEST
public static final java.lang.String T_TEST- See Also:
- Constant Field Values
-
TOP_METRICS
public static final java.lang.String TOP_METRICS- See Also:
- Constant Field Values
-
VALUE_COUNT
public static final java.lang.String VALUE_COUNT- See Also:
- Constant Field Values
-
WEIGHTED_AVG
public static final java.lang.String WEIGHTED_AVG- See Also:
- Constant Field Values
-
VARIABLE_WIDTH_HISTOGRAM
public static final java.lang.String VARIABLE_WIDTH_HISTOGRAM- See Also:
- Constant Field Values
-
_DESERIALIZER
-
-
Constructor Details
-
Aggregation
-
Aggregation
-
Aggregation
-
-
Method Details
-
_type
public java.lang.String _type()Description copied from interface:TaggedUnionGet the of the type of the variant held by this union object.- Specified by:
_typein interfaceTaggedUnion<java.lang.Object>- Returns:
- the variant type
-
_get
public java.lang.Object _get()- Specified by:
_getin interfaceTaggedUnion<java.lang.Object>
-
aggs
API name:aggs -
meta
API name:meta -
adjacencyMatrix
Get theadjacency_matrixvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theadjacency_matrixkind.
-
autoDateHistogram
Get theauto_date_histogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theauto_date_histogramkind.
-
avg
Get theavgvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theavgkind.
-
avgBucket
Get theavg_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theavg_bucketkind.
-
boxplot
Get theboxplotvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theboxplotkind.
-
bucketScript
Get thebucket_scriptvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebucket_scriptkind.
-
bucketSelector
Get thebucket_selectorvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebucket_selectorkind.
-
bucketSort
Get thebucket_sortvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thebucket_sortkind.
-
cardinality
Get thecardinalityvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecardinalitykind.
-
children
Get thechildrenvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thechildrenkind.
-
composite
Get thecompositevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecompositekind.
-
cumulativeCardinality
Get thecumulative_cardinalityvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecumulative_cardinalitykind.
-
cumulativeSum
Get thecumulative_sumvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thecumulative_sumkind.
-
dateHistogram
Get thedate_histogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedate_histogramkind.
-
dateRange
Get thedate_rangevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thedate_rangekind.
-
derivative
Get thederivativevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thederivativekind.
-
diversifiedSampler
Get thediversified_samplervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thediversified_samplerkind.
-
extendedStats
Get theextended_statsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theextended_statskind.
-
extendedStatsBucket
Get theextended_stats_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theextended_stats_bucketkind.
-
filter
Get thefiltervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefilterkind.
-
filters
Get thefiltersvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thefilterskind.
-
geoBounds
Get thegeo_boundsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_boundskind.
-
geoCentroid
Get thegeo_centroidvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_centroidkind.
-
geoDistance
Get thegeo_distancevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_distancekind.
-
geohashGrid
Get thegeohash_gridvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeohash_gridkind.
-
geoLine
Get thegeo_linevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeo_linekind.
-
geotileGrid
Get thegeotile_gridvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thegeotile_gridkind.
-
global
Get theglobalvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theglobalkind.
-
histogram
Get thehistogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thehistogramkind.
-
ipRange
Get theip_rangevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theip_rangekind.
-
inference
Get theinferencevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theinferencekind.
-
matrixStats
Get thematrix_statsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thematrix_statskind.
-
max
Get themaxvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themaxkind.
-
maxBucket
Get themax_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themax_bucketkind.
-
medianAbsoluteDeviation
Get themedian_absolute_deviationvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themedian_absolute_deviationkind.
-
min
Get theminvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theminkind.
-
minBucket
Get themin_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themin_bucketkind.
-
missing
Get themissingvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themissingkind.
-
movingAvg
Get themoving_avgvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themoving_avgkind.
-
movingPercentiles
Get themoving_percentilesvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themoving_percentileskind.
-
movingFn
Get themoving_fnvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themoving_fnkind.
-
multiTerms
Get themulti_termsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of themulti_termskind.
-
nested
Get thenestedvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenestedkind.
-
normalize
Get thenormalizevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thenormalizekind.
-
parent
Get theparentvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theparentkind.
-
percentileRanks
Get thepercentile_ranksvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepercentile_rankskind.
-
percentiles
Get thepercentilesvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepercentileskind.
-
percentilesBucket
Get thepercentiles_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thepercentiles_bucketkind.
-
range
Get therangevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of therangekind.
-
rareTerms
Get therare_termsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of therare_termskind.
-
rate
Get theratevariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theratekind.
-
reverseNested
Get thereverse_nestedvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thereverse_nestedkind.
-
sampler
Get thesamplervariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesamplerkind.
-
scriptedMetric
Get thescripted_metricvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thescripted_metrickind.
-
serialDiff
Get theserial_diffvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theserial_diffkind.
-
significantTerms
Get thesignificant_termsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesignificant_termskind.
-
significantText
Get thesignificant_textvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesignificant_textkind.
-
stats
Get thestatsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thestatskind.
-
statsBucket
Get thestats_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thestats_bucketkind.
-
stringStats
Get thestring_statsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thestring_statskind.
-
sum
Get thesumvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesumkind.
-
sumBucket
Get thesum_bucketvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thesum_bucketkind.
-
terms
Get thetermsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetermskind.
-
topHits
Get thetop_hitsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetop_hitskind.
-
tTest
Get thet_testvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thet_testkind.
-
topMetrics
Get thetop_metricsvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thetop_metricskind.
-
valueCount
Get thevalue_countvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thevalue_countkind.
-
weightedAvg
Get theweighted_avgvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of theweighted_avgkind.
-
variableWidthHistogram
Get thevariable_width_histogramvariant value.- Throws:
java.lang.IllegalStateException- if the current variant is not of thevariable_width_histogramkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
setupAggregationDeserializer
-