Class RecoveryRecord

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

@JsonpDeserializable
public class RecoveryRecord
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static RecoveryRecord of​(java.util.function.Function<RecoveryRecord.Builder,​ObjectBuilder<RecoveryRecord>> fn)
    • index

      @Nullable public final java.lang.String index()
      index name

      API name: index

    • shard

      @Nullable public final java.lang.String shard()
      shard name

      API name: shard

    • startTime

      @Nullable public final java.lang.String startTime()
      recovery start time

      API name: start_time

    • startTimeMillis

      @Nullable public final java.lang.String startTimeMillis()
      recovery start time in epoch milliseconds

      API name: start_time_millis

    • stopTime

      @Nullable public final java.lang.String stopTime()
      recovery stop time

      API name: stop_time

    • stopTimeMillis

      @Nullable public final java.lang.String stopTimeMillis()
      recovery stop time in epoch milliseconds

      API name: stop_time_millis

    • time

      @Nullable public final java.lang.String time()
      recovery time

      API name: time

    • type

      @Nullable public final java.lang.String type()
      recovery type

      API name: type

    • stage

      @Nullable public final java.lang.String stage()
      recovery stage

      API name: stage

    • sourceHost

      @Nullable public final java.lang.String sourceHost()
      source host

      API name: source_host

    • sourceNode

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

      API name: source_node

    • targetHost

      @Nullable public final java.lang.String targetHost()
      target host

      API name: target_host

    • targetNode

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

      API name: target_node

    • repository

      @Nullable public final java.lang.String repository()
      repository

      API name: repository

    • snapshot

      @Nullable public final java.lang.String snapshot()
      snapshot

      API name: snapshot

    • files

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

      API name: files

    • filesRecovered

      @Nullable public final java.lang.String filesRecovered()
      files recovered

      API name: files_recovered

    • filesPercent

      @Nullable public final java.lang.String filesPercent()
      percent of files recovered

      API name: files_percent

    • filesTotal

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

      API name: files_total

    • bytes

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

      API name: bytes

    • bytesRecovered

      @Nullable public final java.lang.String bytesRecovered()
      bytes recovered

      API name: bytes_recovered

    • bytesPercent

      @Nullable public final java.lang.String bytesPercent()
      percent of bytes recovered

      API name: bytes_percent

    • bytesTotal

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

      API name: bytes_total

    • translogOps

      @Nullable public final java.lang.String translogOps()
      number of translog ops to recover

      API name: translog_ops

    • translogOpsRecovered

      @Nullable public final java.lang.String translogOpsRecovered()
      translog ops recovered

      API name: translog_ops_recovered

    • translogOpsPercent

      @Nullable public final java.lang.String translogOpsPercent()
      percent of translog ops 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)
    • setupRecoveryRecordDeserializer

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