public static enum Type.IndexType extends Enum<Type.IndexType> implements com.google.protobuf.ProtocolMessageEnum
openmldb.type.IndexType| Enum Constant and Description |
|---|
kAutoGen
auto gen primary key
|
kIncrement
auto gen increment id primary key
|
kNoUnique
kNoUnique = 2; |
kPrimaryKey
kPrimaryKey = 3; |
kTimeSerise
kTimeSerise = 6; |
kUnique
uinque index
|
| Modifier and Type | Field and Description |
|---|---|
static int |
kAutoGen_VALUE
auto gen primary key
|
static int |
kIncrement_VALUE
auto gen increment id primary key
|
static int |
kNoUnique_VALUE
kNoUnique = 2; |
static int |
kPrimaryKey_VALUE
kPrimaryKey = 3; |
static int |
kTimeSerise_VALUE
kTimeSerise = 6; |
static int |
kUnique_VALUE
uinque index
|
| Modifier and Type | Method and Description |
|---|---|
static Type.IndexType |
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.IndexType> |
internalGetValueMap() |
static Type.IndexType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Type.IndexType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Type.IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type.IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.IndexType kUnique
uinque index
kUnique = 1;public static final Type.IndexType kNoUnique
kNoUnique = 2;public static final Type.IndexType kPrimaryKey
kPrimaryKey = 3;public static final Type.IndexType kAutoGen
auto gen primary key
kAutoGen = 4;public static final Type.IndexType kIncrement
auto gen increment id primary key
kIncrement = 5;public static final Type.IndexType kTimeSerise
kTimeSerise = 6;public static final int kUnique_VALUE
uinque index
kUnique = 1;public static final int kNoUnique_VALUE
kNoUnique = 2;public static final int kPrimaryKey_VALUE
kPrimaryKey = 3;public static final int kAutoGen_VALUE
auto gen primary key
kAutoGen = 4;public static final int kIncrement_VALUE
auto gen increment id primary key
kIncrement = 5;public static final int kTimeSerise_VALUE
kTimeSerise = 6;public static Type.IndexType[] values()
for (Type.IndexType c : Type.IndexType.values()) System.out.println(c);
public static Type.IndexType 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.IndexType valueOf(int value)
forNumber(int) instead.public static Type.IndexType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Type.IndexType> 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.IndexType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.