Class BulkResponse

All Implemented Interfaces:

public class BulkResponse
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static BulkResponse of​(java.util.function.Function<BulkResponse.Builder,​ObjectBuilder<BulkResponse>> fn)
    • error

      @Nullable public final ErrorCause error()
      API name: error
    • errors

      public final boolean errors()
      Required - True if there is was an error

      API name: errors

    • ignored

      public final boolean ignored()
      Required - Was collection disabled?

      API name: ignored

    • took

      public final long took()
      Required - API name: took
    • serialize

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

      protected void serializeInternal​( generator, JsonpMapper mapper)
    • setupBulkResponseDeserializer

      protected static void setupBulkResponseDeserializer​(ObjectDeserializer<BulkResponse.Builder> op)