public class ExtendedStatsParser extends Object implements Aggregator.Parser
| コンストラクタと説明 |
|---|
ExtendedStatsParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected AggregatorFactory |
createFactory(String aggregationName,
ValuesSourceConfig<ValuesSource.Numeric> config,
double sigma) |
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). |
String |
type() |
public String type()
type インタフェース内 Aggregator.Parserprotected AggregatorFactory createFactory(String aggregationName, ValuesSourceConfig<ValuesSource.Numeric> config, double sigma)
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 failsCopyright © 2009–2016. All rights reserved.