Class ReindexStatus.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ReindexStatus.Builder>
co.elastic.clients.elasticsearch._types.ReindexStatus.Builder
- All Implemented Interfaces:
WithJson<ReindexStatus.Builder>,ObjectBuilder<ReindexStatus>
- Enclosing class:
- ReindexStatus
public static class ReindexStatus.Builder
extends WithJsonObjectBuilderBase<ReindexStatus.Builder>
implements ObjectBuilder<ReindexStatus>
Builder for
ReindexStatus.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ReindexStatus.Builderbatches(long value) Required - The number of scroll responses pulled back by the reindex.build()Builds aReindexStatus.final ReindexStatus.BuilderThe reason for cancellation if the slice was canceledfinal ReindexStatus.BuilderThe number of documents that were successfully created.final ReindexStatus.Builderdeleted(long value) Required - The number of documents that were successfully deleted.final ReindexStatus.Buildernoops(long value) Required - The number of documents that were ignored because the script used for the reindex returned anoopvalue forctx.op.final ReindexStatus.BuilderrequestsPerSecond(float value) Required - The number of requests per second effectively executed during the reindex.final ReindexStatus.BuilderRequired - The number of retries attempted by reindex.final ReindexStatus.BuilderRequired - The number of retries attempted by reindex.protected ReindexStatus.Builderself()final ReindexStatus.BuilderThe slice IDfinal ReindexStatus.BuilderAPI name:throttledfinal ReindexStatus.BuilderAPI name:throttledfinal ReindexStatus.BuilderthrottledMillis(long value) Required - Number of milliseconds the request slept to conform torequests_per_second.final ReindexStatus.BuilderthrottledUntil(Time value) API name:throttled_untilfinal ReindexStatus.BuilderAPI name:throttled_untilfinal ReindexStatus.BuilderthrottledUntilMillis(long value) Required - This field should always be equal to zero in a_reindexresponse.final ReindexStatus.Buildertotal(long value) Required - The number of documents that were successfully processed.final ReindexStatus.BuilderThe number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.final ReindexStatus.BuilderversionConflicts(long value) Required - The number of version conflicts that reindex hits.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sliceId
The slice IDAPI name:
slice_id -
batches
Required - The number of scroll responses pulled back by the reindex.API name:
batches -
created
The number of documents that were successfully created.API name:
created -
deleted
Required - The number of documents that were successfully deleted.API name:
deleted -
noops
Required - The number of documents that were ignored because the script used for the reindex returned anoopvalue forctx.op.API name:
noops -
requestsPerSecond
Required - The number of requests per second effectively executed during the reindex.API name:
requests_per_second -
retries
Required - The number of retries attempted by reindex.bulkis the number of bulk actions retried andsearchis the number of search actions retried.API name:
retries -
retries
Required - The number of retries attempted by reindex.bulkis the number of bulk actions retried andsearchis the number of search actions retried.API name:
retries -
throttled
API name:throttled -
throttled
API name:throttled -
throttledMillis
Required - Number of milliseconds the request slept to conform torequests_per_second.API name:
throttled_millis -
throttledUntil
API name:throttled_until -
throttledUntil
API name:throttled_until -
throttledUntilMillis
Required - This field should always be equal to zero in a_reindexresponse. It only has meaning when using the Task API, where it indicates the next time (in milliseconds since epoch) a throttled request will be executed again in order to conform torequests_per_second.API name:
throttled_until_millis -
total
Required - The number of documents that were successfully processed.API name:
total -
updated
The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.API name:
updated -
versionConflicts
Required - The number of version conflicts that reindex hits.API name:
version_conflicts -
cancelled
The reason for cancellation if the slice was canceledAPI name:
cancelled -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ReindexStatus.Builder>
-
build
Builds aReindexStatus.- Specified by:
buildin interfaceObjectBuilder<ReindexStatus>- Throws:
NullPointerException- if some of the required fields are null.
-