Package gudusoft.gsqlparser.sqlenv
Enum IdentifierProfile.ObjectGroup
- All Implemented Interfaces:
Serializable,Comparable<IdentifierProfile.ObjectGroup>,java.lang.constant.Constable
- Enclosing class:
- IdentifierProfile
对象组(用于区分不同对象类型的标识符规则)
某些数据库对不同对象类型使用不同的大小写规则:
- BigQuery: 表名敏感,列名不敏感
- MySQL: 表名根据 lower_case_table_names,列名始终不敏感
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription列组(column)名称组(catalog, schema, table, view, procedure, trigger)函数组(function) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static IdentifierProfile.ObjectGroup[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NAME_GROUP
名称组(catalog, schema, table, view, procedure, trigger) -
COLUMN_GROUP
列组(column) -
ROUTINE_GROUP
函数组(function)某些数据库函数名规则与表名不同
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-