public class OPEN_MODE
extends java.lang.Object
CTTable.Open(java.lang.String, int)
callModifier and Type | Field and Description |
---|---|
static int |
CHECKLOCK
Tables opened with this mode requires a record lock before a record can
be updated.
|
static int |
CHECKREAD
Tables opened with this mode requires a record lock as records are read.
|
static int |
CORRUPT
This mode opens tables with corrupted indexes or in certain cases,
tables with corrupted data.
|
static int |
DATAONLY
Open only the data table.
|
static int |
EXCLUSIVE
This mode opens the table as exclusive.
|
static int |
NORMAL
Use this mode if no other open modes apply.
|
static int |
PERMANENT
Many operating systems and/or C compiler run-time libraries limit the
number of files that can be opened at one time.
|
static int |
RAW
Tables opened with this mode to force the internals to ignore the record
definition and load the records as raw buffers.
|
static int |
READONLY
Opens the table in OPEN_MODE.READONLY mode and does not allow
any modifications to the table structure or data records.
|
static int |
UNLOCKONCLOSE
Causes an internal call to ctdbUnlockTable() when the table is closed to
remove any lock on the table
|
Constructor and Description |
---|
OPEN_MODE() |
public static final int NORMAL
public static final int EXCLUSIVE
public static final int PERMANENT
public static final int CORRUPT
public static final int CHECKLOCK
public static final int CHECKREAD
public static final int READONLY
public static final int DATAONLY
public static final int UNLOCKONCLOSE
public static final int RAW