Class MultisearchBody
java.lang.Object
co.elastic.clients.elasticsearch.core.msearch.MultisearchBody
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MultisearchBody extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMultisearchBody.BuilderBuilder forMultisearchBody. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MultisearchBody>_DESERIALIZERJson deserializer forMultisearchBody -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Aggregation>aggregations()API name:aggregationsjava.lang.Integerfrom()API name:fromstatic MultisearchBodyof(java.util.function.Function<MultisearchBody.Builder,ObjectBuilder<MultisearchBody>> fn)PointInTimeReferencepit()API name:pitQueryquery()API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMultisearchBodyDeserializer(ObjectDeserializer<MultisearchBody.Builder> op)java.lang.Integersize()API name:sizeSuggestersuggest()API name:suggestTrackHitstrackTotalHits()API name:track_total_hitsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMultisearchBody
-
-
Method Details
-
of
public static MultisearchBody of(java.util.function.Function<MultisearchBody.Builder,ObjectBuilder<MultisearchBody>> fn) -
aggregations
API name:aggregations -
query
API name:query -
from
@Nullable public final java.lang.Integer from()API name:from -
size
@Nullable public final java.lang.Integer size()API name:size -
pit
API name:pit -
trackTotalHits
API name:track_total_hits -
suggest
API name:suggest -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMultisearchBodyDeserializer
protected static void setupMultisearchBodyDeserializer(ObjectDeserializer<MultisearchBody.Builder> op)
-