Class GetSourceResponse<TDocument>
java.lang.Object
org.opensearch.client.opensearch.core.GetSourceResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
@JsonpDeserializable
public class GetSourceResponse<TDocument>
extends Object
implements PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetSourceResponse<Object>> Json deserializer forGetSourceResponsebased 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) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.final TDocumentRequired - Response value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
Json deserializer forGetSourceResponsebased 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.API name:
_value_body -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
createGetSourceResponseDeserializer
public static <TDocument> JsonpDeserializer<GetSourceResponse<TDocument>> createGetSourceResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
-