Class AsyncSearchResponseBase.AbstractBuilder<BuilderT extends AsyncSearchResponseBase.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>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
AsyncSearchDocumentResponseBase.AbstractBuilder
,StatusResponseBase.AbstractBuilder
- Enclosing class:
- AsyncSearchResponseBase
public abstract static class AsyncSearchResponseBase.AbstractBuilder<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
completionTime
(DateTime value) Indicates when the async search completed.final BuilderT
completionTimeInMillis
(Long value) API name:completion_time_in_millis
final BuilderT
expirationTime
(DateTime value) Indicates when the async search will expire.final BuilderT
expirationTimeInMillis
(long value) Required - API name:expiration_time_in_millis
final BuilderT
API name:id
final BuilderT
isPartial
(boolean value) Required - When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards.final BuilderT
isRunning
(boolean value) Required - Indicates whether the search is still running or has completed.protected abstract BuilderT
self()
final BuilderT
API name:start_time
final BuilderT
startTimeInMillis
(long value) Required - API name:start_time_in_millis
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
-
id
API name:id
-
isPartial
Required - When the query is no longer running, this property indicates whether the search failed or was successfully completed on all shards. While the query is running,is_partial
is always set totrue
.API name:
is_partial
-
isRunning
Required - Indicates whether the search is still running or has completed. NOTE: If the search failed after some shards returned their results or the node that is coordinating the async search dies, results may be partial even thoughis_running
isfalse
.API name:
is_running
-
expirationTime
Indicates when the async search will expire.API name:
expiration_time
-
expirationTimeInMillis
Required - API name:expiration_time_in_millis
-
startTime
API name:start_time
-
startTimeInMillis
Required - API name:start_time_in_millis
-
completionTime
Indicates when the async search completed. Only present when the search has completed.API name:
completion_time
-
completionTimeInMillis
API name:completion_time_in_millis
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>
-