|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SqlJetBtreeFlags>
org.tmatesoft.sqljet.core.internal.SqlJetBtreeFlags
public enum SqlJetBtreeFlags
The flags parameter to sqlite3BtreeOpen can be the bitwise or of the following values. NOTE: These values must match the corresponding PAGER_ values in pager.h.
| Enum Constant Summary | |
|---|---|
CREATE
Create the database if it does not exist |
|
MEMORY
In-memory DB. |
|
NO_READLOCK
Omit readlocks on readonly files |
|
OMIT_JOURNAL
Do not use journal. |
|
READONLY
Open the database in read-only mode |
|
READWRITE
Open for both reading and writing |
|
| Method Summary | |
|---|---|
SqlJetPagerFlags |
getPagerFlag()
|
static java.util.Set<SqlJetPagerFlags> |
toPagerFlags(java.util.Set<SqlJetBtreeFlags> btreeFlags)
|
static SqlJetBtreeFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SqlJetBtreeFlags[] |
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 |
|---|
public static final SqlJetBtreeFlags OMIT_JOURNAL
public static final SqlJetBtreeFlags NO_READLOCK
public static final SqlJetBtreeFlags MEMORY
public static final SqlJetBtreeFlags READONLY
public static final SqlJetBtreeFlags READWRITE
public static final SqlJetBtreeFlags CREATE
| Method Detail |
|---|
public static SqlJetBtreeFlags[] values()
for (SqlJetBtreeFlags c : SqlJetBtreeFlags.values()) System.out.println(c);
public static SqlJetBtreeFlags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic SqlJetPagerFlags getPagerFlag()
public static java.util.Set<SqlJetPagerFlags> toPagerFlags(java.util.Set<SqlJetBtreeFlags> btreeFlags)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||