public abstract class AbstractPercentilesParser extends Object implements Aggregator.Parser
| Constructor and Description |
|---|
AbstractPercentilesParser(boolean formattable) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AggregatorFactory |
buildFactory(SearchContext context,
String aggregationName,
ValuesSourceConfig<ValuesSource.Numeric> config,
double[] cdfValues,
double compression,
boolean keyed) |
protected abstract String |
keysFieldName() |
AggregatorFactory |
parse(String aggregationName,
XContentParser parser,
SearchContext context)
Returns the aggregator factory with which this parser is associated, may return
null indicating the
aggregation should be skipped (e.g. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypepublic AggregatorFactory parse(String aggregationName, XContentParser parser, SearchContext context) throws IOException
Aggregator.Parsernull indicating the
aggregation should be skipped (e.g. when trying to aggregate on unmapped fields).parse in interface Aggregator.ParseraggregationName - The name of the aggregationparser - The xcontent parsercontext - The search contextnull in case the aggregation should be skippedIOException - When parsing failsprotected abstract AggregatorFactory buildFactory(SearchContext context, String aggregationName, ValuesSourceConfig<ValuesSource.Numeric> config, double[] cdfValues, double compression, boolean keyed)
protected abstract String keysFieldName()
Copyright © 2009–2016. All rights reserved.