Class MsearchResponse<TDocument>
- java.lang.Object
-
- org.opensearch.client.opensearch.core.msearch.MultiSearchResult<TDocument>
-
- org.opensearch.client.opensearch.core.MsearchResponse<TDocument>
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MsearchResponse<TDocument> extends MultiSearchResult<TDocument>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMsearchResponse.Builder<TDocument>Builder forMsearchResponse.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch.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>>_DESERIALIZERJson deserializer forMsearchResponsebased on named deserializers provided by the callingJsonMapper.
-
Method Summary
All Methods Static Methods Concrete Methods 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 org.opensearch.client.opensearch.core.msearch.MultiSearchResult
responses, serialize, serializeInternal, setupMultiSearchResultDeserializer, took
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<MsearchResponse<java.lang.Object>> _DESERIALIZER
Json deserializer forMsearchResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Detail
-
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)
-
-