Interface NumericMetricsAggregation.MultiValue

All Superinterfaces:
Aggregation, NumericMetricsAggregation, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment
All Known Subinterfaces:
ExtendedStats, ExtendedStatsBucket, PercentileRanks, Percentiles, PercentilesBucket, Stats, StatsBucket
All Known Implementing Classes:
InternalExtendedStats, InternalExtendedStatsBucket, InternalHDRPercentileRanks, InternalHDRPercentiles, InternalNumericMetricsAggregation.MultiValue, InternalPercentilesBucket, InternalStats, InternalStatsBucket, InternalTDigestPercentileRanks, InternalTDigestPercentiles, ParsedExtendedStats, ParsedExtendedStatsBucket, ParsedHDRPercentileRanks, ParsedHDRPercentiles, ParsedPercentilesBucket, ParsedStats, ParsedStatsBucket, ParsedTDigestPercentileRanks, ParsedTDigestPercentiles
Enclosing interface:
NumericMetricsAggregation

public static interface NumericMetricsAggregation.MultiValue extends NumericMetricsAggregation
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation

    Aggregation.CommonFields

    Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation

    NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValue

    Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params
  • Field Summary

    Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation

    TYPED_KEYS_DELIMITER

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    value(String name)
    Return the result of 1 value by name
    Return an iterable over all value names this multi value aggregation provides.

    Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation

    getMetadata, getName, getType

    Methods inherited from interface org.elasticsearch.xcontent.ToXContent

    toXContent

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment

    isFragment
  • Method Details

    • valueNames

      Iterable<String> valueNames()
      Return an iterable over all value names this multi value aggregation provides. The iterable might be created on the fly, if you need to call this multiple times, please cache the result in a variable on caller side..
      Returns:
      iterable over all value names
    • value

      double value(String name)
      Return the result of 1 value by name
      Parameters:
      name - of the value
      Returns:
      the value