Class BulkByScrollTaskStatus
java.lang.Object
org.opensearch.client.opensearch._types.BulkByScrollTaskStatus
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<BulkByScrollTaskStatus.Builder,BulkByScrollTaskStatus>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class BulkByScrollTaskStatus
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<BulkByScrollTaskStatus.Builder,BulkByScrollTaskStatus>
The status of a bulk by scroll task.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<BulkByScrollTaskStatus> Json deserializer forBulkByScrollTaskStatus -
Method Summary
Modifier and TypeMethodDescriptionfinal intbatches()Required - The number of scroll responses pulled back by the reindex operation.builder()final Stringcanceled()API name:canceledfinal Longcreated()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.static BulkByScrollTaskStatusfinal floatRequired - The number of requests per second effectively executed 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 IntegersliceId()API name:slice_idslices()API name:slicesfinal TimeAPI name:throttledfinal longRequired - API name:throttled_millisfinal TimeThe amount time before the throttling will end.final longRequired - When the throttling will end in milliseconds.Create 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()The number of documents that were successfully updated after the reindex operation.final longRequired - The number of version conflicts encountered by the reindex operation.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 forBulkByScrollTaskStatus
-
-
Method Details
-
of
public static BulkByScrollTaskStatus of(Function<BulkByScrollTaskStatus.Builder, ObjectBuilder<BulkByScrollTaskStatus>> fn) -
batches
public final int batches()Required - The number of scroll responses pulled back by the reindex operation.API name:
batches -
canceled
API name:canceled -
created
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.API name:
noops -
requestsPerSecond
public final float requestsPerSecond()Required - The number of requests per second effectively executed during the reindex operation.API name:
requests_per_second -
retries
Required - API name:retries -
sliceId
API name:slice_id -
slices
API name:slices -
throttled
API name:throttled -
throttledMillis
public final long throttledMillis()Required - API name:throttled_millis -
throttledUntil
The amount time before the throttling will end.API name:
throttled_until -
throttledUntilMillis
public final long throttledUntilMillis()Required - When the throttling will end in milliseconds.API name:
throttled_until_millis -
total
public final long total()Required - The number of documents that were successfully processed.API name:
total -
updated
The number of documents that were successfully updated after the reindex operation.API name:
updated -
versionConflicts
public final long versionConflicts()Required - The number of version conflicts encountered by the reindex operation.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<BulkByScrollTaskStatus.Builder,BulkByScrollTaskStatus> - Returns:
- a new builder instance.
-
builder
-
setupBulkByScrollTaskStatusDeserializer
protected static void setupBulkByScrollTaskStatusDeserializer(ObjectDeserializer<BulkByScrollTaskStatus.Builder> op) -
hashCode
public int hashCode() -
equals
-