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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTcompletionTime(DateTime value) Indicates when the async search completed.final BuilderTcompletionTimeInMillis(Long value) API name:completion_time_in_millisfinal BuilderTexpirationTime(DateTime value) Indicates when the async search will expire.final BuilderTexpirationTimeInMillis(long value) Required - API name:expiration_time_in_millisfinal BuilderTAPI name:idfinal BuilderTisPartial(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 BuilderTisRunning(boolean value) Required - Indicates whether the search is still running or has completed.protected abstract BuilderTself()final BuilderTAPI name:start_timefinal BuilderTstartTimeInMillis(long value) Required - API name:start_time_in_millisMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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_partialis always set totrue.API name:
is_partial -
isRunning
Required - Indicates whether the search is still running or has completed.info 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 though
is_runningisfalse.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. It is present only when the search has completed.API name:
completion_time -
completionTimeInMillis
API name:completion_time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>
-