Class MergesStats

java.lang.Object
org.opensearch.client.opensearch._types.MergesStats
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<MergesStats.Builder,MergesStats>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class MergesStats extends Object implements PlainJsonSerializable, ToCopyableBuilder<MergesStats.Builder,MergesStats>
The statistics about merge operations.
  • Field Details

  • Method Details

    • of

    • current

      public final long current()
      Required - The number of current merge operations.

      API name: current

    • currentDocs

      public final long currentDocs()
      Required - The number of documents in current merge operations.

      API name: current_docs

    • currentSize

      @Nullable public final String currentSize()
      The size of current merge operations in a human-readable format.

      API name: current_size

    • currentSizeInBytes

      public final long currentSizeInBytes()
      Required - The size of current merge operations in bytes.

      API name: current_size_in_bytes

    • total

      public final long total()
      Required - The total number of merge operations.

      API name: total

    • totalAutoThrottle

      @Nullable public final String totalAutoThrottle()
      The total auto-throttle size in a human-readable format.

      API name: total_auto_throttle

    • totalAutoThrottleInBytes

      public final long totalAutoThrottleInBytes()
      Required - The total auto-throttle size in bytes.

      API name: total_auto_throttle_in_bytes

    • totalDocs

      public final long totalDocs()
      Required - The total number of documents that have been merged.

      API name: total_docs

    • totalSize

      @Nullable public final String totalSize()
      The total size of merge operations in a human-readable format.

      API name: total_size

    • totalSizeInBytes

      public final long totalSizeInBytes()
      Required - The total size of merge operations in bytes.

      API name: total_size_in_bytes

    • totalStoppedTime

      @Nullable public final Time totalStoppedTime()
      The total amount of time merge operations have been stopped.

      API name: total_stopped_time

    • totalStoppedTimeInMillis

      public final long totalStoppedTimeInMillis()
      Required - The total amount of time merge operations have been stopped in milliseconds.

      API name: total_stopped_time_in_millis

    • totalThrottledTime

      @Nullable public final Time totalThrottledTime()
      The total amount of time merge operations have been throttled.

      API name: total_throttled_time

    • totalThrottledTimeInMillis

      public final long totalThrottledTimeInMillis()
      Required - The total amount of time merge operations have been throttled in milliseconds.

      API name: total_throttled_time_in_millis

    • totalTime

      @Nullable public final Time totalTime()
      The total amount of time spent on merge operations.

      API name: total_time

    • totalTimeInMillis

      public final long totalTimeInMillis()
      Required - The total amount of time spent on merge operations in milliseconds.

      API name: total_time_in_millis

    • unreferencedFileCleanupsPerformed

      @Nullable public final Long unreferencedFileCleanupsPerformed()
      The number of unreferenced file cleanups performed.

      API name: unreferenced_file_cleanups_performed

    • 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)
    • toBuilder

      @Nonnull public MergesStats.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<MergesStats.Builder,MergesStats>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static MergesStats.Builder builder()
    • setupMergesStatsDeserializer

      protected static void setupMergesStatsDeserializer(ObjectDeserializer<MergesStats.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object