Enum SqlJetPagerFlags
- java.lang.Object
-
- java.lang.Enum<SqlJetPagerFlags>
-
- 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 toISqlJetPager#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 Summary
Enum Constants Enum Constant Description NO_READLOCK
Omit readlocks on readonly filesOMIT_JOURNAL
Do not use a rollback journal
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-