Class GeoGridAggregator<T extends InternalGeoGrid>
java.lang.Object
org.opensearch.search.aggregations.BucketCollector
org.opensearch.search.aggregations.Aggregator
org.opensearch.search.aggregations.AggregatorBase
org.opensearch.search.aggregations.bucket.BucketsAggregator
org.opensearch.geo.search.aggregations.bucket.geogrid.GeoGridAggregator<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.lucene.search.Collector,Releasable
- Direct Known Subclasses:
GeoHashGridAggregator,GeoTileGridAggregator
Aggregates data expressed as longs (for efficiency's sake) but formats results as aggregation-specific strings.
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.bucket.BucketsAggregator
BucketsAggregator.BucketBuilderForFixedCount<B extends Object>, BucketsAggregator.BucketBuilderForVariable<B extends Object>, BucketsAggregator.ResultBuilderForVariable<B extends Object>, BucketsAggregator.SingleBucketResultBuilderNested classes/interfaces inherited from class org.opensearch.search.aggregations.Aggregator
Aggregator.BucketComparator, Aggregator.Parser, Aggregator.SubAggCollectionMode -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LongKeyedBucketOrdsprotected final intprotected final intprotected final ValuesSource.NumericFields inherited from class org.opensearch.search.aggregations.bucket.BucketsAggregator
docCountProviderFields 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 -
Method Summary
Modifier and TypeMethodDescriptionbuildAggregations(long[] owningBucketOrds) voiddoClose()org.apache.lucene.search.ScoreModeMethods inherited from class org.opensearch.search.aggregations.bucket.BucketsAggregator
beforeBuildingBuckets, bucketComparator, bucketDocCount, buildAggregationsForFixedBucketCount, buildAggregationsForSingleBucket, buildAggregationsForVariableBuckets, buildSubAggsForAllBuckets, buildSubAggsForBuckets, buildSubAggsForBuckets, close, collectBucket, collectExistingBucket, descendsFromGlobalAggregator, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd, mergeBuckets, mergeBuckets, preGetSubLeafCollectors, resolveSortPathMethods inherited from class org.opensearch.search.aggregations.AggregatorBase
addRequestCircuitBreakerBytes, buildEmptySubAggregations, context, doPostCollection, doPreCollection, getLeafCollector, metadata, name, parent, pointReaderIfAvailable, postCollection, preCollection, subAggregator, subAggregators, toStringMethods inherited from class org.opensearch.search.aggregations.Aggregator
buildTopLevel, collectDebugInfo, 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
-
Field Details
-
requiredSize
protected final int requiredSize -
shardSize
protected final int shardSize -
valuesSource
-
bucketOrds
-
-
Method Details
-
scoreMode
public org.apache.lucene.search.ScoreMode scoreMode()- Specified by:
scoreModein interfaceorg.apache.lucene.search.Collector- Overrides:
scoreModein classAggregatorBase
-
getLeafCollector
public LeafBucketCollector getLeafCollector(LeafReaderContext ctx, LeafBucketCollector sub) throws IOException - Specified by:
getLeafCollectorin classAggregatorBase- Throws:
IOException
-
buildAggregations
- Specified by:
buildAggregationsin classAggregator- Throws:
IOException
-
buildEmptyAggregation
- Specified by:
buildEmptyAggregationin classAggregator
-
doClose
public void doClose()- Overrides:
doClosein classAggregatorBase
-