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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RecoveryRecord.Builder
Builder forRecoveryRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RecoveryRecord>
_DESERIALIZER
Json deserializer forRecoveryRecord
-
Method Summary
Modifier and Type Method Description java.lang.String
bytes()
number of bytes to recoverjava.lang.String
bytesPercent()
percent of bytes recoveredjava.lang.String
bytesRecovered()
bytes recoveredjava.lang.String
bytesTotal()
total number of bytesjava.lang.String
files()
number of files to recoverjava.lang.String
filesPercent()
percent of files recoveredjava.lang.String
filesRecovered()
files recoveredjava.lang.String
filesTotal()
total number of filesjava.lang.String
index()
index namestatic RecoveryRecord
of(java.util.function.Function<RecoveryRecord.Builder,ObjectBuilder<RecoveryRecord>> fn)
java.lang.String
repository()
repositoryvoid
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op)
java.lang.String
shard()
shard namejava.lang.String
snapshot()
snapshotjava.lang.String
sourceHost()
source hostjava.lang.String
sourceNode()
source node namejava.lang.String
stage()
recovery stagejava.lang.String
startTime()
recovery start timejava.lang.String
startTimeMillis()
recovery start time in epoch millisecondsjava.lang.String
stopTime()
recovery stop timejava.lang.String
stopTimeMillis()
recovery stop time in epoch millisecondsjava.lang.String
targetHost()
target hostjava.lang.String
targetNode()
target node namejava.lang.String
time()
recovery timejava.lang.String
toString()
java.lang.String
translogOps()
number of translog ops to recoverjava.lang.String
translogOpsPercent()
percent of translog ops recoveredjava.lang.String
translogOpsRecovered()
translog ops recoveredjava.lang.String
type()
recovery typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRecoveryRecord
-
-
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 nameAPI name:
index
-
shard
@Nullable public final java.lang.String shard()shard nameAPI name:
shard
-
startTime
@Nullable public final java.lang.String startTime()recovery start timeAPI name:
start_time
-
startTimeMillis
@Nullable public final java.lang.String startTimeMillis()recovery start time in epoch millisecondsAPI name:
start_time_millis
-
stopTime
@Nullable public final java.lang.String stopTime()recovery stop timeAPI name:
stop_time
-
stopTimeMillis
@Nullable public final java.lang.String stopTimeMillis()recovery stop time in epoch millisecondsAPI name:
stop_time_millis
-
time
@Nullable public final java.lang.String time()recovery timeAPI name:
time
-
type
@Nullable public final java.lang.String type()recovery typeAPI name:
type
-
stage
@Nullable public final java.lang.String stage()recovery stageAPI name:
stage
-
sourceHost
@Nullable public final java.lang.String sourceHost()source hostAPI name:
source_host
-
sourceNode
@Nullable public final java.lang.String sourceNode()source node nameAPI name:
source_node
-
targetHost
@Nullable public final java.lang.String targetHost()target hostAPI name:
target_host
-
targetNode
@Nullable public final java.lang.String targetNode()target node nameAPI name:
target_node
-
repository
@Nullable public final java.lang.String repository()repositoryAPI name:
repository
-
snapshot
@Nullable public final java.lang.String snapshot()snapshotAPI name:
snapshot
-
files
@Nullable public final java.lang.String files()number of files to recoverAPI name:
files
-
filesRecovered
@Nullable public final java.lang.String filesRecovered()files recoveredAPI name:
files_recovered
-
filesPercent
@Nullable public final java.lang.String filesPercent()percent of files recoveredAPI name:
files_percent
-
filesTotal
@Nullable public final java.lang.String filesTotal()total number of filesAPI name:
files_total
-
bytes
@Nullable public final java.lang.String bytes()number of bytes to recoverAPI name:
bytes
-
bytesRecovered
@Nullable public final java.lang.String bytesRecovered()bytes recoveredAPI name:
bytes_recovered
-
bytesPercent
@Nullable public final java.lang.String bytesPercent()percent of bytes recoveredAPI name:
bytes_percent
-
bytesTotal
@Nullable public final java.lang.String bytesTotal()total number of bytesAPI name:
bytes_total
-
translogOps
@Nullable public final java.lang.String translogOps()number of translog ops to recoverAPI name:
translog_ops
-
translogOpsRecovered
@Nullable public final java.lang.String translogOpsRecovered()translog ops recoveredAPI name:
translog_ops_recovered
-
translogOpsPercent
@Nullable public final java.lang.String translogOpsPercent()percent of translog ops recoveredAPI name:
translog_ops_percent
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupRecoveryRecordDeserializer
protected static void setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op)
-