@InterfaceAudience.Public public enum SpaceViolationPolicy extends Enum<SpaceViolationPolicy>
| Enum Constant and Description |
|---|
DISABLE
Disables the table(s).
|
NO_INSERTS
Disallows any updates (but allows deletes and compactions) on the table(s).
|
NO_WRITES
Disallows any mutations (but allows compactions) on the table(s).
|
NO_WRITES_COMPACTIONS
Disallows any mutations or compactions on the table(s).
|
| Modifier and Type | Method and Description |
|---|---|
static SpaceViolationPolicy |
valueOf(String name)
Returns 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.
|
public static final SpaceViolationPolicy DISABLE
public static final SpaceViolationPolicy NO_WRITES_COMPACTIONS
public static final SpaceViolationPolicy NO_WRITES
public static final SpaceViolationPolicy NO_INSERTS
public static SpaceViolationPolicy[] values()
for (SpaceViolationPolicy c : SpaceViolationPolicy.values()) System.out.println(c);
public static SpaceViolationPolicy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.