Class IndexDetails

All Implemented Interfaces:

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

  • Method Details

    • of

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

      public final int shardCount()
      Required - API name: shard_count
    • size

      @Nullable public final java.lang.String size()
      API name: size
    • sizeInBytes

      public final long sizeInBytes()
      Required - API name: size_in_bytes
    • maxSegmentsPerShard

      public final long maxSegmentsPerShard()
      Required - API name: max_segments_per_shard
    • 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)
    • setupIndexDetailsDeserializer

      protected static void setupIndexDetailsDeserializer​(ObjectDeserializer<IndexDetails.Builder> op)