public class DbSequence
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
Sequence |
wrapper |
| Modifier | Constructor and Description |
|---|---|
|
DbSequence(Db db,
int flags) |
protected |
DbSequence(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(int flags) |
int |
get_cachesize() |
Db |
get_db() |
int |
get_flags() |
void |
get_key(DatabaseEntry key) |
long |
get_range_max() |
long |
get_range_min() |
long |
get(DbTxn txnid,
int delta,
int flags) |
protected static long |
getCPtr(DbSequence obj) |
void |
initial_value(long val) |
void |
open(DbTxn txnid,
DatabaseEntry key,
int flags) |
void |
remove(DbTxn txn,
int flags) |
void |
set_cachesize(int size) |
void |
set_flags(int flags) |
void |
set_range(long min,
long max) |
SequenceStats |
stat(int flags) |
protected boolean swigCMemOwn
public Sequence wrapper
protected DbSequence(long cPtr,
boolean cMemoryOwn)
public DbSequence(Db db, int flags) throws DatabaseException
DatabaseExceptionprotected static long getCPtr(DbSequence obj)
public void close(int flags)
throws DatabaseException
DatabaseExceptionpublic void remove(DbTxn txn, int flags) throws DatabaseException
DatabaseExceptionpublic long get(DbTxn txnid, int delta, int flags) throws DatabaseException
DatabaseExceptionpublic int get_cachesize()
throws DatabaseException
DatabaseExceptionpublic Db get_db() throws DatabaseException
DatabaseExceptionpublic int get_flags()
throws DatabaseException
DatabaseExceptionpublic void get_key(DatabaseEntry key) throws DatabaseException
DatabaseExceptionpublic long get_range_min()
throws DatabaseException
DatabaseExceptionpublic long get_range_max()
throws DatabaseException
DatabaseExceptionpublic void initial_value(long val)
throws DatabaseException
DatabaseExceptionpublic void open(DbTxn txnid, DatabaseEntry key, int flags) throws DatabaseException
DatabaseExceptionpublic void set_cachesize(int size)
throws DatabaseException
DatabaseExceptionpublic void set_flags(int flags)
throws DatabaseException
DatabaseExceptionpublic void set_range(long min,
long max)
throws DatabaseException
DatabaseExceptionpublic SequenceStats stat(int flags) throws DatabaseException
DatabaseException