public static class GeoCentroidAggregator.Factory extends ValuesSourceAggregatorFactory.LeafOnly<ValuesSource.GeoPoint>
ValuesSourceAggregatorFactory.LeafOnly<VS extends ValuesSource>config| Modifier | Constructor and Description |
|---|---|
protected |
GeoCentroidAggregator.Factory(String name,
ValuesSourceConfig<ValuesSource.GeoPoint> config) |
| Modifier and Type | Method and Description |
|---|---|
protected Aggregator |
createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
doCreateInternal(ValuesSource.GeoPoint valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
subFactoriescreateInternal, doValidateasMultiBucketAggregator, create, name, parent, setMetaData, validateprotected GeoCentroidAggregator.Factory(String name, ValuesSourceConfig<ValuesSource.GeoPoint> config)
protected Aggregator createUnmapped(AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
createUnmapped in class ValuesSourceAggregatorFactory<ValuesSource.GeoPoint>IOExceptionprotected Aggregator doCreateInternal(ValuesSource.GeoPoint valuesSource, AggregationContext aggregationContext, Aggregator parent, boolean collectsFromSingleBucket, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
doCreateInternal in class ValuesSourceAggregatorFactory<ValuesSource.GeoPoint>IOExceptionCopyright © 2009–2017. All rights reserved.