public class ManualDistribution extends Distribution
distributionType, fieldsize, type| Constructor and Description |
|---|
ManualDistribution(String field,
DistributionType type,
Integer size,
List<Double> points)
Constructor that creates a DISTRIBUTION aggregation with a specified max size.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getFields, getStrategyconfigurepublic ManualDistribution(String field, DistributionType type, Integer size, List<Double> points)
field - The non-null field.type - The non-null distribution type.size - The max size of the DISTRIBUTION aggregation. Can be null.points - The points of the distribution. Must be not be empty.public String toString()
toString in class AggregationCopyright © 2021. All rights reserved.