Enum Class DocWriteResponse.Result

<DocWriteResponse.Result>
org.elasticsearch.action.DocWriteResponse.Result
All Implemented Interfaces:
, <, Writeable
Enclosing class:
DocWriteResponse

public static enum DocWriteResponse.Result extends <DocWriteResponse.Result> implements Writeable
An enum that represents the results of CRUD operations, primarily used to communicate the type of operation that occurred.
  • Enum Constant Details

  • Method Details

    • values

      public static DocWriteResponse.Result[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static  name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      - if this enum class has no constant with the specified name
      - if the argument is null
    • getOp

      public byte getOp()
    • getLowercase

      public  getLowercase()
    • readFrom

      public static DocWriteResponse.Result readFrom(StreamInput in) throws
      Throws:
    • writeTo

      public void writeTo(StreamOutput out) throws
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws: