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 classAggregationRange.BuilderBuilder forAggregationRange. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AggregationRange>_DESERIALIZERJson deserializer forAggregationRange -
Method Summary
Modifier and Type Method Description java.lang.Stringfrom()API name:fromjava.lang.Stringkey()API name:keystatic AggregationRangeof(java.util.function.Function<AggregationRange.Builder,ObjectBuilder<AggregationRange>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAggregationRangeDeserializer(ObjectDeserializer<AggregationRange.Builder> op)java.lang.Stringto()API name:tojava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupAggregationRangeDeserializer
protected static void setupAggregationRangeDeserializer(ObjectDeserializer<AggregationRange.Builder> op)
-