Enum Class AggregationBuilder.BucketCardinality

java.lang.Object
java.lang.Enum<AggregationBuilder.BucketCardinality>
org.elasticsearch.search.aggregations.AggregationBuilder.BucketCardinality
All Implemented Interfaces:
Serializable, Comparable<AggregationBuilder.BucketCardinality>, Constable
Enclosing class:
AggregationBuilder

public static enum AggregationBuilder.BucketCardinality extends Enum<AggregationBuilder.BucketCardinality>
A rough count of the number of buckets that Aggregators built by this builder will contain per parent bucket used to validate sorts and pipeline aggregations. Just "zero", "one", and "many".

Unlike CardinalityUpperBound which is total instead of per parent bucket.