Package io.dingodb.meta
Enum Class Meta.ReservedSchemaIds
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Meta.ReservedSchemaIds>,Constable
- Enclosing class:
- Meta
public static enum Meta.ReservedSchemaIds
extends Enum<Meta.ReservedSchemaIds>
implements com.google.protobuf.ProtocolMessageEnum
The id of internal schemas internal schema is prebuilt in dingoDB, and can't be created or deleted.Protobuf enum
dingodb.pb.meta.ReservedSchemaIds-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDINGO_SCHEMA = 2;INFORMATION_SCHEMA = 4;don't modify this valueMETA_SCHEMA = 1;MYSQL_SCHEMA = 3;ROOT_SCHEMA = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDINGO_SCHEMA = 2;static final intINFORMATION_SCHEMA = 4;static final intdon't modify this valuestatic final intMETA_SCHEMA = 1;static final intMYSQL_SCHEMA = 3;static final intROOT_SCHEMA = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic Meta.ReservedSchemaIdsforNumber(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.ReservedSchemaIds>static Meta.ReservedSchemaIdsvalueOf(int value) Deprecated.static Meta.ReservedSchemaIdsvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Meta.ReservedSchemaIdsReturns the enum constant of this class with the specified name.static Meta.ReservedSchemaIds[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ROOT_SCHEMA
ROOT_SCHEMA = 0; -
META_SCHEMA
META_SCHEMA = 1; -
DINGO_SCHEMA
DINGO_SCHEMA = 2; -
MYSQL_SCHEMA
MYSQL_SCHEMA = 3; -
INFORMATION_SCHEMA
INFORMATION_SCHEMA = 4; -
MAX_INTERNAL_SCHEMA
don't modify this value
MAX_INTERNAL_SCHEMA = 1000; -
UNRECOGNIZED
-
-
Field Details
-
ROOT_SCHEMA_VALUE
public static final int ROOT_SCHEMA_VALUEROOT_SCHEMA = 0;- See Also:
-
META_SCHEMA_VALUE
public static final int META_SCHEMA_VALUEMETA_SCHEMA = 1;- See Also:
-
DINGO_SCHEMA_VALUE
public static final int DINGO_SCHEMA_VALUEDINGO_SCHEMA = 2;- See Also:
-
MYSQL_SCHEMA_VALUE
public static final int MYSQL_SCHEMA_VALUEMYSQL_SCHEMA = 3;- See Also:
-
INFORMATION_SCHEMA_VALUE
public static final int INFORMATION_SCHEMA_VALUEINFORMATION_SCHEMA = 4;- See Also:
-
MAX_INTERNAL_SCHEMA_VALUE
public static final int MAX_INTERNAL_SCHEMA_VALUEdon't modify this value
MAX_INTERNAL_SCHEMA = 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
public static com.google.protobuf.Internal.EnumLiteMap<Meta.ReservedSchemaIds> 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.ReservedSchemaIds 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
-