Class ReadException
java.lang.Object
co.elastic.clients.elasticsearch.ccr.ReadException
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ReadException extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReadException.BuilderBuilder forReadException. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ReadException>_DESERIALIZERJson deserializer forReadException -
Constructor Summary
Constructors Constructor Description ReadException(ReadException.Builder builder)ReadException(java.util.function.Function<ReadException.Builder,ReadException.Builder> fn) -
Method Summary
Modifier and Type Method Description ErrorCauseexception()Required - API name:exceptionintfromSeqNo()Required - API name:from_seq_nointretries()Required - API name:retriesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupReadExceptionDeserializer(DelegatingDeserializer<ReadException.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forReadException
-
-
Constructor Details
-
ReadException
-
ReadException
-
-
Method Details
-
exception
Required - API name:exception -
fromSeqNo
public int fromSeqNo()Required - API name:from_seq_no -
retries
public int retries()Required - API name:retries -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupReadExceptionDeserializer
protected static void setupReadExceptionDeserializer(DelegatingDeserializer<ReadException.Builder> op)
-