public class LinearDistribution extends Distribution
distributionType, field
size, type
Constructor and Description |
---|
LinearDistribution(String field,
DistributionType type,
Integer size,
int numberOfPoints)
Constructor that creates a DISTRIBUTION aggregation with a specified max size.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
getFields, getStrategy
configure
public LinearDistribution(String field, DistributionType type, Integer size, int numberOfPoints)
field
- The non-null field.type
- The non-null distribution type.size
- The max size of the DISTRIBUTION aggregation. Can be null.numberOfPoints
- The number of equidistant points for this distribution.public String toString()
toString
in class Aggregation
Copyright © 2021. All rights reserved.