Enum Class H2Updater.ImportOption
- All Implemented Interfaces:
Serializable, Comparable<H2Updater.ImportOption>, Constable
- Enclosing class:
H2Updater
- Since:
- 1.2.1 - 2023-11-16
- Author:
- hypfvieh
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse this flag to populate a new database with the data exported from 1.*.* versions of H2.Various compatibility quirks for scripts from older versions of H2.BINARY data type will be parsed as VARBINARY. -
Method Summary
Modifier and TypeMethodDescriptionstatic H2Updater.ImportOptionReturns the enum constant of this class with the specified name.static H2Updater.ImportOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUIRKS_MODE
Various compatibility quirks for scripts from older versions of H2. Use this option when importing scripts that were generated by H2 1.4.200 or older. -
VARIABLE_BINARY
BINARY data type will be parsed as VARBINARY. Use this when importing scripts that were generated by H2 1.4.200 or older. -
FROM_1X
Use this flag to populate a new database with the data exported from 1.*.* versions of H2.
-
-
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
-