Class ReadException
java.lang.Object
co.elastic.clients.elasticsearch.ccr.ReadException
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ReadException extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
Method Summary
Modifier and Type Method Description ErrorCauseexception()Required - API name:exceptionlongfromSeqNo()Required - API name:from_seq_nostatic ReadExceptionof(java.util.function.Function<ReadException.Builder,ObjectBuilder<ReadException>> fn)intretries()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(ObjectDeserializer<ReadException.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forReadException
-
-
Method Details
-
of
public static ReadException of(java.util.function.Function<ReadException.Builder,ObjectBuilder<ReadException>> fn) -
exception
Required - API name:exception -
fromSeqNo
public final long fromSeqNo()Required - API name:from_seq_no -
retries
public final int retries()Required - API name:retries -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupReadExceptionDeserializer
-