Class GetSourceResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.GetSourceResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetSourceResponse<TDocument>
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetSourceResponse<Object>>
Json deserializer forGetSourceResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TDocument>
JsonpDeserializer<GetSourceResponse<TDocument>>createGetSourceResponseDeserializer
(JsonpDeserializer<TDocument> tDocumentDeserializer) static <TDocument>
GetSourceResponse<TDocument>of
(Function<GetSourceResponse.Builder<TDocument>, ObjectBuilder<GetSourceResponse<TDocument>>> fn) void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.toString()
final TDocument
Required - Response value.
-
Field Details
-
_DESERIALIZER
Json deserializer forGetSourceResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> GetSourceResponse<TDocument> of(Function<GetSourceResponse.Builder<TDocument>, ObjectBuilder<GetSourceResponse<TDocument>>> fn) -
valueBody
Required - Response value. -
serialize
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
toString
-
createGetSourceResponseDeserializer
public static <TDocument> JsonpDeserializer<GetSourceResponse<TDocument>> createGetSourceResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
-