Enum Class H2Updater.ExportOption
- All Implemented Interfaces:
Serializable, Comparable<H2Updater.ExportOption>, Constable
- Enclosing class:
H2Updater
Options to configure export of original database.
- 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 ConstantDescriptionAdd explicit column names to every INSERT statement.Create DROP statement for every table before default CREATE statement.Do not create INSERT statements (only structure will be exported).Do not export stored passwords.Do not export database settings (SET xxx).Do not use multi row INSERT statements. -
Method Summary
Modifier and TypeMethodDescriptionstatic H2Updater.ExportOptionReturns the enum constant of this class with the specified name.static H2Updater.ExportOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NODATA
Do not create INSERT statements (only structure will be exported). -
SIMPLE
Do not use multi row INSERT statements. -
COLUMNS
Add explicit column names to every INSERT statement. -
NOPASSWORDS
Do not export stored passwords. -
NOSETTINGS
Do not export database settings (SET xxx). -
DROP
Create DROP statement for every table before default CREATE statement.
-
-
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
-