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 class
QueryProfile.Builder
Builder forQueryProfile
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<QueryProfile>
_DESERIALIZER
Json 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 QueryBreakdown
breakdown()
Required - API name:breakdown
java.util.List<QueryProfile>
children()
API name:children
java.lang.String
description()
Required - API name:description
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupQueryProfileDeserializer(DelegatingDeserializer<QueryProfile.Builder> op)
long
timeInNanos()
Required - API name:time_in_nanos
java.lang.String
type()
Required - API name:type
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupQueryProfileDeserializer
protected static void setupQueryProfileDeserializer(DelegatingDeserializer<QueryProfile.Builder> op)
-