Class ReadException
java.lang.Object
co.elastic.clients.elasticsearch.ccr.ReadException
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ReadException>Json deserializer forReadException -
Method Summary
Modifier and TypeMethodDescriptionfinal ErrorCauseRequired - The exception that caused the read to fail.final longRequired - The starting sequence number of the batch requested from the leader.static ReadExceptionfinal intretries()Required - The number of times the batch has been retried.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forReadException
-
-
Method Details
-
of
-
exception
Required - The exception that caused the read to fail.API name:
exception -
fromSeqNo
public final long fromSeqNo()Required - The starting sequence number of the batch requested from the leader.API name:
from_seq_no -
retries
public final int retries()Required - The number of times the batch has been retried.API name:
retries -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupReadExceptionDeserializer
-