Class ReindexStatus
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex_rethrottle.ReindexStatus
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReindexStatus>Json deserializer forReindexStatus -
Method Summary
Modifier and TypeMethodDescriptionfinal longbatches()Required - The number of scroll responses pulled back by the reindex.final longcreated()Required - The number of documents that were successfully created.final longdeleted()Required - The number of documents that were successfully deleted.final longnoops()Required - The number of documents that were ignored because the script used for the reindex returned anoopvalue forctx.op.static ReindexStatusfinal floatRequired - The number of requests per second effectively executed during the reindex.final Retriesretries()Required - The number of retries attempted by reindex.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal TimeAPI name:throttledfinal longRequired - Number of milliseconds the request slept to conform torequests_per_second.final TimeAPI name:throttled_untilfinal longRequired - This field should always be equal to zero in a_reindexresponse.toString()final longtotal()Required - The number of documents that were successfully processed.final longupdated()Required - The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.final longRequired - The number of version conflicts that reindex hits.
-
Field Details
-
_DESERIALIZER
Json deserializer forReindexStatus
-
-
Method Details
-
of
-
batches
public final long batches()Required - The number of scroll responses pulled back by the reindex.API name:
batches -
created
public final long created()Required - The number of documents that were successfully created.API name:
created -
deleted
public final long deleted()Required - The number of documents that were successfully deleted.API name:
deleted -
noops
public final long noops()Required - The number of documents that were ignored because the script used for the reindex returned anoopvalue forctx.op.API name:
noops -
requestsPerSecond
public final float 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 -
throttled
API name:throttled -
throttledMillis
public final long throttledMillis()Required - Number of milliseconds the request slept to conform torequests_per_second.API name:
throttled_millis -
throttledUntil
API name:throttled_until -
throttledUntilMillis
public final long 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
public final long total()Required - The number of documents that were successfully processed.API name:
total -
updated
public final long updated()Required - 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
public final long versionConflicts()Required - The number of version conflicts that reindex hits.API name:
version_conflicts -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupReindexStatusDeserializer
-