public enum EncodeType extends Enum<EncodeType> implements com.google.protobuf.ProtocolMessageEnum
tipb.EncodeType
Enum Constant and Description |
---|
TypeCHBlock
TypeCHBlock is used by TiSpark and TiFlash, in this encode mode, TiFlash will encode the data using native ch block format
|
TypeChunk
TypeChunk = 1; |
TypeDefault
TypeDefault = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
TypeCHBlock_VALUE
TypeCHBlock is used by TiSpark and TiFlash, in this encode mode, TiFlash will encode the data using native ch block format
|
static int |
TypeChunk_VALUE
TypeChunk = 1; |
static int |
TypeDefault_VALUE
TypeDefault = 0; |
Modifier and Type | Method and Description |
---|---|
static EncodeType |
forNumber(int value) |
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<EncodeType> |
internalGetValueMap() |
static EncodeType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static EncodeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static EncodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodeType TypeDefault
TypeDefault = 0;
public static final EncodeType TypeChunk
TypeChunk = 1;
public static final EncodeType TypeCHBlock
TypeCHBlock is used by TiSpark and TiFlash, in this encode mode, TiFlash will encode the data using native ch block format
TypeCHBlock = 2;
public static final int TypeDefault_VALUE
TypeDefault = 0;
public static final int TypeChunk_VALUE
TypeChunk = 1;
public static final int TypeCHBlock_VALUE
TypeCHBlock is used by TiSpark and TiFlash, in this encode mode, TiFlash will encode the data using native ch block format
TypeCHBlock = 2;
public static EncodeType[] values()
for (EncodeType c : EncodeType.values()) System.out.println(c);
public static EncodeType 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
@Deprecated public static EncodeType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static EncodeType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<EncodeType> 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 EncodeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.