Class GetResponse<TDocument>
- java.lang.Object
-
- org.opensearch.client.opensearch.core.get.GetResult<TDocument>
-
- org.opensearch.client.opensearch.core.GetResponse<TDocument>
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetResponse<TDocument> extends GetResult<TDocument>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetResponse.Builder<TDocument>Builder forGetResponse.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch.core.get.GetResult
GetResult.AbstractBuilder<TDocument,BuilderT extends GetResult.AbstractBuilder<TDocument,BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<GetResponse<java.lang.Object>>_DESERIALIZERJson deserializer forGetResponsebased on named deserializers provided by the callingJsonMapper.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <TDocument>
JsonpDeserializer<GetResponse<TDocument>>createGetResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for GetResponsestatic <TDocument>
GetResponse<TDocument>of(java.util.function.Function<GetResponse.Builder<TDocument>,ObjectBuilder<GetResponse<TDocument>>> fn)protected static <TDocument>
voidsetupGetResponseDeserializer(ObjectDeserializer<GetResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)-
Methods inherited from class org.opensearch.client.opensearch.core.get.GetResult
createGetResultDeserializer, fields, found, getResultOf, id, index, primaryTerm, routing, seqNo, serialize, serializeInternal, setupGetResultDeserializer, source, version
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<GetResponse<java.lang.Object>> _DESERIALIZER
Json deserializer forGetResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Detail
-
of
public static <TDocument> GetResponse<TDocument> of(java.util.function.Function<GetResponse.Builder<TDocument>,ObjectBuilder<GetResponse<TDocument>>> fn)
-
createGetResponseDeserializer
public static <TDocument> JsonpDeserializer<GetResponse<TDocument>> createGetResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for GetResponse
-
setupGetResponseDeserializer
protected static <TDocument> void setupGetResponseDeserializer(ObjectDeserializer<GetResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-
-