Class VersionStats

java.lang.Object
org.elasticsearch.action.admin.cluster.stats.VersionStats
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentFragment

public final class VersionStats extends Object implements org.elasticsearch.xcontent.ToXContentFragment, Writeable
VersionStats calculates statistics for index creation versions mapped to the number of indices, primary shards, and size of primary shards on disk. This is used from ClusterStatsIndices and exposed as part of the "/_cluster/stats" API.
  • Nested Class Summary

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

    org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.Params

    Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable

    Writeable.Reader<V>, Writeable.Writer<V>
  • Field Summary

    Fields inherited from interface org.elasticsearch.xcontent.ToXContent

    EMPTY_PARAMS
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    of(Metadata metadata, List<ClusterStatsNodeResponse> nodeResponses)
     
     
    org.elasticsearch.xcontent.XContentBuilder
    toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
     
    Set<org.elasticsearch.action.admin.cluster.stats.VersionStats.SingleVersionStats>
     
    void
    Write this into the StreamOutput.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment

    isFragment