Class HistogramOrder
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.HistogramOrder
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<HistogramOrder.Builder,HistogramOrder>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class HistogramOrder
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<HistogramOrder.Builder,HistogramOrder>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<HistogramOrder> Json deserializer forHistogramOrder -
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramOrder.Builderbuilder()final SortOrdercount()API name:_countbooleaninthashCode()final SortOrderkey()API name:_keystatic HistogramOrdervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forHistogramOrder
-
-
Method Details
-
of
-
count
API name:_count -
key
API name:_key -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<HistogramOrder.Builder,HistogramOrder> - Returns:
- a new builder instance.
-
builder
-
setupHistogramOrderDeserializer
protected static void setupHistogramOrderDeserializer(ObjectDeserializer<HistogramOrder.Builder> op) -
hashCode
public int hashCode() -
equals
-