Class CancelReindexResponse
java.lang.Object
co.elastic.clients.elasticsearch.core.CancelReindexResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CancelReindexResponse>Json deserializer forCancelReindexResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanPresent andtruewhenwait_for_completion=false.final BooleanWhether the reindex task has been cancelled.final BooleanWhether the reindex task has completed.final StringA sanitized description of the reindex operation.final ErrorCauseerror()The error that caused the reindex task to fail, if any.final Stringid()The ID of the reindex task.static CancelReindexResponsefinal ReindexTaskResultresponse()The final result of the reindex operation, if it completed before being cancelled.final TimeThe elapsed running time of the reindex task, in a human-readable format.final LongThe elapsed running time of the reindex task, in nanoseconds.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 StringThe time at which the reindex task started, as an ISO 8601 formatted string.final LongThe time at which the reindex task started, in milliseconds since the Unix epoch.final ReindexStatusstatus()The status of the reindex operation at the time of cancellation.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCancelReindexResponse
-
-
Method Details
-
of
public static CancelReindexResponse of(Function<CancelReindexResponse.Builder, ObjectBuilder<CancelReindexResponse>> fn) -
acknowledged
Present andtruewhenwait_for_completion=false.API name:
acknowledged -
completed
Whether the reindex task has completed. Present whenwait_for_completion=true.API name:
completed -
id
The ID of the reindex task. The value is the ID assigned when the task was first created and remains stable across node-shutdown relocations. Present whenwait_for_completion=true.API name:
id -
description
A sanitized description of the reindex operation.API name:
description -
startTimeInMillis
The time at which the reindex task started, in milliseconds since the Unix epoch.API name:
start_time_in_millis -
startTime
The time at which the reindex task started, as an ISO 8601 formatted string.API name:
start_time -
runningTime
The elapsed running time of the reindex task, in a human-readable format. Only present when the request includes the?human=truequery parameter.API name:
running_time -
runningTimeInNanos
The elapsed running time of the reindex task, in nanoseconds.API name:
running_time_in_nanos -
cancelled
Whether the reindex task has been cancelled.API name:
cancelled -
status
The status of the reindex operation at the time of cancellation.API name:
status -
error
The error that caused the reindex task to fail, if any.API name:
error -
response
The final result of the reindex operation, if it completed before being cancelled.API name:
response -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCancelReindexResponseDeserializer
protected static void setupCancelReindexResponseDeserializer(ObjectDeserializer<CancelReindexResponse.Builder> op)
-