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 classGeoHashGridAggregation.BuilderBuilder 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>_DESERIALIZERJson 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()Aggregationvariant typeBoundingBoxbounds()API name:boundsjava.lang.Stringfield()API name:fieldjava.lang.Numberprecision()API name:precisionprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupGeoHashGridAggregationDeserializer(DelegatingDeserializer<GeoHashGridAggregation.Builder> op)java.lang.IntegershardSize()API name:shard_sizejava.lang.Integersize()API name:sizeMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.BucketAggregationBase
aggregations, setupBucketAggregationBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregationBase
meta, name, serialize, setupAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()Aggregationvariant type- Specified by:
_variantTypein 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:
serializeInternalin classBucketAggregationBase
-
setupGeoHashGridAggregationDeserializer
protected static void setupGeoHashGridAggregationDeserializer(DelegatingDeserializer<GeoHashGridAggregation.Builder> op)
-