Class ValueCountAggregator

All Implemented Interfaces:
Closeable, AutoCloseable,, Releasable

public class ValueCountAggregator extends NumericMetricsAggregator.SingleValue
A field data based aggregator that counts the number of values a specific field has within the aggregation context. This aggregator works in a multi-bucket mode, that is, when serves as a sub-aggregator, a single aggregator instance aggregates the counts for all buckets owned by the parent aggregator)