Class RangeBucket
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
org.opensearch.client.opensearch._types.aggregations.RangeBucket
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RangeBucket.Builder,RangeBucket>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RangeBucket
extends MultiBucketBase
implements ToCopyableBuilder<RangeBucket.Builder,RangeBucket>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
MultiBucketBase.AbstractBuilder<BuilderT extends MultiBucketBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RangeBucket> Json deserializer forRangeBucket -
Method Summary
Modifier and TypeMethodDescriptionstatic RangeBucket.Builderbuilder()booleanfinal Doublefrom()API name:fromfinal StringAPI name:from_as_stringinthashCode()final Stringkey()The bucket key.static RangeBucketprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Doubleto()API name:tofinal StringAPI name:to_as_stringCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase
aggregations, docCount, serialize, setupMultiBucketBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forRangeBucket
-
-
Method Details
-
of
-
from
API name:from -
fromAsString
API name:from_as_string -
key
The bucket key. Present if the aggregation is not keyed.API name:
key -
to
API name:to -
toAsString
API name:to_as_string -
serializeInternal
- Overrides:
serializeInternalin classMultiBucketBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RangeBucket.Builder,RangeBucket> - Returns:
- a new builder instance.
-
builder
-
setupRangeBucketDeserializer
-
hashCode
public int hashCode()- Overrides:
hashCodein classMultiBucketBase
-
equals
- Overrides:
equalsin classMultiBucketBase
-