Class MultiSearchItem<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.core.search.ResponseBody<TDocument>
co.elastic.clients.elasticsearch.core.msearch.MultiSearchItem<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MultiSearchItem<TDocument> extends ResponseBody<TDocument>
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiSearchItem.Builder<TDocument>
Builder forMultiSearchItem
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.core.search.ResponseBody
ResponseBody.AbstractBuilder<TDocument,BuilderT extends ResponseBody.AbstractBuilder<TDocument,BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultiSearchItem<java.lang.Object>>
_DESERIALIZER
Json deserializer forMultiSearchItem
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
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 void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <TDocument>
voidsetupMultiSearchItemDeserializer(ObjectDeserializer<MultiSearchItem.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
java.lang.Integer
status()
API name:status
Methods inherited from class co.elastic.clients.elasticsearch.core.search.ResponseBody
aggregations, clusters, fields, hits, maxScore, numReducePhases, pitId, profile, scrollId, serialize, setupResponseBodyDeserializer, shards, suggest, terminatedEarly, timedOut, took, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiSearchItem
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
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
- Overrides:
serializeInternal
in classResponseBody<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)
-