Package io.dingodb.meta
Enum Class Meta.ReservedTableIds
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Meta.ReservedTableIds>,Constable
- Enclosing class:
- Meta
public static enum Meta.ReservedTableIds
extends Enum<Meta.ReservedTableIds>
implements com.google.protobuf.ProtocolMessageEnum
The id of internal tables internal tables is create using dingoDB client, and can be deleted. If a dingodb need to use mysql protocol, it should create mysql internal tables first.Protobuf enum
dingodb.pb.meta.ReservedTableIds-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiondon't modify this valueMYSQL_DB = 102;MYSQL_GLOBAL_VARIABLE = 104;MYSQL_TABLES_PRIV = 103;mysql internal table use id from 100~200NONE = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intdon't modify this valuestatic final intMYSQL_DB = 102;static final intMYSQL_GLOBAL_VARIABLE = 104;static final intMYSQL_TABLES_PRIV = 103;static final intmysql internal table use id from 100~200static final intNONE = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Meta.ReservedTableIdsforNumber(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<Meta.ReservedTableIds>static Meta.ReservedTableIdsvalueOf(int value) Deprecated.static Meta.ReservedTableIdsvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Meta.ReservedTableIdsReturns the enum constant of this class with the specified name.static Meta.ReservedTableIds[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
NONE = 0; -
MYSQL_USER
mysql internal table use id from 100~200
MYSQL_USER = 101; -
MYSQL_DB
MYSQL_DB = 102; -
MYSQL_TABLES_PRIV
MYSQL_TABLES_PRIV = 103; -
MYSQL_GLOBAL_VARIABLE
MYSQL_GLOBAL_VARIABLE = 104; -
MAX_INTERNAL_TABLE
don't modify this value
MAX_INTERNAL_TABLE = 1000; -
UNRECOGNIZED
-
-
Field Details
-
NONE_VALUE
public static final int NONE_VALUENONE = 0;- See Also:
-
MYSQL_USER_VALUE
public static final int MYSQL_USER_VALUEmysql internal table use id from 100~200
MYSQL_USER = 101;- See Also:
-
MYSQL_DB_VALUE
public static final int MYSQL_DB_VALUEMYSQL_DB = 102;- See Also:
-
MYSQL_TABLES_PRIV_VALUE
public static final int MYSQL_TABLES_PRIV_VALUEMYSQL_TABLES_PRIV = 103;- See Also:
-
MYSQL_GLOBAL_VARIABLE_VALUE
public static final int MYSQL_GLOBAL_VARIABLE_VALUEMYSQL_GLOBAL_VARIABLE = 104;- See Also:
-
MAX_INTERNAL_TABLE_VALUE
public static final int MAX_INTERNAL_TABLE_VALUEdon't modify this value
MAX_INTERNAL_TABLE = 1000;- 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
public static Meta.ReservedTableIds valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) 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
-