Class LayoutVersion.FeatureInfo

java.lang.Object
org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfo
Enclosing class:
LayoutVersion

public static class LayoutVersion.FeatureInfo extends Object
Feature information.
  • Constructor Details

  • Method Details

    • getLayoutVersion

      public int getLayoutVersion()
      Accessor method for feature layout version
      Returns:
      int lv value
    • getAncestorLayoutVersion

      public int getAncestorLayoutVersion()
      Accessor method for feature ancestor layout version
      Returns:
      int ancestor LV value
    • getMinimumCompatibleLayoutVersion

      public int getMinimumCompatibleLayoutVersion()
      Accessor method for feature minimum compatible layout version. If the feature does not define a minimum compatible layout version, then this method returns the feature's own layout version. This would indicate that the feature cannot provide compatibility with any prior layout version.
      Returns:
      int minimum compatible LV value
    • getDescription

      public String getDescription()
      Accessor method for feature description
      Returns:
      String feature description
    • isReservedForOldRelease

      public boolean isReservedForOldRelease()
    • getSpecialFeatures

      public LayoutVersion.LayoutFeature[] getSpecialFeatures()