Class StatusResponseBase.AbstractBuilder<BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.async_search.status.StatusResponseBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
AsyncSearchStatusResponse.Builder
- Enclosing class:
- StatusResponseBase
public abstract static class StatusResponseBase.AbstractBuilder<BuilderT extends StatusResponseBase.AbstractBuilder<BuilderT>>
extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
completionStatus
(Integer value) If the async search completed, this field shows the status code of the search.final BuilderT
shards
(ShardStatistics value) Required - Indicates how many shards have run the query so far.final BuilderT
Required - Indicates how many shards have run the query so far.Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder
expirationTime, expirationTimeInMillis, id, isPartial, isRunning, self, startTime, startTimeInMillis
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
shards
Required - Indicates how many shards have run the query so far.API name:
_shards
-
shards
Required - Indicates how many shards have run the query so far.API name:
_shards
-
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
-