Class GeoBoundsAggregatorFactory
- java.lang.Object
-
- org.elasticsearch.search.aggregations.AggregatorFactory<AF>
-
- org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory<ValuesSource.GeoPoint,GeoBoundsAggregatorFactory>
-
- org.elasticsearch.search.aggregations.metrics.geobounds.GeoBoundsAggregatorFactory
-
public class GeoBoundsAggregatorFactory extends ValuesSourceAggregatorFactory<ValuesSource.GeoPoint,GeoBoundsAggregatorFactory>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
AggregatorFactory.MultiBucketAggregatorWrapper
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
config
-
-
Constructor Summary
Constructors Constructor Description GeoBoundsAggregatorFactory(java.lang.String name, ValuesSourceConfig<ValuesSource.GeoPoint> config, boolean wrapLongitude, SearchContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metaData)
-
Method Summary
Modifier and Type Method Description protected Aggregator
createUnmapped(Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
protected Aggregator
doCreateInternal(ValuesSource.GeoPoint valuesSource, Aggregator parent, boolean collectsFromSingleBucket, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData)
-
Methods inherited from class org.elasticsearch.search.aggregations.support.ValuesSourceAggregatorFactory
createInternal, getConfig, timeZone
-
Methods inherited from class org.elasticsearch.search.aggregations.AggregatorFactory
asMultiBucketAggregator, create, doValidate, getParent, name
-
-
-
-
Constructor Detail
-
GeoBoundsAggregatorFactory
public GeoBoundsAggregatorFactory(java.lang.String name, ValuesSourceConfig<ValuesSource.GeoPoint> config, boolean wrapLongitude, SearchContext context, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
createUnmapped
protected Aggregator createUnmapped(Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
- Specified by:
createUnmapped
in classValuesSourceAggregatorFactory<ValuesSource.GeoPoint,GeoBoundsAggregatorFactory>
- Throws:
java.io.IOException
-
doCreateInternal
protected Aggregator doCreateInternal(ValuesSource.GeoPoint valuesSource, Aggregator parent, boolean collectsFromSingleBucket, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData) throws java.io.IOException
- Specified by:
doCreateInternal
in classValuesSourceAggregatorFactory<ValuesSource.GeoPoint,GeoBoundsAggregatorFactory>
- Throws:
java.io.IOException
-
-