Class AggregationRange
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationRange
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AggregationRange>Json deserializer forAggregationRange -
Method Summary
Modifier and TypeMethodDescriptionfinal Doublefrom()Start of the range (inclusive).final Stringkey()Custom key to return the range with.static AggregationRangevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Doubleto()End of the range (exclusive).toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAggregationRange
-
-
Method Details
-
of
public static AggregationRange of(Function<AggregationRange.Builder, ObjectBuilder<AggregationRange>> fn) -
from
Start of the range (inclusive).API name:
from -
key
Custom key to return the range with.API name:
key -
to
End of the range (exclusive).API name:
to -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAggregationRangeDeserializer
protected static void setupAggregationRangeDeserializer(ObjectDeserializer<AggregationRange.Builder> op)
-