Enum SpaceViolationPolicy

java.lang.Object
java.lang.Enum<SpaceViolationPolicy>
org.apache.hadoop.hbase.quotas.SpaceViolationPolicy
All Implemented Interfaces:
Serializable, Comparable<SpaceViolationPolicy>

@Public public enum SpaceViolationPolicy extends Enum<SpaceViolationPolicy>
Enumeration that represents the action HBase will take when a space quota is violated. The target for a violation policy is either an HBase table or namespace. In the case of a namespace, it is treated as a collection of tables (all tables are subject to the same policy).
  • Enum Constant Details

  • Constructor Details

  • Method Details

    • values

      public static SpaceViolationPolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SpaceViolationPolicy valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null