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.
-
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.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER
-
Method Summary
Modifier and Type Method Description long
getValue()
The number of unique terms.Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetaData, getName, getType
Methods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.SingleValue
getValueAsString, value
-
Method Details
-
getValue
long getValue()The number of unique terms.
-