Interface ValueCount
- All Superinterfaces:
Aggregation,NumericMetricsAggregation,NumericMetricsAggregation.SingleValue,org.elasticsearch.common.xcontent.ToXContent,org.elasticsearch.common.xcontent.ToXContentFragment
- All Known Implementing Classes:
InternalValueCount,ParsedValueCount
public interface ValueCount extends NumericMetricsAggregation.SingleValue
An get that holds the number of values that the current document set has for a specific
field.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation
NumericMetricsAggregation.MultiValue, NumericMetricsAggregation.SingleValue -
Field Summary
Fields inherited from interface org.elasticsearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITER -
Method Summary
Modifier and Type Method Description longgetValue()Methods inherited from interface org.elasticsearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.elasticsearch.search.aggregations.metrics.NumericMetricsAggregation.SingleValue
getValueAsString, value
-
Method Details
-
getValue
long getValue()- Returns:
- The count
-