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, JsonpSerializable
- 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 indexedgeo_pointorgeo_shapevalues.static GeohexGridAggregationfinal IntegerInteger zoom of the key used to defined cells or buckets in the results.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.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.toString()Methods 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 indexedgeo_pointorgeo_shapevalues. If the field contains an array,geohex_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 -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGeohexGridAggregationDeserializer
protected static void setupGeohexGridAggregationDeserializer(ObjectDeserializer<GeohexGridAggregation.Builder> op)
-