Class GetResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.get.GetResult<TDocument>
co.elastic.clients.elasticsearch.core.GetResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class GetResponse<TDocument> extends GetResult<TDocument>
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetResponse.Builder<TDocument>Builder forGetResponse.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.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
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 co.elastic.clients.elasticsearch.core.get.GetResult
createGetResultDeserializer, fields, found, getResultOf, id, index, primaryTerm, routing, seqNo, serialize, serializeInternal, setupGetResultDeserializer, source, toString, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forGetResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Details
-
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)
-