Class MsearchResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.msearch.MultiSearchResult<TDocument>
co.elastic.clients.elasticsearch.core.MsearchResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MsearchResponse<TDocument> extends MultiSearchResult<TDocument>
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MsearchResponse.Builder<TDocument>
Builder forMsearchResponse
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.core.msearch.MultiSearchResult
MultiSearchResult.AbstractBuilder<TDocument,BuilderT extends MultiSearchResult.AbstractBuilder<TDocument,BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MsearchResponse<java.lang.Object>>
_DESERIALIZER
Json deserializer forMsearchResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and Type Method Description static <TDocument>
JsonpDeserializer<MsearchResponse<TDocument>>createMsearchResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for MsearchResponsestatic <TDocument>
MsearchResponse<TDocument>of(java.util.function.Function<MsearchResponse.Builder<TDocument>,ObjectBuilder<MsearchResponse<TDocument>>> fn)
protected static <TDocument>
voidsetupMsearchResponseDeserializer(ObjectDeserializer<MsearchResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
Methods inherited from class co.elastic.clients.elasticsearch.core.msearch.MultiSearchResult
responses, serialize, serializeInternal, setupMultiSearchResultDeserializer, took, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMsearchResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> MsearchResponse<TDocument> of(java.util.function.Function<MsearchResponse.Builder<TDocument>,ObjectBuilder<MsearchResponse<TDocument>>> fn) -
createMsearchResponseDeserializer
public static <TDocument> JsonpDeserializer<MsearchResponse<TDocument>> createMsearchResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for MsearchResponse -
setupMsearchResponseDeserializer
protected static <TDocument> void setupMsearchResponseDeserializer(ObjectDeserializer<MsearchResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-