Class ReindexStatus
java.lang.Object
org.opensearch.client.opensearch.core.reindex_rethrottle.ReindexStatus
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ReindexStatus.Builder,ReindexStatus>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ReindexStatus
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ReindexStatus.Builder,ReindexStatus>
-
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 shown by the reindex.static ReindexStatus.Builderbuilder()final longcreated()Required - The number of documents that were successfully created.final longdeleted()Required - The number of documents that were successfully deleted.booleaninthashCode()final longnoops()Required - The number of documents that were ignored because the script used for the reindex operation returned anoopvalue forctx.op.static ReindexStatusfinal floatRequired - The number of successful requests per second during the reindex operation.final Retriesretries()Required - API name:retriesvoidserialize(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 - API name:throttled_millisfinal TimeAPI name:throttled_untilfinal longRequired - API name:throttled_until_millisCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final longtotal()Required - The number of documents that were successfully processed.final longupdated()Required - The number of documents that were successfully updated.final longRequired - The number of version conflicts that reindex hits.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forReindexStatus
-
-
Method Details
-
of
-
batches
public final long batches()Required - The number of scroll responses shown 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 operation returned anoopvalue forctx.op.API name:
noops -
requestsPerSecond
public final float requestsPerSecond()Required - The number of successful requests per second during the reindex operation.API name:
requests_per_second -
retries
Required - API name:retries -
throttled
API name:throttled -
throttledMillis
public final long throttledMillis()Required - API name:throttled_millis -
throttledUntil
API name:throttled_until -
throttledUntilMillis
public final long throttledUntilMillis()Required - 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.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
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ReindexStatus.Builder,ReindexStatus> - Returns:
- a new builder instance.
-
builder
-
setupReindexStatusDeserializer
-
hashCode
public int hashCode() -
equals
-