public static enum QuotaProtos.SpaceViolationPolicy extends Enum<QuotaProtos.SpaceViolationPolicy> implements com.google.protobuf.ProtocolMessageEnum
hbase.pb.SpaceViolationPolicy
Defines what action should be taken when the SpaceQuota is violated
Enum Constant and Description |
---|
DISABLE
DISABLE = 1; |
NO_INSERTS
NO_INSERTS = 4; |
NO_WRITES
NO_WRITES = 3; |
NO_WRITES_COMPACTIONS
NO_WRITES_COMPACTIONS = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
DISABLE_VALUE
DISABLE = 1; |
static int |
NO_INSERTS_VALUE
NO_INSERTS = 4; |
static int |
NO_WRITES_COMPACTIONS_VALUE
NO_WRITES_COMPACTIONS = 2; |
static int |
NO_WRITES_VALUE
NO_WRITES = 3; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<QuotaProtos.SpaceViolationPolicy> |
internalGetValueMap() |
static QuotaProtos.SpaceViolationPolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaProtos.SpaceViolationPolicy |
valueOf(int value) |
static QuotaProtos.SpaceViolationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotaProtos.SpaceViolationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuotaProtos.SpaceViolationPolicy DISABLE
DISABLE = 1;
Disable the table(s)
public static final QuotaProtos.SpaceViolationPolicy NO_WRITES_COMPACTIONS
NO_WRITES_COMPACTIONS = 2;
No writes, bulk-loads, or compactions
public static final QuotaProtos.SpaceViolationPolicy NO_WRITES
NO_WRITES = 3;
No writes or bulk-loads
public static final QuotaProtos.SpaceViolationPolicy NO_INSERTS
NO_INSERTS = 4;
No puts or bulk-loads, but deletes are allowed
public static final int DISABLE_VALUE
DISABLE = 1;
Disable the table(s)
public static final int NO_WRITES_COMPACTIONS_VALUE
NO_WRITES_COMPACTIONS = 2;
No writes, bulk-loads, or compactions
public static final int NO_WRITES_VALUE
NO_WRITES = 3;
No writes or bulk-loads
public static final int NO_INSERTS_VALUE
NO_INSERTS = 4;
No puts or bulk-loads, but deletes are allowed
public static QuotaProtos.SpaceViolationPolicy[] values()
for (QuotaProtos.SpaceViolationPolicy c : QuotaProtos.SpaceViolationPolicy.values()) System.out.println(c);
public static QuotaProtos.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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static QuotaProtos.SpaceViolationPolicy valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<QuotaProtos.SpaceViolationPolicy> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static QuotaProtos.SpaceViolationPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019 Cloudera. All rights reserved.