diff options
Diffstat (limited to 'lang/java/src/com/sleepycat/db/internal/Db.java')
-rw-r--r-- | lang/java/src/com/sleepycat/db/internal/Db.java | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/lang/java/src/com/sleepycat/db/internal/Db.java b/lang/java/src/com/sleepycat/db/internal/Db.java index 941091b3..359792da 100644 --- a/lang/java/src/com/sleepycat/db/internal/Db.java +++ b/lang/java/src/com/sleepycat/db/internal/Db.java @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 + * Version 2.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. @@ -364,6 +364,16 @@ public class Db { public int get_assoc_flags() throws com.sleepycat.db.DatabaseException { return db_javaJNI.Db_get_assoc_flags(swigCPtr, this); } + public String get_blob_dir() throws com.sleepycat.db.DatabaseException { + return db_javaJNI.Db_get_blob_dir(swigCPtr, this); + } + + public String get_blob_sub_dir() throws com.sleepycat.db.DatabaseException { + return db_javaJNI.Db_get_blob_sub_dir(swigCPtr, this); + } + + public int get_blob_threshold() throws com.sleepycat.db.DatabaseException { return db_javaJNI.Db_get_blob_threshold(swigCPtr, this); } + public boolean get_byteswapped() throws com.sleepycat.db.DatabaseException { return db_javaJNI.Db_get_byteswapped(swigCPtr, this); } public long get_cachesize() throws com.sleepycat.db.DatabaseException { @@ -476,6 +486,10 @@ public class Db { public void set_append_recno(com.sleepycat.db.RecordNumberAppender db_append_recno_fcn) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_append_recno(swigCPtr, this, (append_recno_handler = db_append_recno_fcn) != null ); } + public void set_blob_dir(String dir) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_blob_dir(swigCPtr, this, dir); } + + public void set_blob_threshold(int bytes, int flags) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_blob_threshold(swigCPtr, this, bytes, flags); } + public void set_bt_compare(java.util.Comparator bt_compare_fcn) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_bt_compare(swigCPtr, this, (bt_compare_handler = bt_compare_fcn) != null ); } public void set_bt_minkey(int bt_minkey) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_bt_minkey(swigCPtr, this, bt_minkey); } @@ -512,6 +526,10 @@ public class Db { public void set_lorder(int lorder) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_lorder(swigCPtr, this, lorder); } + public int set_msgfile(String msgfile) /* no exception */ { + return db_javaJNI.Db_set_msgfile(swigCPtr, this, msgfile); + } + public void set_pagesize(long pagesize) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_pagesize(swigCPtr, this, pagesize); } public void set_partition(int parts, com.sleepycat.db.DatabaseEntry keys, com.sleepycat.db.PartitionHandler db_partition_fcn) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_set_partition(swigCPtr, this, parts, keys, (partition_handler = db_partition_fcn) != null ); } @@ -534,6 +552,10 @@ public class Db { public Object stat(DbTxn txnid, int flags) throws com.sleepycat.db.DatabaseException { return db_javaJNI.Db_stat(swigCPtr, this, DbTxn.getCPtr(txnid), txnid, flags); } + public int stat_print(int flags) throws com.sleepycat.db.DatabaseException { + return db_javaJNI.Db_stat_print(swigCPtr, this, flags); + } + public void sync(int flags) throws com.sleepycat.db.DatabaseException { db_javaJNI.Db_sync(swigCPtr, this, flags); } public int truncate(DbTxn txnid, int flags) throws com.sleepycat.db.DatabaseException { |