public class RegionDistribution extends Distribution
distributionType, fieldsize, type| Constructor and Description |
|---|
RegionDistribution(String field,
DistributionType type,
Integer size,
double start,
double end,
double increment)
Constructor that creates a DISTRIBUTION aggregation with a specified max size.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getFields, getStrategyconfigurepublic RegionDistribution(String field, DistributionType type, Integer size, double start, double end, double increment)
field - The non-null field.type - The non-null distribution type.size - The max size of the DISTRIBUTION aggregation. Can be null.start - The start of the range of the distribution.end - The end of the range of the distribution.increment - The interval between points in the distribution.public String toString()
toString in class AggregationCopyright © 2021. All rights reserved.