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 ErrorCause
Required - The exception that caused the read to fail.final long
Required - The starting sequence number of the batch requested from the leader.static ReadException
final int
retries()
Required - The number of times the batch has been retried.void
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
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupReadExceptionDeserializer
-