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

public abstract class StatusResponseBase extends AsyncSearchResponseBase
See Also:
  • Constructor Details

  • Method Details

    • shards

      public final ShardStatistics shards()
      Required - Indicates how many shards have run the query so far.

      API name: _shards

    • clusters

      @Nullable public final ClusterStatistics clusters()
      Metadata about clusters involved in the cross-cluster search. Not shown for local-only searches.

      API name: _clusters

    • completionStatus

      @Nullable public final Integer 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

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class AsyncSearchResponseBase
    • setupStatusResponseBaseDeserializer

      protected static <BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>> void setupStatusResponseBaseDeserializer(ObjectDeserializer<BuilderT> op)