Class GeohexGridAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.GeohexGridAggregation
- All Implemented Interfaces:
AggregationVariant,JsonpSerializable
@JsonpDeserializable
public class GeohexGridAggregation
extends BucketAggregationBase
implements AggregationVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeohexGridAggregation>Json deserializer forGeohexGridAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregation variant kind.final GeoBoundsbounds()Bounding box used to filter the geo-points in each bucket.final Stringfield()Required - Field containing indexed geo-point values.static GeohexGridAggregationfinal IntegerInteger zoom of the key used to defined cells or buckets in the results.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal IntegerNumber of buckets returned from each shard.final Integersize()Maximum number of buckets to return.Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forGeohexGridAggregation
-
-
Method Details
-
of
public static GeohexGridAggregation of(Function<GeohexGridAggregation.Builder, ObjectBuilder<GeohexGridAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
field
Required - Field containing indexed geo-point values. Must be explicitly mapped as ageo_pointfield. If the field contains an arraygeohex_gridaggregates all array values.API name:
field -
precision
Integer zoom of the key used to defined cells or buckets in the results. Value should be between 0-15.API name:
precision -
bounds
Bounding box used to filter the geo-points in each bucket.API name:
bounds -
size
Maximum number of buckets to return.API name:
size -
shardSize
Number of buckets returned from each shard.API name:
shard_size -
serializeInternal
- Overrides:
serializeInternalin classAggregationBase
-
setupGeohexGridAggregationDeserializer
protected static void setupGeohexGridAggregationDeserializer(ObjectDeserializer<GeohexGridAggregation.Builder> op)
-