com.sleepycat.db.internal
Class DbSequence
java.lang.Object
com.sleepycat.db.internal.DbSequence
public class DbSequence
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
wrapper
public Sequence wrapper
DbSequence
protected DbSequence(long cPtr,
boolean cMemoryOwn)
DbSequence
public DbSequence(Db db,
int flags)
throws DatabaseException
- Throws:
DatabaseException
getCPtr
protected static long getCPtr(DbSequence obj)
close
public void close(int flags)
throws DatabaseException
- Throws:
DatabaseException
remove
public void remove(DbTxn txn,
int flags)
throws DatabaseException
- Throws:
DatabaseException
get
public long get(DbTxn txnid,
int delta,
int flags)
throws DatabaseException
- Throws:
DatabaseException
get_cachesize
public int get_cachesize()
throws DatabaseException
- Throws:
DatabaseException
get_db
public Db get_db()
throws DatabaseException
- Throws:
DatabaseException
get_flags
public int get_flags()
throws DatabaseException
- Throws:
DatabaseException
get_key
public void get_key(DatabaseEntry key)
throws DatabaseException
- Throws:
DatabaseException
get_range_min
public long get_range_min()
throws DatabaseException
- Throws:
DatabaseException
get_range_max
public long get_range_max()
throws DatabaseException
- Throws:
DatabaseException
initial_value
public void initial_value(long val)
throws DatabaseException
- Throws:
DatabaseException
open
public void open(DbTxn txnid,
DatabaseEntry key,
int flags)
throws DatabaseException
- Throws:
DatabaseException
set_cachesize
public void set_cachesize(int size)
throws DatabaseException
- Throws:
DatabaseException
set_flags
public void set_flags(int flags)
throws DatabaseException
- Throws:
DatabaseException
set_range
public void set_range(long min,
long max)
throws DatabaseException
- Throws:
DatabaseException
stat
public SequenceStats stat(int flags)
throws DatabaseException
- Throws:
DatabaseException