Class RecoveryRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.recovery.RecoveryRecord
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class RecoveryRecord extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • index

      @Nullable public final String index()
      The index name.

      API name: index

    • shard

      @Nullable public final String shard()
      The shard name.

      API name: shard

    • startTime

      @Nullable public final DateTime startTime()
      The recovery start time.

      API name: start_time

    • startTimeMillis

      @Nullable public final Long startTimeMillis()
      The recovery start time in epoch milliseconds.

      API name: start_time_millis

    • stopTime

      @Nullable public final DateTime stopTime()
      The recovery stop time.

      API name: stop_time

    • stopTimeMillis

      @Nullable public final Long stopTimeMillis()
      The recovery stop time in epoch milliseconds.

      API name: stop_time_millis

    • time

      @Nullable public final Time time()
      The recovery time.

      API name: time

    • type

      @Nullable public final String type()
      The recovery type.

      API name: type

    • stage

      @Nullable public final String stage()
      The recovery stage.

      API name: stage

    • sourceHost

      @Nullable public final String sourceHost()
      The source host.

      API name: source_host

    • sourceNode

      @Nullable public final String sourceNode()
      The source node name.

      API name: source_node

    • targetHost

      @Nullable public final String targetHost()
      The target host.

      API name: target_host

    • targetNode

      @Nullable public final String targetNode()
      The target node name.

      API name: target_node

    • repository

      @Nullable public final String repository()
      The repository name.

      API name: repository

    • snapshot

      @Nullable public final String snapshot()
      The snapshot name.

      API name: snapshot

    • files

      @Nullable public final String files()
      The number of files to recover.

      API name: files

    • filesRecovered

      @Nullable public final String filesRecovered()
      The files recovered.

      API name: files_recovered

    • filesPercent

      @Nullable public final String filesPercent()
      The ratio of files recovered.

      API name: files_percent

    • filesTotal

      @Nullable public final String filesTotal()
      The total number of files.

      API name: files_total

    • bytes

      @Nullable public final String bytes()
      The number of bytes to recover.

      API name: bytes

    • bytesRecovered

      @Nullable public final String bytesRecovered()
      The bytes recovered.

      API name: bytes_recovered

    • bytesPercent

      @Nullable public final String bytesPercent()
      The ratio of bytes recovered.

      API name: bytes_percent

    • bytesTotal

      @Nullable public final String bytesTotal()
      The total number of bytes.

      API name: bytes_total

    • translogOps

      @Nullable public final String translogOps()
      The number of translog operations to recover.

      API name: translog_ops

    • translogOpsRecovered

      @Nullable public final String translogOpsRecovered()
      The translog operations recovered.

      API name: translog_ops_recovered

    • translogOpsPercent

      @Nullable public final String translogOpsPercent()
      The ratio of translog operations recovered.

      API name: translog_ops_percent

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupRecoveryRecordDeserializer

      protected static void setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op)