Interface Cardinality

All Superinterfaces:
Aggregation, NumericMetricsAggregation, NumericMetricsAggregation.SingleValue, ToXContent, 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.