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
DatabaseException
protected static long getCPtr(DbSequence obj)
public void close(int flags) throws DatabaseException
DatabaseException
public void remove(DbTxn txn, int flags) throws DatabaseException
DatabaseException
public long get(DbTxn txnid, int delta, int flags) throws DatabaseException
DatabaseException
public int get_cachesize() throws DatabaseException
DatabaseException
public Db get_db() throws DatabaseException
DatabaseException
public int get_flags() throws DatabaseException
DatabaseException
public void get_key(DatabaseEntry key) throws DatabaseException
DatabaseException
public long get_range_min() throws DatabaseException
DatabaseException
public long get_range_max() throws DatabaseException
DatabaseException
public void initial_value(long val) throws DatabaseException
DatabaseException
public void open(DbTxn txnid, DatabaseEntry key, int flags) throws DatabaseException
DatabaseException
public void set_cachesize(int size) throws DatabaseException
DatabaseException
public void set_flags(int flags) throws DatabaseException
DatabaseException
public void set_range(long min, long max) throws DatabaseException
DatabaseException
public SequenceStats stat(int flags) throws DatabaseException
DatabaseException