Class QueryProfile
java.lang.Object
co.elastic.clients.elasticsearch.core.search.QueryProfile
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class QueryProfile extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQueryProfile.BuilderBuilder forQueryProfile. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<QueryProfile>_DESERIALIZERJson deserializer forQueryProfile -
Constructor Summary
Constructors Constructor Description QueryProfile(QueryProfile.Builder builder)QueryProfile(java.util.function.Function<QueryProfile.Builder,QueryProfile.Builder> fn) -
Method Summary
Modifier and Type Method Description QueryBreakdownbreakdown()Required - API name:breakdownjava.util.List<QueryProfile>children()API name:childrenjava.lang.Stringdescription()Required - API name:descriptionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupQueryProfileDeserializer(DelegatingDeserializer<QueryProfile.Builder> op)longtimeInNanos()Required - API name:time_in_nanosjava.lang.Stringtype()Required - API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forQueryProfile
-
-
Constructor Details
-
QueryProfile
-
QueryProfile
-
-
Method Details
-
breakdown
Required - API name:breakdown -
description
public java.lang.String description()Required - API name:description -
timeInNanos
public long timeInNanos()Required - API name:time_in_nanos -
type
public java.lang.String type()Required - API name:type -
children
API name:children -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupQueryProfileDeserializer
protected static void setupQueryProfileDeserializer(DelegatingDeserializer<QueryProfile.Builder> op)
-