Class GeoBoundsAggregation
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
org.opensearch.client.opensearch._types.aggregations.GeoBoundsAggregation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AggregationVariant,ToCopyableBuilder<GeoBoundsAggregation.Builder,GeoBoundsAggregation>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class GeoBoundsAggregation
extends MetricAggregationBase
implements AggregationVariant, ToCopyableBuilder<GeoBoundsAggregation.Builder,GeoBoundsAggregation>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
MetricAggregationBase.AbstractBuilder<BuilderT extends MetricAggregationBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GeoBoundsAggregation> Json deserializer forGeoBoundsAggregation -
Method Summary
Modifier and TypeMethodDescriptionAggregationvariant kind.static GeoBoundsAggregation.Builderbuilder()booleaninthashCode()static GeoBoundsAggregationprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final BooleanSpecifies whether the bounding box should be allowed to overlap the international date line.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MetricAggregationBase
field, missing, script, serialize, setupMetricAggregationBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.aggregations.AggregationVariant
toAggregationMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forGeoBoundsAggregation
-
-
Method Details
-
of
public static GeoBoundsAggregation of(Function<GeoBoundsAggregation.Builder, ObjectBuilder<GeoBoundsAggregation>> fn) -
_aggregationKind
Aggregationvariant kind.- Specified by:
_aggregationKindin interfaceAggregationVariant
-
wrapLongitude
Specifies whether the bounding box should be allowed to overlap the international date line.API name:
wrap_longitude -
serializeInternal
- Overrides:
serializeInternalin classMetricAggregationBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GeoBoundsAggregation.Builder,GeoBoundsAggregation> - Returns:
- a new builder instance.
-
builder
-
setupGeoBoundsAggregationDeserializer
protected static void setupGeoBoundsAggregationDeserializer(ObjectDeserializer<GeoBoundsAggregation.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classMetricAggregationBase
-
equals
- Overrides:
equalsin classMetricAggregationBase
-