Enum SqlJetPagerFlags

java.lang.Object
java.lang.Enum<SqlJetPagerFlags>
org.tmatesoft.sqljet.core.internal.SqlJetPagerFlags
All Implemented Interfaces:
Serializable, Comparable<SqlJetPagerFlags>, java.lang.constant.Constable

public enum SqlJetPagerFlags extends Enum<SqlJetPagerFlags>
Allowed values for the flags parameter to
invalid reference
ISqlJetPager#open()
. NOTE: This values must match the corresponding BTREE_ values in btree.h.
Author:
TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
  • Enum Constant Details

    • OMIT_JOURNAL

      public static final SqlJetPagerFlags OMIT_JOURNAL
      Do not use a rollback journal
    • NO_READLOCK

      public static final SqlJetPagerFlags NO_READLOCK
      Omit readlocks on readonly files
  • Method Details

    • values

      public static SqlJetPagerFlags[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SqlJetPagerFlags valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null