Package com.exasol.adapter.document.edml
Enum ColumnNameMapping
- java.lang.Object
-
- java.lang.Enum<ColumnNameMapping>
-
- com.exasol.adapter.document.edml.ColumnNameMapping
-
- All Implemented Interfaces:
Serializable,Comparable<ColumnNameMapping>
public enum ColumnNameMapping extends Enum<ColumnNameMapping>
Defines how Exasol column names are inferred from the source.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONVERT_TO_UPPER_SNAKE_CASEConvert column names toUPPER_SNAKE_CASE(default).KEEP_ORIGINAL_NAMEDo not convert column names, use column name from source.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColumnNameMappingvalueOf(String name)Returns the enum constant of this type with the specified name.static ColumnNameMapping[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONVERT_TO_UPPER_SNAKE_CASE
public static final ColumnNameMapping CONVERT_TO_UPPER_SNAKE_CASE
Convert column names toUPPER_SNAKE_CASE(default).
-
KEEP_ORIGINAL_NAME
public static final ColumnNameMapping KEEP_ORIGINAL_NAME
Do not convert column names, use column name from source.
-
-
Method Detail
-
values
public static ColumnNameMapping[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ColumnNameMapping c : ColumnNameMapping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColumnNameMapping valueOf(String name)
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
-
-