Class SnapshotIndexStatus

org.elasticsearch.action.admin.cluster.snapshots.status.SnapshotIndexStatus
All Implemented Interfaces:
<SnapshotIndexShardStatus>, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class SnapshotIndexStatus extends implements <SnapshotIndexShardStatus>, org.elasticsearch.common.xcontent.ToXContentFragment
Represents snapshot status of all shards in the index
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent

    org.elasticsearch.common.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.common.xcontent.ToXContent.MapParams, org.elasticsearch.common.xcontent.ToXContent.Params
  • Field Summary

    Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent

    EMPTY_PARAMS
  • Constructor Summary

    Constructors
    Constructor
    Description
     index, <,​SnapshotIndexShardStatus> indexShards, SnapshotShardsStats shardsStats, SnapshotStats stats)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     o)
     
    fromXContent​(org.elasticsearch.common.xcontent.XContentParser parser)
     
    Returns the index name
    A shard id to index snapshot shard status map
    Shards stats
    Returns snapshot stats
    int
     
     
    org.elasticsearch.common.xcontent.XContentBuilder
    toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)
     

    Methods inherited from class java.lang.

    , , , , , , , ,

    Methods inherited from interface java.lang.

    ,

    Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment

    isFragment
  • Constructor Details

  • Method Details

    • getIndex

      public  getIndex()
      Returns the index name
    • getShards

      public <,​SnapshotIndexShardStatus> getShards()
      A shard id to index snapshot shard status map
    • getShardsStats

      public SnapshotShardsStats getShardsStats()
      Shards stats
    • getStats

      public SnapshotStats getStats()
      Returns snapshot stats
    • iterator

      public <SnapshotIndexShardStatus> iterator()
      Specified by:
       in interface <SnapshotIndexShardStatus>
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
    • fromXContent

      public static SnapshotIndexStatus fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws
      Throws:
    • equals

      public boolean equals( o)
      Overrides:
       in class 
    • hashCode

      public int hashCode()
      Overrides:
       in class