Class IndexingStats

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

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

  • Method Details

    • of

    • deleteCurrent

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

      API name: delete_current

    • deleteTime

      @Nullable public final Time deleteTime()
      API name: delete_time
    • deleteTimeInMillis

      public final long deleteTimeInMillis()
      Required - API name: delete_time_in_millis
    • deleteTotal

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

      API name: delete_total

    • docStatus

      @Nullable public final DocStatus docStatus()
      API name: doc_status
    • indexCurrent

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

      API name: index_current

    • indexFailed

      public final long indexFailed()
      Required - The number of failed indexing operations.

      API name: index_failed

    • indexTime

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

      API name: index_time

    • indexTimeInMillis

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

      API name: index_time_in_millis

    • indexTotal

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

      API name: index_total

    • isThrottled

      public final boolean isThrottled()
      Required - Whether indexing is currently throttled.

      API name: is_throttled

    • noopUpdateTotal

      public final long noopUpdateTotal()
      Required - The total number of noop update operations.

      API name: noop_update_total

    • throttleTime

      @Nullable public final Time throttleTime()
      The total amount of time spent throttling indexing operations.

      API name: throttle_time

    • throttleTimeInMillis

      public final long throttleTimeInMillis()
      Required - The total amount of time spent throttling indexing operations in milliseconds.

      API name: throttle_time_in_millis

    • 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 IndexingStats.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<IndexingStats.Builder,IndexingStats>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static IndexingStats.Builder builder()
    • setupIndexingStatsDeserializer

      protected static void setupIndexingStatsDeserializer(ObjectDeserializer<IndexingStats.Builder> op)
    • hashCode

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

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