org.tmatesoft.sqljet.core.internal
Enum SqlJetPagerFlags

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

public enum SqlJetPagerFlags
extends java.lang.Enum<SqlJetPagerFlags>

Allowed values for the flags parameter to ISqlJetPager#open(). NOTE: This values must match the corresponding BTREE_ values in btree.h.


Enum Constant Summary
NO_READLOCK
          Omit readlocks on readonly files
OMIT_JOURNAL
          Do not use a rollback journal
 
Method Summary
static SqlJetPagerFlags valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SqlJetPagerFlags[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static SqlJetPagerFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SqlJetPagerFlags c : SqlJetPagerFlags.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SqlJetPagerFlags valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null