public class RegionDistribution extends Distribution
distributionType, field
size, 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, getStrategy
configure
public 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 Aggregation
Copyright © 2021. All rights reserved.