public static enum QuotaProtos.SpaceViolationPolicy extends Enum<QuotaProtos.SpaceViolationPolicy> implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum
Defines what action should be taken when the SpaceQuota is violatedProtobuf enum
hbase.pb.SpaceViolationPolicy| Enum Constant and Description |
|---|
DISABLE
Disable the table(s)
|
NO_INSERTS
No puts or bulk-loads, but deletes are allowed
|
NO_WRITES
No writes or bulk-loads
|
NO_WRITES_COMPACTIONS
No writes, bulk-loads, or compactions
|
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLE_VALUE
Disable the table(s)
|
static int |
NO_INSERTS_VALUE
No puts or bulk-loads, but deletes are allowed
|
static int |
NO_WRITES_COMPACTIONS_VALUE
No writes, bulk-loads, or compactions
|
static int |
NO_WRITES_VALUE
No writes or bulk-loads
|
| Modifier and Type | Method and Description |
|---|---|
static QuotaProtos.SpaceViolationPolicy |
forNumber(int value) |
static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<QuotaProtos.SpaceViolationPolicy> |
internalGetValueMap() |
static QuotaProtos.SpaceViolationPolicy |
valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaProtos.SpaceViolationPolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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 the table(s)
DISABLE = 1;public static final QuotaProtos.SpaceViolationPolicy NO_WRITES_COMPACTIONS
No writes, bulk-loads, or compactions
NO_WRITES_COMPACTIONS = 2;public static final QuotaProtos.SpaceViolationPolicy NO_WRITES
No writes or bulk-loads
NO_WRITES = 3;public static final QuotaProtos.SpaceViolationPolicy NO_INSERTS
No puts or bulk-loads, but deletes are allowed
NO_INSERTS = 4;public static final int DISABLE_VALUE
Disable the table(s)
DISABLE = 1;public static final int NO_WRITES_COMPACTIONS_VALUE
No writes, bulk-loads, or compactions
NO_WRITES_COMPACTIONS = 2;public static final int NO_WRITES_VALUE
No writes or bulk-loads
NO_WRITES = 3;public static final int NO_INSERTS_VALUE
No puts or bulk-loads, but deletes are allowed
NO_INSERTS = 4;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 org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum@Deprecated public static QuotaProtos.SpaceViolationPolicy valueOf(int value)
forNumber(int) instead.public static QuotaProtos.SpaceViolationPolicy forNumber(int value)
public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<QuotaProtos.SpaceViolationPolicy> internalGetValueMap()
public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static QuotaProtos.SpaceViolationPolicy valueOf(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019 Cloudera. All rights reserved.