Class InternalGeoHashGrid
java.lang.Object
org.opensearch.search.aggregations.InternalAggregation
org.opensearch.search.aggregations.InternalMultiBucketAggregation<InternalGeoGrid,InternalGeoGridBucket>
org.opensearch.geo.search.aggregations.bucket.geogrid.InternalGeoGrid<InternalGeoHashGridBucket>
org.opensearch.geo.search.aggregations.bucket.geogrid.InternalGeoHashGrid
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentFragment,GeoGrid,Aggregation,MultiBucketsAggregation
Represents a grid of cells where each cell's location is determined by a geohash.
All geohashes in a grid are of the same precision and held internally as a single long
for efficiency's sake.
- Opensearch.internal:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.search.aggregations.InternalMultiBucketAggregation
InternalMultiBucketAggregation.InternalBucketNested classes/interfaces inherited from class org.opensearch.search.aggregations.InternalAggregation
InternalAggregation.ReduceContext, InternalAggregation.ReduceContextBuilderNested classes/interfaces inherited from interface org.opensearch.search.aggregations.Aggregation
Aggregation.CommonFieldsNested classes/interfaces inherited from interface org.opensearch.geo.search.aggregations.bucket.geogrid.GeoGrid
GeoGrid.BucketNested classes/interfaces inherited from interface org.opensearch.search.aggregations.bucket.MultiBucketsAggregation
MultiBucketsAggregation.BucketNested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V extends Object>, Writeable.Writer<V extends Object> -
Field Summary
Fields inherited from class org.opensearch.geo.search.aggregations.bucket.geogrid.InternalGeoGrid
buckets, requiredSizeFields inherited from class org.opensearch.search.aggregations.InternalAggregation
metadata, nameFields inherited from interface org.opensearch.search.aggregations.Aggregation
TYPED_KEYS_DELIMITERFields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(List<InternalGeoGridBucket> buckets) createBucket(InternalAggregations aggregations, InternalGeoGridBucket prototype) Methods inherited from class org.opensearch.geo.search.aggregations.bucket.geogrid.InternalGeoGrid
doWriteTo, doXContentBody, equals, getBuckets, hashCode, reduce, reduceBucketMethods inherited from class org.opensearch.search.aggregations.InternalMultiBucketAggregation
copyWithRewritenBuckets, countInnerBucket, countInnerBucket, forEachBucket, getProperty, mustReduceOnSingleInternalAgg, reducePipelinesMethods inherited from class org.opensearch.search.aggregations.InternalAggregation
getMetadata, getName, getProperty, getType, isMapped, mergePipelineTreeForBWCSerialization, pipelineAggregatorsForBwcSerialization, readSize, sortValue, sortValue, toString, toXContent, writeSize, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.search.aggregations.Aggregation
getMetadata, getName, getTypeMethods inherited from interface org.opensearch.common.xcontent.ToXContent
toXContentMethods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
InternalGeoHashGrid
- Throws:
IOException
-
-
Method Details
-
create
- Specified by:
createin classInternalMultiBucketAggregation<InternalGeoGrid,InternalGeoGridBucket>
-
createBucket
public InternalGeoGridBucket createBucket(InternalAggregations aggregations, InternalGeoGridBucket prototype) - Specified by:
createBucketin classInternalMultiBucketAggregation<InternalGeoGrid,InternalGeoGridBucket>
-
getWriteableName
-