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| 枚举常量和说明 |
|---|
DISABLE
Disable the table(s)
DISABLE = 1; |
NO_INSERTS
No puts or bulk-loads, but deletes are allowed
NO_INSERTS = 4; |
NO_WRITES
No writes or bulk-loads
NO_WRITES = 3; |
NO_WRITES_COMPACTIONS
No writes, bulk-loads, or compactions
NO_WRITES_COMPACTIONS = 2; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DISABLE_VALUE
Disable the table(s)
DISABLE = 1; |
static int |
NO_INSERTS_VALUE
No puts or bulk-loads, but deletes are allowed
NO_INSERTS = 4; |
static int |
NO_WRITES_COMPACTIONS_VALUE
No writes, bulk-loads, or compactions
NO_WRITES_COMPACTIONS = 2; |
static int |
NO_WRITES_VALUE
No writes or bulk-loads
NO_WRITES = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
已过时。
Use
forNumber(int) instead. |
static QuotaProtos.SpaceViolationPolicy |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static QuotaProtos.SpaceViolationPolicy[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLitegetNumber 在接口中 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 在接口中 org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnumpublic final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 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. All rights reserved.