Package org.apache.hadoop.hbase.quotas
Enum SpaceViolationPolicy
- All Implemented Interfaces:
- Serializable,- Comparable<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 SummaryEnum ConstantsEnum ConstantDescriptionDisables the table(s).Disallows any updates (but allows deletes and compactions) on the table(s).Disallows any mutations (but allows compactions) on the table(s).Disallows any mutations or compactions on the table(s).
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SpaceViolationPolicyReturns the enum constant of this type with the specified name.static SpaceViolationPolicy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
DISABLEDisables the table(s).
- 
NO_WRITES_COMPACTIONSDisallows any mutations or compactions on the table(s).
- 
NO_WRITESDisallows any mutations (but allows compactions) on the table(s).
- 
NO_INSERTSDisallows any updates (but allows deletes and compactions) on the table(s).
 
- 
- 
Constructor Details- 
SpaceViolationPolicyprivate SpaceViolationPolicy()
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-