Logo Search packages:      
Sourcecode: db2 version File versions  Download package

com::sleepycat::db::Db Class Reference

List of all members.


Detailed Description

Author:
Donald D. Anderson

Definition at line 16 of file Db.java.


Public Member Functions

native void close (int flags) throws DbException
native Dbc cursor (DbTxn txnid, int flags) throws DbException
native void del (DbTxn txnid, Dbt key, int flags) throws DbException
native int fd () throws DbException
native int get (DbTxn txnid, Dbt key, Dbt data, int flags) throws DbException
native boolean get_byteswapped ()
native int get_type ()
native Dbc join (Dbc curslist[], int flags) throws DbException
native int put (DbTxn txnid, Dbt key, Dbt data, int flags) throws DbException
native Object stat (int flags) throws DbException
native void sync (int flags) throws DbException

Static Public Member Functions

static void load_db ()
static native Db open (String fname, int type, int flags, int mode, DbEnv dbenv, DbInfo info) throws DbException

Static Public Attributes

static final int DB_AFTER
static final int DB_APPEND
static final int DB_ARCH_ABS
static final int DB_ARCH_DATA
static final int DB_ARCH_LOG
static final int DB_BEFORE
static final int DB_BTREE = 1
static final int DB_CHECKPOINT
static final int DB_CREATE
static final int DB_CURLSN
static final int DB_CURRENT
static final int DB_DBT_INTERNAL
static final int DB_DBT_MALLOC
static final int DB_DBT_PARTIAL
static final int DB_DBT_USERMEM
static final int DB_DELIMITER
static final int DB_DUP
static final int DB_DUPSORT
static final int DB_EXCL
static final int DB_FIRST
static final int DB_FIXEDLEN
static final int DB_FLUSH
static final int DB_GET_BOTH
static final int DB_GET_RECNO
static final int DB_HASH = 2
static final int DB_INCOMPLETE = -1
static final int DB_INIT_CDB
static final int DB_INIT_LOCK
static final int DB_INIT_LOG
static final int DB_INIT_MPOOL
static final int DB_INIT_TXN
static final int DB_JOIN_ITEM
static final int DB_KEYEMPTY = -2
static final int DB_KEYEXIST = -3
static final int DB_KEYFIRST
static final int DB_KEYLAST
static final int DB_LAST
static final int DB_LOCK_CONFLICT
static final int DB_LOCK_DEADLOCK = -4
static final int DB_LOCK_DEFAULT
static final int DB_LOCK_DUMP = 0
static final int DB_LOCK_GET = 1
static final int DB_LOCK_IREAD = 4
static final int DB_LOCK_IWR = 5
static final int DB_LOCK_IWRITE = 3
static final int DB_LOCK_NG = 0
static final int DB_LOCK_NORUN
static final int DB_LOCK_NOTGRANTED = -5
static final int DB_LOCK_NOTHELD = -6
static final int DB_LOCK_NOWAIT
static final int DB_LOCK_OLDEST
static final int DB_LOCK_PUT = 2
static final int DB_LOCK_PUT_ALL = 3
static final int DB_LOCK_PUT_OBJ = 4
static final int DB_LOCK_RANDOM
static final int DB_LOCK_READ = 1
static final int DB_LOCK_RW_N
static final int DB_LOCK_UPGRADE
static final int DB_LOCK_WRITE = 2
static final int DB_LOCK_YOUNGEST
static final int DB_MPOOL_PRIVATE
static final int DB_NEXT
static final int DB_NEXT_DUP
static final int DB_NOMMAP
static final int DB_NOOVERWRITE
static final int DB_NOSYNC
static final int DB_NOTFOUND = -7
static final int DB_PAD
static final int DB_PREV
static final int DB_RDONLY
static final int DB_RECNO = 3
static final int DB_RECNUM
static final int DB_RECORDCOUNT
static final int DB_RECOVER
static final int DB_RECOVER_FATAL
static final int DB_RENUMBER
static final int DB_RMW
static final int DB_SEQUENTIAL
static final int DB_SET
static final int DB_SET_RANGE
static final int DB_SET_RECNO
static final int DB_SNAPSHOT
static final int DB_TEMPORARY
static final int DB_THREAD
static final int DB_TRUNCATE
static final int DB_TXN_NOSYNC
static final int DB_UNKNOWN = 4
static final int DB_USE_ENVIRON
static final int DB_USE_ENVIRON_ROOT

Protected Member Functions

native void finalize () throws Throwable

Static Package Functions

 [static initializer]

Static Private Member Functions

static void check_constant (int c1, int c2)

Private Attributes

long private_info_ = 0

Static Private Attributes

static boolean already_loaded_ = false

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index