Struct elasticsearch_dsl::search::aggregations::metrics::CardinalityAggregation [−][src]
pub struct CardinalityAggregation { /* fields omitted */ }
Expand description
A single-value
metrics aggregation that calculates an approximate count of distinct values.
Implementations
The precision_threshold
options allows to trade memory for accuracy, and defines a unique count below
which counts are expected to be close to accurate. Above this value, counts might become a bit more fuzzy.
The maximum supported value is 40000, thresholds above this number will have the same effect as a threshold
of 40000. The default value is 3000
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CardinalityAggregation
impl Send for CardinalityAggregation
impl Sync for CardinalityAggregation
impl Unpin for CardinalityAggregation
impl UnwindSafe for CardinalityAggregation
Blanket Implementations
Mutably borrows from an owned value. Read more