Enum Class H2Updater.ImportOption

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

public static enum H2Updater.ImportOption extends Enum<H2Updater.ImportOption>
Since:
1.2.1 - 2023-11-16
Author:
hypfvieh
  • Enum Constant Details

    • QUIRKS_MODE

      public static final H2Updater.ImportOption 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

      public static final H2Updater.ImportOption 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

      public static final H2Updater.ImportOption FROM_1X
      Use this flag to populate a new database with the data exported from 1.*.* versions of H2.
  • Method Details

    • values

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