Class IndexFeatureStats

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

public final class IndexFeatureStats
extends java.lang.Object
implements ToXContent, Writeable
Statistics about an index feature.
  • Method Details

    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Throws:
      java.io.IOException
    • getName

      public java.lang.String getName()
      Return the name of the field type.
    • getCount

      public int getCount()
      Return the number of times this feature is used across the cluster.
    • getIndexCount

      public int getIndexCount()
      Return the number of indices that use this feature across the cluster.
    • equals

      public boolean equals​(java.lang.Object other)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toXContent

      public XContentBuilder toXContent​(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface ToXContent
      Throws:
      java.io.IOException