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