Package com.exasol.adapter.dialects
Enum SqlDialect.StructureElementSupport
- java.lang.Object
-
- java.lang.Enum<SqlDialect.StructureElementSupport>
-
- com.exasol.adapter.dialects.SqlDialect.StructureElementSupport
-
- All Implemented Interfaces:
Serializable,Comparable<SqlDialect.StructureElementSupport>
- Enclosing interface:
- SqlDialect
public static enum SqlDialect.StructureElementSupport extends Enum<SqlDialect.StructureElementSupport>
Multiplicity that the remote data source supports for a structural element like catalogs or a schemas.Dialects that support a single database should not use
AUTO_DETECTbecause this unnecessarily costs performance.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_DETECTDialect auto-detects support for this elementMULTIPLEDatabase truly supports this element with multiple possible entriesNONEDatabase does not support the structural elementSINGLEDatabase uses a single (pseudo) structural element
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlDialect.StructureElementSupportvalueOf(String name)Returns the enum constant of this type with the specified name.static SqlDialect.StructureElementSupport[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SqlDialect.StructureElementSupport NONE
Database does not support the structural element
-
SINGLE
public static final SqlDialect.StructureElementSupport SINGLE
Database uses a single (pseudo) structural element
-
MULTIPLE
public static final SqlDialect.StructureElementSupport MULTIPLE
Database truly supports this element with multiple possible entries
-
AUTO_DETECT
public static final SqlDialect.StructureElementSupport AUTO_DETECT
Dialect auto-detects support for this element
-
-
Method Detail
-
values
public static SqlDialect.StructureElementSupport[] 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 (SqlDialect.StructureElementSupport c : SqlDialect.StructureElementSupport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlDialect.StructureElementSupport 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
-
-