Class GeoHashGridAggregation
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
co.elastic.clients.elasticsearch._types.aggregations.GeoHashGridAggregation
- All Implemented Interfaces:
AggregationVariant
,JsonpSerializable
@JsonpDeserializable public class GeoHashGridAggregation extends BucketAggregationBase implements AggregationVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeoHashGridAggregation.Builder
Builder forGeoHashGridAggregation
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
BucketAggregationBase.AbstractBuilder<BuilderT extends BucketAggregationBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GeoHashGridAggregation>
_DESERIALIZER
Json deserializer forGeoHashGridAggregation
-
Method Summary
Modifier and Type Method Description Aggregation.Kind
_aggregationKind()
Aggregation variant kind.GeoBounds
bounds()
API name:bounds
java.lang.String
field()
API name:field
static GeoHashGridAggregation
of(java.util.function.Function<GeoHashGridAggregation.Builder,ObjectBuilder<GeoHashGridAggregation>> fn)
GeoHashPrecision
precision()
API name:precision
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGeoHashGridAggregationDeserializer(ObjectDeserializer<GeoHashGridAggregation.Builder> op)
java.lang.Integer
shardSize()
API name:shard_size
java.lang.Integer
size()
API name:size
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
setupBucketAggregationBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoHashGridAggregation
-
-
Method Details
-
of
public static GeoHashGridAggregation of(java.util.function.Function<GeoHashGridAggregation.Builder,ObjectBuilder<GeoHashGridAggregation>> fn) -
_aggregationKind
Aggregation variant kind.- Specified by:
_aggregationKind
in interfaceAggregationVariant
-
bounds
API name:bounds
-
field
@Nullable public final java.lang.String field()API name:field
-
precision
API name:precision
-
shardSize
@Nullable public final java.lang.Integer shardSize()API name:shard_size
-
size
@Nullable public final java.lang.Integer size()API name:size
-
serializeInternal
- Overrides:
serializeInternal
in classAggregationBase
-
setupGeoHashGridAggregationDeserializer
protected static void setupGeoHashGridAggregationDeserializer(ObjectDeserializer<GeoHashGridAggregation.Builder> op)
-