Enum Class DialectContract
- All Implemented Interfaces:
Serializable, Comparable<DialectContract>, Constable
@Incubating(since="8.0",
group="dialect-testkit")
@SPI(USE)
public enum DialectContract
extends Enum<DialectContract>
A database-free behavior exercised by the Dialect contract test kit.
Required contracts must be applicable to every profile. Optional contracts
may be marked inapplicable by DialectContractProfile.applicability(DialectContract).
- Since:
- 8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether every profile must exercise this contract.static DialectContractReturns the enum constant of this class with the specified name.static DialectContract[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOTSTRAP
-
BASIC_QUERY_TRANSLATION
-
IDENTIFIER_AND_LITERAL_RENDERING
-
PARAMETER_MARKER_ORDER
-
TABLELESS_AND_SYNTHETIC_ROOTS
-
FETCH_AND_PAGINATION
-
LOCKING
-
SCHEMA_DDL
-
TEMPORARY_TABLES
-
MULTI_TABLE_MUTATION
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
isRequired
public boolean isRequired()Whether every profile must exercise this contract.
-