| java.lang.Object com.sleepycat.compat.DbCompat
DbCompat | public class DbCompat (Code) | | A minimal set of DB-JE compatibility methods for internal use only.
Two versions are maintained in parallel in the DB and JE source trees.
Used by the collections package.
|
Method Summary | |
public static OperationStatus | append(Database db, Transaction txn, DatabaseEntry key, DatabaseEntry data) | public static CursorConfig | cloneCursorConfig(CursorConfig config) | public static boolean | getBtreeRecordNumbers(DatabaseConfig dbConfig) | public static OperationStatus | getCurrentRecordNumber(Cursor cursor, DatabaseEntry key, LockMode lockMode) | public static long | getDatabaseCount(Database db) | public static String | getDatabaseFile(Database db) | public static boolean | getDeferredWrite(DatabaseConfig dbConfig) | public static boolean | getInitializeCDB(EnvironmentConfig config) | public static boolean | getInitializeLocking(EnvironmentConfig config) | public static boolean | getReadUncommitted(DatabaseConfig dbConfig) | public static int | getRecordNumber(DatabaseEntry entry) | public static boolean | getRenumbering(DatabaseConfig dbConfig) | public static OperationStatus | getSearchRecordNumber(Cursor cursor, DatabaseEntry key, DatabaseEntry data, LockMode lockMode) | public static OperationStatus | getSearchRecordNumber(SecondaryCursor cursor, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode) | public static boolean | getSortedDuplicates(DatabaseConfig dbConfig) | public static Transaction | getThreadTransaction(Environment env) | public static boolean | getUnsortedDuplicates(DatabaseConfig dbConfig) | public static boolean | getWriteCursor(CursorConfig config) | public static boolean | isTypeBtree(DatabaseConfig dbConfig) | public static boolean | isTypeHash(DatabaseConfig dbConfig) | public static boolean | isTypeQueue(DatabaseConfig dbConfig) | public static boolean | isTypeRecno(DatabaseConfig dbConfig) | public static Database | openDatabase(Environment env, Transaction txn, String file, String name, DatabaseConfig config) | public static SecondaryDatabase | openSecondaryDatabase(Environment env, Transaction txn, String file, String name, Database primary, SecondaryConfig config) | public static OperationStatus | putAfter(Cursor cursor, DatabaseEntry key, DatabaseEntry data) | public static OperationStatus | putBefore(Cursor cursor, DatabaseEntry key, DatabaseEntry data) | public static void | setBtreeComparator(DatabaseConfig dbConfig, Comparator comparator) | public static void | setBtreeRecordNumbers(DatabaseConfig dbConfig, boolean val) | public static void | setDeferredWrite(DatabaseConfig dbConfig, boolean val) | public static void | setInitializeCDB(EnvironmentConfig config, boolean val) | public static void | setInitializeCache(EnvironmentConfig config, boolean val) | public static void | setInitializeLocking(EnvironmentConfig config, boolean val) | public static void | setLockDetectModeOldest(EnvironmentConfig config) | public static void | setReadUncommitted(DatabaseConfig dbConfig, boolean val) | public static void | setRecordLength(DatabaseConfig dbConfig, int val) | public static void | setRecordNumber(DatabaseEntry entry, int recNum) | public static void | setRecordPad(DatabaseConfig dbConfig, int val) | public static void | setRenumbering(DatabaseConfig dbConfig, boolean val) | public static void | setSerializableIsolation(TransactionConfig config, boolean val) | public static void | setSortedDuplicates(DatabaseConfig dbConfig, boolean val) | public static void | setTypeBtree(DatabaseConfig dbConfig) | public static void | setTypeHash(DatabaseConfig dbConfig) | public static void | setTypeQueue(DatabaseConfig dbConfig) | public static void | setTypeRecno(DatabaseConfig dbConfig) | public static void | setUnsortedDuplicates(DatabaseConfig dbConfig, boolean val) | public static void | setWriteCursor(CursorConfig config, boolean write) | public static void | syncDeferredWrite(Database db, boolean flushLog) |
BTREE_RECNUM_METHOD | final public static boolean BTREE_RECNUM_METHOD(Code) | | |
CDB | final public static boolean CDB(Code) | | |
DATABASE_COUNT | final public static boolean DATABASE_COUNT(Code) | | |
HASH_METHOD | final public static boolean HASH_METHOD(Code) | | |
INSERTION_ORDERED_DUPLICATES | final public static boolean INSERTION_ORDERED_DUPLICATES(Code) | | |
JOIN | final public static boolean JOIN(Code) | | |
LOCK_SUBSYSTEM | final public static boolean LOCK_SUBSYSTEM(Code) | | |
MEMORY_SUBSYSTEM | final public static boolean MEMORY_SUBSYSTEM(Code) | | |
NESTED_TRANSACTIONS | final public static boolean NESTED_TRANSACTIONS(Code) | | |
OPTIONAL_READ_UNCOMMITTED | final public static boolean OPTIONAL_READ_UNCOMMITTED(Code) | | |
QUEUE_METHOD | final public static boolean QUEUE_METHOD(Code) | | |
RECNO_METHOD | final public static boolean RECNO_METHOD(Code) | | |
SECONDARIES | final public static boolean SECONDARIES(Code) | | |
SEPARATE_DATABASE_FILES | final public static boolean SEPARATE_DATABASE_FILES(Code) | | |
TRANSACTION_RUNNER_PRINT_STACK_TRACES | public static boolean TRANSACTION_RUNNER_PRINT_STACK_TRACES(Code) | | |
setBtreeRecordNumbers | public static void setBtreeRecordNumbers(DatabaseConfig dbConfig, boolean val)(Code) | | |
setSortedDuplicates | public static void setSortedDuplicates(DatabaseConfig dbConfig, boolean val)(Code) | | |
setUnsortedDuplicates | public static void setUnsortedDuplicates(DatabaseConfig dbConfig, boolean val)(Code) | | |
|
|