Class MultiSearchItem<TDocument>
- java.lang.Object
-
- org.opensearch.client.opensearch.core.search.SearchResult<TDocument>
-
- org.opensearch.client.opensearch.core.SearchResponse<TDocument>
-
- org.opensearch.client.opensearch.core.msearch.MultiSearchItem<TDocument>
-
- All Implemented Interfaces:
JsonpSerializable
public class MultiSearchItem<TDocument> extends SearchResponse<TDocument>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultiSearchItem.Builder<TDocument>Builder forMultiSearchItem.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch.core.search.SearchResult
SearchResult.AbstractBuilder<TDocument,BuilderT extends SearchResult.AbstractBuilder<TDocument,BuilderT>>
-
-
Field Summary
-
Fields inherited from class org.opensearch.client.opensearch.core.SearchResponse
_DESERIALIZER
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <TDocument>
JsonpDeserializer<MultiSearchItem<TDocument>>createMultiSearchItemDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for MultiSearchItemstatic <TDocument>
MultiSearchItem<TDocument>of(java.util.function.Function<MultiSearchItem.Builder<TDocument>,ObjectBuilder<MultiSearchItem<TDocument>>> fn)protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static <TDocument>
voidsetupMultiSearchItemDeserializer(ObjectDeserializer<MultiSearchItem.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)java.lang.Integerstatus()API name:status-
Methods inherited from class org.opensearch.client.opensearch.core.SearchResponse
createSearchResponseDeserializer, searchResponseOf, setupSearchResponseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch.core.search.SearchResult
aggregations, clusters, documents, fields, hits, maxScore, numReducePhases, pitId, profile, scrollId, serialize, setupSearchResultDeserializer, shards, suggest, terminatedEarly, timedOut, took
-
-
-
-
Method Detail
-
of
public static <TDocument> MultiSearchItem<TDocument> of(java.util.function.Function<MultiSearchItem.Builder<TDocument>,ObjectBuilder<MultiSearchItem<TDocument>>> fn)
-
status
@Nullable public final java.lang.Integer status()
API name:status
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)- Overrides:
serializeInternalin classSearchResult<TDocument>
-
createMultiSearchItemDeserializer
public static <TDocument> JsonpDeserializer<MultiSearchItem<TDocument>> createMultiSearchItemDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for MultiSearchItem
-
setupMultiSearchItemDeserializer
protected static <TDocument> void setupMultiSearchItemDeserializer(ObjectDeserializer<MultiSearchItem.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-
-