Class ExplainResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.ExplainResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class ExplainResponse<TDocument>
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExplainResponse<Object>>
Json deserializer forExplainResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TDocument>
JsonpDeserializer<ExplainResponse<TDocument>>createExplainResponseDeserializer
(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for ExplainResponsefinal ExplanationDetail
API name:explanation
get()
API name:get
final String
id()
Required - API name:_id
final String
index()
Required - API name:_index
final boolean
matched()
Required - API name:matched
static <TDocument>
ExplainResponse<TDocument>of
(Function<ExplainResponse.Builder<TDocument>, ObjectBuilder<ExplainResponse<TDocument>>> fn) 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 <TDocument>
voidsetupExplainResponseDeserializer
(ObjectDeserializer<ExplainResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forExplainResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> ExplainResponse<TDocument> of(Function<ExplainResponse.Builder<TDocument>, ObjectBuilder<ExplainResponse<TDocument>>> fn) -
index
Required - API name:_index
-
id
Required - API name:_id
-
matched
public final boolean matched()Required - API name:matched
-
explanation
API name:explanation
-
get
API name:get
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
createExplainResponseDeserializer
public static <TDocument> JsonpDeserializer<ExplainResponse<TDocument>> createExplainResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for ExplainResponse -
setupExplainResponseDeserializer
protected static <TDocument> void setupExplainResponseDeserializer(ObjectDeserializer<ExplainResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-