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,PlainJsonSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.core.msearch.MultiSearchResult
MultiSearchResult.AbstractBuilder<TDocument,BuilderT extends MultiSearchResult.AbstractBuilder<TDocument, BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MsearchResponse<Object>> Json deserializer forMsearchResponsebased on named deserializers provided by the callingJsonMapper. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TDocument>
JsonpDeserializer<MsearchResponse<TDocument>> createMsearchResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for MsearchResponsestatic <TDocument>
MsearchResponse<TDocument> of(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, tookMethods 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 forMsearchResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Details
-
of
public static <TDocument> MsearchResponse<TDocument> of(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)
-