Interface Cardinality

All Superinterfaces:
Aggregation, NumericMetricsAggregation, NumericMetricsAggregation.SingleValue, org.opensearch.common.xcontent.ToXContent, org.opensearch.common.xcontent.ToXContentFragment
All Known Implementing Classes:
InternalCardinality, ParsedCardinality

public interface Cardinality
extends NumericMetricsAggregation.SingleValue
An aggregation that computes approximate numbers of unique terms.
  • Method Details

    • getValue

      long getValue()
      The number of unique terms.