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
,UnionVariant
@JsonpDeserializable public final class GeoHashGridAggregation extends BucketAggregationBase implements AggregationVariant
-
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
-
Constructor Summary
Constructors Constructor Description GeoHashGridAggregation(GeoHashGridAggregation.Builder builder)
GeoHashGridAggregation(java.util.function.Function<GeoHashGridAggregation.Builder,GeoHashGridAggregation.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
Aggregation
variant typeBoundingBox
bounds()
API name:bounds
java.lang.String
field()
API name:field
java.lang.Number
precision()
API name:precision
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupGeoHashGridAggregationDeserializer(DelegatingDeserializer<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
aggregations, setupBucketAggregationBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch._types.aggregations.AggregationVariant
_toAggregation
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoHashGridAggregation
-
-
Constructor Details
-
GeoHashGridAggregation
-
GeoHashGridAggregation
public GeoHashGridAggregation(java.util.function.Function<GeoHashGridAggregation.Builder,GeoHashGridAggregation.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Aggregation
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
bounds
API name:bounds
-
field
@Nullable public java.lang.String field()API name:field
-
precision
@Nullable public java.lang.Number precision()API name:precision
-
shardSize
@Nullable public java.lang.Integer shardSize()API name:shard_size
-
size
@Nullable public java.lang.Integer size()API name:size
-
serializeInternal
- Overrides:
serializeInternal
in classBucketAggregationBase
-
setupGeoHashGridAggregationDeserializer
protected static void setupGeoHashGridAggregationDeserializer(DelegatingDeserializer<GeoHashGridAggregation.Builder> op)
-