Class ReindexTaskInfo
java.lang.Object
co.elastic.clients.elasticsearch._types.ReindexTaskInfo
- All Implemented Interfaces:
JsonpSerializable
Information about a single reindex task, as returned by the reindex
management APIs.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReindexTaskInfo>Json deserializer forReindexTaskInfo -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanRequired - Whether the reindex task has been cancelled.final StringA sanitized description of the reindex operation (source and destination indices, and optionally remote host info).final Stringid()Required - The ID of the reindex task, innodeId:taskNumformat.static ReindexTaskInforebuild()final TimeThe elapsed running time of the reindex task, in a human-readable format.final longRequired - The 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 longRequired - The time at which the reindex task started, in milliseconds since the Unix epoch.final ReindexStatusstatus()The current progress of the reindex operation.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forReindexTaskInfo
-
-
Method Details
-
of
public static ReindexTaskInfo of(Function<ReindexTaskInfo.Builder, ObjectBuilder<ReindexTaskInfo>> fn) -
id
Required - The ID of the reindex task, innodeId:taskNumformat.API name:
id -
description
A sanitized description of the reindex operation (source and destination indices, and optionally remote host info).API name:
description -
startTimeInMillis
public final long startTimeInMillis()Required - 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. Only present when the request includes the?human=truequery parameter.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
public final long runningTimeInNanos()Required - The elapsed running time of the reindex task, in nanoseconds.API name:
running_time_in_nanos -
cancelled
public final boolean cancelled()Required - Whether the reindex task has been cancelled.API name:
cancelled -
status
The current progress of the reindex operation.API name:
status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
ReindexTaskInfo.Builderinitialized with field values of this instance
-
setupReindexTaskInfoDeserializer
protected static void setupReindexTaskInfoDeserializer(ObjectDeserializer<ReindexTaskInfo.Builder> op)
-