Class AggregationRange
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.AggregationRange
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AggregationRange extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AggregationRange.Builder
Builder forAggregationRange
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregationRange>
_DESERIALIZER
Json deserializer forAggregationRange
-
Method Summary
Modifier and Type Method Description java.lang.String
from()
API name:from
java.lang.String
key()
API name:key
static AggregationRange
of(java.util.function.Function<AggregationRange.Builder,ObjectBuilder<AggregationRange>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAggregationRangeDeserializer(ObjectDeserializer<AggregationRange.Builder> op)
java.lang.String
to()
API name:to
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAggregationRange
-
-
Method Details
-
of
public static AggregationRange of(java.util.function.Function<AggregationRange.Builder,ObjectBuilder<AggregationRange>> fn) -
from
@Nullable public final java.lang.String from()API name:from
-
key
@Nullable public final java.lang.String key()API name:key
-
to
@Nullable public final java.lang.String to()API name:to
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAggregationRangeDeserializer
protected static void setupAggregationRangeDeserializer(ObjectDeserializer<AggregationRange.Builder> op)
-