Class ReadException

java.lang.Object
co.elastic.clients.elasticsearch.ccr.ReadException
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ReadException extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • exception

      public final ErrorCause 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

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupReadExceptionDeserializer

      protected static void setupReadExceptionDeserializer(ObjectDeserializer<ReadException.Builder> op)