Class HistogramOrder
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.HistogramOrder
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class HistogramOrder extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistogramOrder.BuilderBuilder forHistogramOrder. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<HistogramOrder>_DESERIALIZERJson deserializer forHistogramOrder -
Constructor Summary
Constructors Constructor Description HistogramOrder(HistogramOrder.Builder builder)HistogramOrder(java.util.function.Function<HistogramOrder.Builder,HistogramOrder.Builder> fn) -
Method Summary
Modifier and Type Method Description SortOrdercount()API name:_countSortOrderkey()API name:_keyvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupHistogramOrderDeserializer(DelegatingDeserializer<HistogramOrder.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forHistogramOrder
-
-
Constructor Details
-
HistogramOrder
-
HistogramOrder
public HistogramOrder(java.util.function.Function<HistogramOrder.Builder,HistogramOrder.Builder> fn)
-
-
Method Details
-
count
API name:_count -
key
API name:_key -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupHistogramOrderDeserializer
protected static void setupHistogramOrderDeserializer(DelegatingDeserializer<HistogramOrder.Builder> op)
-