Class BulkStats

java.lang.Object
co.elastic.clients.elasticsearch._types.BulkStats
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • totalOperations

      public final long totalOperations()
      Required - API name: total_operations
    • totalTime

      @Nullable public final Time totalTime()
      API name: total_time
    • totalTimeInMillis

      public final long totalTimeInMillis()
      Required - API name: total_time_in_millis
    • totalSize

      @Nullable public final String totalSize()
      API name: total_size
    • totalSizeInBytes

      public final long totalSizeInBytes()
      Required - API name: total_size_in_bytes
    • avgTime

      @Nullable public final Time avgTime()
      API name: avg_time
    • avgTimeInMillis

      public final long avgTimeInMillis()
      Required - API name: avg_time_in_millis
    • avgSize

      @Nullable public final String avgSize()
      API name: avg_size
    • avgSizeInBytes

      public final long avgSizeInBytes()
      Required - API name: avg_size_in_bytes
    • 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
    • setupBulkStatsDeserializer

      protected static void setupBulkStatsDeserializer(ObjectDeserializer<BulkStats.Builder> op)