public static enum Type.DataType extends Enum<Type.DataType> implements com.google.protobuf.ProtocolMessageEnum
openmldb.type.DataType| Enum Constant and Description |
|---|
kBigInt
kBigInt = 4; |
kBool
kBool = 1; |
kDate
kDate = 7; |
kDouble
kDouble = 6; |
kFloat
kFloat = 5; |
kInt
kInt = 3; |
kSmallInt
kSmallInt = 2; |
kString
kString = 14; |
kTimestamp
kTimestamp = 8; |
kVarchar
reserve 9, 10, 11, 12
|
| Modifier and Type | Field and Description |
|---|---|
static int |
kBigInt_VALUE
kBigInt = 4; |
static int |
kBool_VALUE
kBool = 1; |
static int |
kDate_VALUE
kDate = 7; |
static int |
kDouble_VALUE
kDouble = 6; |
static int |
kFloat_VALUE
kFloat = 5; |
static int |
kInt_VALUE
kInt = 3; |
static int |
kSmallInt_VALUE
kSmallInt = 2; |
static int |
kString_VALUE
kString = 14; |
static int |
kTimestamp_VALUE
kTimestamp = 8; |
static int |
kVarchar_VALUE
reserve 9, 10, 11, 12
|
| Modifier and Type | Method and Description |
|---|---|
static Type.DataType |
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<Type.DataType> |
internalGetValueMap() |
static Type.DataType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Type.DataType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Type.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.DataType kBool
kBool = 1;public static final Type.DataType kSmallInt
kSmallInt = 2;public static final Type.DataType kInt
kInt = 3;public static final Type.DataType kBigInt
kBigInt = 4;public static final Type.DataType kFloat
kFloat = 5;public static final Type.DataType kDouble
kDouble = 6;public static final Type.DataType kDate
kDate = 7;public static final Type.DataType kTimestamp
kTimestamp = 8;public static final Type.DataType kVarchar
reserve 9, 10, 11, 12
kVarchar = 13;public static final Type.DataType kString
kString = 14;public static final int kBool_VALUE
kBool = 1;public static final int kSmallInt_VALUE
kSmallInt = 2;public static final int kInt_VALUE
kInt = 3;public static final int kBigInt_VALUE
kBigInt = 4;public static final int kFloat_VALUE
kFloat = 5;public static final int kDouble_VALUE
kDouble = 6;public static final int kDate_VALUE
kDate = 7;public static final int kTimestamp_VALUE
kTimestamp = 8;public static final int kVarchar_VALUE
reserve 9, 10, 11, 12
kVarchar = 13;public static final int kString_VALUE
kString = 14;public static Type.DataType[] values()
for (Type.DataType c : Type.DataType.values()) System.out.println(c);
public static Type.DataType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Type.DataType valueOf(int value)
forNumber(int) instead.public static Type.DataType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Type.DataType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Type.DataType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.