Package io.dingodb.common
Enum Class Common.Schema.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Common.Schema.Type>,Constable
- Enclosing class:
- Common.Schema
public static enum Common.Schema.Type
extends Enum<Common.Schema.Type>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
dingodb.pb.common.Schema.Type-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBOOL = 0;BOOLLIST = 6;DOUBLE = 4;DOUBLELIST = 10;FLOAT = 2;FLOATLIST = 8;INTEGER = 1;INTEGERLIST = 7;LONG = 3;LONGLIST = 9;STRING = 5;STRINGLIST = 11; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBOOL = 0;static final intBOOLLIST = 6;static final intDOUBLE = 4;static final intDOUBLELIST = 10;static final intFLOAT = 2;static final intFLOATLIST = 8;static final intINTEGER = 1;static final intINTEGERLIST = 7;static final intLONG = 3;static final intLONGLIST = 9;static final intSTRING = 5;static final intSTRINGLIST = 11; -
Method Summary
Modifier and TypeMethodDescriptionstatic Common.Schema.TypeforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Common.Schema.Type>static Common.Schema.TypevalueOf(int value) Deprecated.static Common.Schema.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Common.Schema.TypeReturns the enum constant of this class with the specified name.static Common.Schema.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOL
BOOL = 0; -
INTEGER
INTEGER = 1; -
FLOAT
FLOAT = 2; -
LONG
LONG = 3; -
DOUBLE
DOUBLE = 4; -
STRING
STRING = 5; -
BOOLLIST
BOOLLIST = 6; -
INTEGERLIST
INTEGERLIST = 7; -
FLOATLIST
FLOATLIST = 8; -
LONGLIST
LONGLIST = 9; -
DOUBLELIST
DOUBLELIST = 10; -
STRINGLIST
STRINGLIST = 11; -
UNRECOGNIZED
-
-
Field Details
-
BOOL_VALUE
public static final int BOOL_VALUEBOOL = 0;- See Also:
-
INTEGER_VALUE
public static final int INTEGER_VALUEINTEGER = 1;- See Also:
-
FLOAT_VALUE
public static final int FLOAT_VALUEFLOAT = 2;- See Also:
-
LONG_VALUE
public static final int LONG_VALUELONG = 3;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEDOUBLE = 4;- See Also:
-
STRING_VALUE
public static final int STRING_VALUESTRING = 5;- See Also:
-
BOOLLIST_VALUE
public static final int BOOLLIST_VALUEBOOLLIST = 6;- See Also:
-
INTEGERLIST_VALUE
public static final int INTEGERLIST_VALUEINTEGERLIST = 7;- See Also:
-
FLOATLIST_VALUE
public static final int FLOATLIST_VALUEFLOATLIST = 8;- See Also:
-
LONGLIST_VALUE
public static final int LONGLIST_VALUELONGLIST = 9;- See Also:
-
DOUBLELIST_VALUE
public static final int DOUBLELIST_VALUEDOUBLELIST = 10;- See Also:
-
STRINGLIST_VALUE
public static final int STRINGLIST_VALUESTRINGLIST = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-