public abstract class AbstractPercentilesParser extends Object implements Aggregator.Parser
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static ParseField |
COMPRESSION_FIELD |
static ParseField |
KEYED_FIELD |
static ParseField |
METHOD_FIELD |
static ParseField |
NUMBER_SIGNIFICANT_DIGITS_FIELD |
| コンストラクタと説明 |
|---|
AbstractPercentilesParser(boolean formattable) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected abstract AggregatorFactory |
buildFactory(SearchContext context,
String aggregationName,
ValuesSourceConfig<ValuesSource.Numeric> config,
double[] cdfValues,
PercentilesMethod method,
Double compression,
Integer numberOfSignificantValueDigits,
boolean keyed) |
protected abstract ParseField |
keysField() |
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. when trying to aggregate on unmapped fields). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypepublic static final ParseField KEYED_FIELD
public static final ParseField METHOD_FIELD
public static final ParseField COMPRESSION_FIELD
public static final ParseField NUMBER_SIGNIFICANT_DIGITS_FIELD
public 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 インタフェース内 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, PercentilesMethod method, Double compression, Integer numberOfSignificantValueDigits, boolean keyed)
protected abstract ParseField keysField()
Copyright © 2009–2016. All rights reserved.