Class StatusResponseBase
java.lang.Object
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
co.elastic.clients.elasticsearch.async_search.status.StatusResponseBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
AsyncSearchStatusResponse
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ModifierConstructorDescriptionprotected
StatusResponseBase
(StatusResponseBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionfinal ClusterStatistics
clusters()
Metadata about clusters involved in the cross-cluster search.final Integer
If the async search completed, this field shows the status code of the search.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>>
voidsetupStatusResponseBaseDeserializer
(ObjectDeserializer<BuilderT> op) final ShardStatistics
shards()
Required - Indicates how many shards have run the query so far.Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
completionTime, completionTimeInMillis, expirationTime, expirationTimeInMillis, id, isPartial, isRunning, serialize, setupAsyncSearchResponseBaseDeserializer, startTime, startTimeInMillis, toString
-
Constructor Details
-
StatusResponseBase
-
-
Method Details
-
shards
Required - Indicates how many shards have run the query so far.API name:
_shards
-
clusters
Metadata about clusters involved in the cross-cluster search. Not shown for local-only searches.API name:
_clusters
-
completionStatus
If the async search completed, this field shows the status code of the search. For example, 200 indicates that the async search was successfully completed. 503 indicates that the async search was completed with an error.API name:
completion_status
-
serializeInternal
- Overrides:
serializeInternal
in classAsyncSearchResponseBase
-
setupStatusResponseBaseDeserializer
protected static <BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>> void setupStatusResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)
-