Class GeoBoundsGeoShapeAggregator
java.lang.Object
org.opensearch.search.aggregations.BucketCollector
org.opensearch.search.aggregations.Aggregator
org.opensearch.search.aggregations.AggregatorBase
org.opensearch.search.aggregations.metrics.MetricsAggregator
org.opensearch.geo.search.aggregations.metrics.AbstractGeoBoundsAggregator<ValuesSource.GeoShape>
org.opensearch.geo.search.aggregations.metrics.GeoBoundsGeoShapeAggregator
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.search.Collector,org.opensearch.common.lease.Releasable
public final class GeoBoundsGeoShapeAggregator
extends AbstractGeoBoundsAggregator<ValuesSource.GeoShape>
Aggregate all docs into a geographic bounds for field geo_shape.
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.Aggregator
Aggregator.BucketComparator, Aggregator.Parser, Aggregator.SubAggCollectionMode -
Field Summary
Fields inherited from class org.opensearch.geo.search.aggregations.metrics.AbstractGeoBoundsAggregator
bottoms, negLefts, negRights, posLefts, posRights, tops, valuesSource, wrapLongitudeFields inherited from class org.opensearch.search.aggregations.AggregatorBase
collectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregatorsFields inherited from class org.opensearch.search.aggregations.BucketCollector
NO_OP_COLLECTOR -
Constructor Summary
ConstructorsConstructorDescriptionGeoBoundsGeoShapeAggregator(String name, SearchContext searchContext, Aggregator aggregator, ValuesSourceConfig valuesSourceConfig, boolean wrapLongitude, Map<String, Object> metaData) -
Method Summary
Modifier and TypeMethodDescriptionprotected LeafBucketCollectorgetLeafCollector(LeafReaderContext ctx, LeafBucketCollector leafBucketCollector) Methods inherited from class org.opensearch.geo.search.aggregations.metrics.AbstractGeoBoundsAggregator
buildAggregation, buildEmptyAggregation, doClose, setBucketSizeMethods inherited from class org.opensearch.search.aggregations.metrics.MetricsAggregator
buildAggregationsMethods inherited from class org.opensearch.search.aggregations.AggregatorBase
addRequestCircuitBreakerBytes, buildEmptySubAggregations, close, context, doPostCollection, doPreCollection, getLeafCollector, metadata, name, parent, pointReaderIfAvailable, postCollection, preCollection, preGetSubLeafCollectors, scoreMode, subAggregator, subAggregators, toStringMethods inherited from class org.opensearch.search.aggregations.Aggregator
bucketComparator, buildTopLevel, collectDebugInfo, resolveSortPath, resolveSortPathOnValidAggMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.lucene.search.Collector
setWeight
-
Constructor Details
-
GeoBoundsGeoShapeAggregator
public GeoBoundsGeoShapeAggregator(String name, SearchContext searchContext, Aggregator aggregator, ValuesSourceConfig valuesSourceConfig, boolean wrapLongitude, Map<String, Object> metaData) throws IOException- Throws:
IOException
-
-
Method Details
-
getLeafCollector
protected LeafBucketCollector getLeafCollector(LeafReaderContext ctx, LeafBucketCollector leafBucketCollector) - Specified by:
getLeafCollectorin classAggregatorBase
-