Package com.exasol.adapter.dialects
Enum IdentifierCaseHandling
- java.lang.Object
-
- java.lang.Enum<IdentifierCaseHandling>
-
- com.exasol.adapter.dialects.IdentifierCaseHandling
-
- All Implemented Interfaces:
Serializable,Comparable<IdentifierCaseHandling>
public enum IdentifierCaseHandling extends Enum<IdentifierCaseHandling>
This enumeration represents how unquoted or quoted identifiers in queries or DDLs are handled.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTERPRET_AS_LOWEREverything is interpreted as lower-caseINTERPRET_AS_UPPEREverything is interpreted as upper-caseINTERPRET_CASE_SENSITIVECasing is preserved
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IdentifierCaseHandlingvalueOf(String name)Returns the enum constant of this type with the specified name.static IdentifierCaseHandling[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTERPRET_AS_LOWER
public static final IdentifierCaseHandling INTERPRET_AS_LOWER
Everything is interpreted as lower-case
-
INTERPRET_AS_UPPER
public static final IdentifierCaseHandling INTERPRET_AS_UPPER
Everything is interpreted as upper-case
-
INTERPRET_CASE_SENSITIVE
public static final IdentifierCaseHandling INTERPRET_CASE_SENSITIVE
Casing is preserved
-
-
Method Detail
-
values
public static IdentifierCaseHandling[] 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 (IdentifierCaseHandling c : IdentifierCaseHandling.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdentifierCaseHandling 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
-
-