public class PercentileRanksParser extends AbstractPercentilesParser
AbstractValuesSourceParser.AnyValuesSourceParser, AbstractValuesSourceParser.BytesValuesSourceParser, AbstractValuesSourceParser.GeoPointValuesSourceParser, AbstractValuesSourceParser.NumericValuesSourceParser
Modifier and Type | Field and Description |
---|---|
static ParseField |
VALUES_FIELD |
COMPRESSION_FIELD, KEYED_FIELD, METHOD_FIELD, NUMBER_SIGNIFICANT_DIGITS_FIELD
Constructor and Description |
---|
PercentileRanksParser() |
Modifier and Type | Method and Description |
---|---|
protected ValuesSourceAggregatorBuilder<ValuesSource.Numeric,?> |
buildFactory(java.lang.String aggregationName,
double[] keys,
PercentilesMethod method,
java.lang.Double compression,
java.lang.Integer numberOfSignificantValueDigits,
java.lang.Boolean keyed) |
PercentileRanksAggregatorBuilder |
getFactoryPrototypes() |
protected ParseField |
keysField() |
java.lang.String |
type() |
createFactory, token
parse
public static final ParseField VALUES_FIELD
public java.lang.String type()
protected ParseField keysField()
keysField
in class AbstractPercentilesParser
protected ValuesSourceAggregatorBuilder<ValuesSource.Numeric,?> buildFactory(java.lang.String aggregationName, double[] keys, PercentilesMethod method, java.lang.Double compression, java.lang.Integer numberOfSignificantValueDigits, java.lang.Boolean keyed)
buildFactory
in class AbstractPercentilesParser
public PercentileRanksAggregatorBuilder getFactoryPrototypes()
AggregatorBuilder
instance for this parser
that can be used for deserialization