Class GetStats

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

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

  • Method Details

    • of

    • current

      public final long current()
      Required - API name: current
    • existsTime

      @Nullable public final Time existsTime()
      API name: exists_time
    • existsTimeInMillis

      public final long existsTimeInMillis()
      Required - API name: exists_time_in_millis
    • existsTotal

      public final long existsTotal()
      Required - API name: exists_total
    • missingTime

      @Nullable public final Time missingTime()
      API name: missing_time
    • missingTimeInMillis

      public final long missingTimeInMillis()
      Required - API name: missing_time_in_millis
    • missingTotal

      public final long missingTotal()
      Required - API name: missing_total
    • time

      @Nullable public final Time time()
      API name: time
    • timeInMillis

      public final long timeInMillis()
      Required - API name: time_in_millis
    • total

      public final long total()
      Required - API name: total
    • 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
    • setupGetStatsDeserializer

      protected static void setupGetStatsDeserializer(ObjectDeserializer<GetStats.Builder> op)