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 long
batches()
Required - The number of scroll responses pulled back by the reindex.final long
created()
Required - The number of documents that were successfully created.final long
deleted()
Required - The number of documents that were successfully deleted.final long
noops()
Required - The number of documents that were ignored because the script used for the reindex returned anoop
value forctx.op
.static ReindexStatus
final float
Required - The number of requests per second effectively executed during the reindex.final Retries
retries()
Required - The number of retries attempted by reindex.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final Time
API name:throttled
final long
Required - Number of milliseconds the request slept to conform torequests_per_second
.final Time
API name:throttled_until
final long
Required - This field should always be equal to zero in a_reindex
response.toString()
final long
total()
Required - The number of documents that were successfully processed.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.final long
Required - 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 anoop
value 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.bulk
is the number of bulk actions retried andsearch
is 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_reindex
response. 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupReindexStatusDeserializer
-