Class QueryProfile
java.lang.Object
org.opensearch.client.opensearch.core.search.QueryProfile
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<QueryProfile.Builder,QueryProfile>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class QueryProfile
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<QueryProfile.Builder,QueryProfile>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<QueryProfile> Json deserializer forQueryProfile -
Method Summary
Modifier and TypeMethodDescriptionfinal QueryBreakdownRequired - API name:breakdownstatic QueryProfile.Builderbuilder()final List<QueryProfile> children()API name:childrenfinal StringRequired - API name:descriptionbooleaninthashCode()static QueryProfilevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - API name:time_in_nanosCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()Required - API name:typeMethods 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 forQueryProfile
-
-
Method Details
-
of
-
breakdown
Required - API name:breakdown -
children
API name:children -
description
Required - API name:description -
timeInNanos
public final long timeInNanos()Required - API name:time_in_nanos -
type
Required - API name:type -
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<QueryProfile.Builder,QueryProfile> - Returns:
- a new builder instance.
-
builder
-
setupQueryProfileDeserializer
-
hashCode
public int hashCode() -
equals
-