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