Enum Class H2Updater.ExportOption

java.lang.Object
java.lang.Enum<H2Updater.ExportOption>
com.github.hypfvieh.db.H2Updater.ExportOption
All Implemented Interfaces:
Serializable, Comparable<H2Updater.ExportOption>, Constable
Enclosing class:
H2Updater

public static enum H2Updater.ExportOption extends Enum<H2Updater.ExportOption>
Options to configure export of original database.
Since:
1.2.1 - 2023-11-16
Author:
hypfvieh
  • Enum Constant Details

    • NODATA

      public static final H2Updater.ExportOption NODATA
      Do not create INSERT statements (only structure will be exported).
    • SIMPLE

      public static final H2Updater.ExportOption SIMPLE
      Do not use multi row INSERT statements.
    • COLUMNS

      public static final H2Updater.ExportOption COLUMNS
      Add explicit column names to every INSERT statement.
    • NOPASSWORDS

      public static final H2Updater.ExportOption NOPASSWORDS
      Do not export stored passwords.
    • NOSETTINGS

      public static final H2Updater.ExportOption NOSETTINGS
      Do not export database settings (SET xxx).
    • DROP

      public static final H2Updater.ExportOption DROP
      Create DROP statement for every table before default CREATE statement.
  • Method Details

    • values

      public static H2Updater.ExportOption[] 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

      public static H2Updater.ExportOption valueOf(String name)
      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 name
      NullPointerException - if the argument is null