Class GeoHashGridAggregator
org.elasticsearch.search.aggregations.BucketCollector
org.elasticsearch.search.aggregations.Aggregator
org.elasticsearch.search.aggregations.AggregatorBase
org.elasticsearch.search.aggregations.bucket.BucketsAggregator
org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregator<InternalGeoHashGrid>
org.elasticsearch.search.aggregations.bucket.geogrid.GeoHashGridAggregator
- All Implemented Interfaces:
,
,
org.apache.lucene.search.Collector
,org.elasticsearch.core.Releasable
Aggregates data expressed as GeoHash longs (for efficiency's sake) but formats results as Geohash strings.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.bucket.BucketsAggregator
BucketsAggregator.BucketBuilderForFixedCount<B>, BucketsAggregator.BucketBuilderForVariable<B>, BucketsAggregator.ResultBuilderForVariable<B>, BucketsAggregator.SingleBucketResultBuilder
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.Aggregator
Aggregator.BucketComparator, Aggregator.Parser, Aggregator.SubAggCollectionMode
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregator
bucketOrds, requiredSize, shardSize, valuesSource
Fields inherited from class org.elasticsearch.search.aggregations.bucket.BucketsAggregator
docCountProvider
Fields inherited from class org.elasticsearch.search.aggregations.AggregatorBase
collectableSubAggregators, DEFAULT_WEIGHT, name, parent, subAggregators
Fields inherited from class org.elasticsearch.search.aggregations.BucketCollector
NO_OP_COLLECTOR
-
Constructor Summary
ConstructorDescriptionname, AggregatorFactories factories, ValuesSource.Numeric valuesSource, int requiredSize, int shardSize, AggregationContext context, Aggregator parent, CardinalityUpperBound cardinality, <,> metadata)
-
Method Summary
Modifier and TypeMethodDescriptionBuild an empty aggregation.Methods inherited from class org.elasticsearch.search.aggregations.bucket.geogrid.GeoGridAggregator
buildAggregations, doClose, getLeafCollector, scoreMode
Methods inherited from class org.elasticsearch.search.aggregations.bucket.BucketsAggregator
bucketComparator, bucketDocCount, buildAggregationsForFixedBucketCount, buildAggregationsForSingleBucket, buildAggregationsForVariableBuckets, buildSubAggsForAllBuckets, buildSubAggsForBuckets, buildSubAggsForBuckets, close, collectBucket, collectExistingBucket, descendsFromGlobalAggregator, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd, preGetSubLeafCollectors, prepareSubAggs, resolveSortPath, rewriteBuckets
Methods inherited from class org.elasticsearch.search.aggregations.AggregatorBase
addRequestCircuitBreakerBytes, bigArrays, buildEmptySubAggregations, doPostCollection, doPreCollection, getLeafCollector, metadata, name, parent, pointReaderIfAvailable, postCollection, preCollection, searcher, subAggregator, subAggregators, topLevelQuery, toString
Methods inherited from class org.elasticsearch.search.aggregations.Aggregator
buildTopLevel, collectDebugInfo, resolveSortPathOnValidAgg
Methods inherited from class java.lang.
, , , , , , , , ,
-
Constructor Details
-
GeoHashGridAggregator
public GeoHashGridAggregator( name, AggregatorFactories factories, ValuesSource.Numeric valuesSource, int requiredSize, int shardSize, AggregationContext context, Aggregator parent, CardinalityUpperBound cardinality, <,> metadata) throws- Throws:
-
-
Method Details
-
buildEmptyAggregation
Description copied from class:Aggregator
Build an empty aggregation.- Overrides:
buildEmptyAggregation
in classGeoGridAggregator<InternalGeoHashGrid>
-