Class Percentiles
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.Percentiles
- All Implemented Interfaces:
JsonpSerializable,TaggedUnion<Percentiles.Kind,Object>
@JsonpDeserializable
public class Percentiles
extends Object
implements TaggedUnion<Percentiles.Kind,Object>, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfinal Object_get()final Percentiles.Kind_kind()Get the of the kind of variant held by this object.array()Get thearrayvariant value.booleanisArray()Is this variant instance of kindarray?booleanisKeyed()Is this variant instance of kindkeyed?keyed()Get thekeyedvariant value.static Percentilesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) toString()
-
Field Details
-
_DESERIALIZER
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<Percentiles.Kind,Object> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<Percentiles.Kind,Object>
-
of
-
isArray
public boolean isArray()Is this variant instance of kindarray? -
array
Get thearrayvariant value.- Throws:
IllegalStateException- if the current variant is not of thearraykind.
-
isKeyed
public boolean isKeyed()Is this variant instance of kindkeyed? -
keyed
Get thekeyedvariant value.- Throws:
IllegalStateException- if the current variant is not of thekeyedkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toString
-