Package com.clickhouse.config
Enum ClickHouseRenameMethod
- All Implemented Interfaces:
Serializable,Comparable<ClickHouseRenameMethod>,java.lang.constant.Constable
Deprecated.
Methods for renaming.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.No OP.Deprecated.Removes prefix including the dot.Deprecated.Replaces whitespace and underscore to camel case.Deprecated.Removes prefix and replace whitespace and underscore to camel case.Deprecated.Replaces whitespace and camel case to underscore.Deprecated.Removes prefix and replace whitespace and camel case to underscore. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Rename the given name.static ClickHouseRenameMethodDeprecated.Returns the enum constant of this type with the specified name.static ClickHouseRenameMethod[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Deprecated.No OP. -
REMOVE_PREFIX
Deprecated.Removes prefix including the dot. So "d.t.col1" becomes "col1" and "col2" remains the same. -
TO_CAMELCASE
Deprecated.Replaces whitespace and underscore to camel case. So "a simple_column" becomes "aSimpleColumn" and "col_1 2" becomes "col12". -
TO_CAMELCASE_WITHOUT_PREFIX
Deprecated.Removes prefix and replace whitespace and underscore to camel case. -
TO_UNDERSCORE
Deprecated.Replaces whitespace and camel case to underscore. So "aSimpleColumn" becomes "a_simple_column" and "col12" becomes "col_12". -
TO_UNDERSCORE_WITHOUT_PREFIX
Deprecated.Removes prefix and replace whitespace and camel case to underscore.
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
rename
Deprecated.Rename the given name.- Parameters:
name- name to change- Returns:
- non-null new name
-