Enum SqlJetBtreeFlags
- All Implemented Interfaces:
Serializable
,Comparable<SqlJetBtreeFlags>
,java.lang.constant.Constable
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.
- Author:
- TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreate the database if it does not existIn-memory DB.Omit readlocks on readonly filesDo not use journal.Open the database in read-only modeOpen for both reading and writing -
Method Summary
Modifier and TypeMethodDescriptionstatic Set
<SqlJetPagerFlags> toPagerFlags
(Set<SqlJetBtreeFlags> btreeFlags) static SqlJetBtreeFlags
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.
-
Enum Constant Details
-
OMIT_JOURNAL
Do not use journal. No argument -
NO_READLOCK
Omit readlocks on readonly files -
MEMORY
In-memory DB. No argument -
READONLY
Open the database in read-only mode -
READWRITE
Open for both reading and writing -
CREATE
Create the database if it does not exist
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getPagerFlag
- Returns:
- the pagerFlag
-
toPagerFlags
-