public enum SqlJetBtreeFlags extends java.lang.Enum<SqlJetBtreeFlags>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 namejava.lang.NullPointerException
- if the argument is nullpublic SqlJetPagerFlags getPagerFlag()
public static java.util.Set<SqlJetPagerFlags> toPagerFlags(java.util.Set<SqlJetBtreeFlags> btreeFlags)
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.