📄 db_javajni.java
字号:
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.29 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */package com.sleepycat.db.internal;class db_javaJNI { static { /* An alternate library name can be specified via a property. */ String libname; if ((libname = System.getProperty("sleepycat.db.libfile")) != null) System.load(libname); else if ((libname = System.getProperty("sleepycat.db.libname")) != null) System.loadLibrary(libname); else { String os = System.getProperty("os.name"); if (os != null && os.startsWith("Windows")) { /* * On Windows, library name is something like * "libdb_java42.dll" or "libdb_java42d.dll". */ libname = "libdb_java" + DbConstants.DB_VERSION_MAJOR + DbConstants.DB_VERSION_MINOR; try { System.loadLibrary(libname); } catch (UnsatisfiedLinkError e) { try { libname += "d"; System.loadLibrary(libname); } catch (UnsatisfiedLinkError e2) { throw e; } } } else { /* * On UNIX, library name is something like * "libdb_java-3.0.so". */ System.loadLibrary("db_java-" + DbConstants.DB_VERSION_MAJOR + "." + DbConstants.DB_VERSION_MINOR); } } initialize(); if (DbEnv_get_version_major() != DbConstants.DB_VERSION_MAJOR || DbEnv_get_version_minor() != DbConstants.DB_VERSION_MINOR || DbEnv_get_version_patch() != DbConstants.DB_VERSION_PATCH) throw new RuntimeException( "Berkeley DB library version doesn't match Java classes"); } static native final void initialize(); public final static native void DbEnv_lock_vec(long jarg1, int jarg2, int jarg3, com.sleepycat.db.LockRequest[] jarg4, int jarg5, int jarg6) throws com.sleepycat.db.DatabaseException; /* package */ final static native long initDbEnvRef0(long jarg1, Object jarg2); /* package */ final static native long initDbRef0(long jarg1, Object jarg2); /* package */ final static native void deleteRef0(long jarg1); /* package */ final static native long getDbEnv0(long jarg1); public final static native long new_Db(long jarg1, int jarg2) throws com.sleepycat.db.DatabaseException; public final static native void Db_associate(long jarg1, long jarg2, long jarg3, com.sleepycat.db.SecondaryKeyCreator jarg4, int jarg5) throws com.sleepycat.db.DatabaseException; public final static native void Db_compact(long jarg1, long jarg2, com.sleepycat.db.DatabaseEntry jarg3, com.sleepycat.db.DatabaseEntry jarg4, com.sleepycat.db.CompactStats jarg5, int jarg6, com.sleepycat.db.DatabaseEntry jarg7) throws com.sleepycat.db.DatabaseException; /* package */ final static native int Db_close0(long jarg1, int jarg2); public final static native long Db_cursor(long jarg1, long jarg2, int jarg3) throws com.sleepycat.db.DatabaseException; public final static native int Db_del(long jarg1, long jarg2, com.sleepycat.db.DatabaseEntry jarg3, int jarg4) throws com.sleepycat.db.DatabaseException; public final static native void Db_err(long jarg1, int jarg2, String jarg3) /* no exception */; public final static native void Db_errx(long jarg1, String jarg2) /* no exception */; public final static native boolean Db_get_transactional(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get(long jarg1, long jarg2, com.sleepycat.db.DatabaseEntry jarg3, com.sleepycat.db.DatabaseEntry jarg4, int jarg5) throws com.sleepycat.db.DatabaseException; public final static native boolean Db_get_byteswapped(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native long Db_get_cachesize(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_cachesize_ncache(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native String Db_get_filename(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native String Db_get_dbname(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_encrypt_flags(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_flags(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_lorder(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native long Db_get_mpf(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_open_flags(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_pagesize(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_bt_minkey(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_h_ffactor(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_h_nelem(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_re_delim(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_re_len(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_re_pad(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native String Db_get_re_source(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_q_extentsize(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native int Db_get_type(long jarg1) throws com.sleepycat.db.DatabaseException; public final static native long Db_join(long jarg1, Dbc[] jarg2, int jarg3) throws com.sleepycat.db.DatabaseException;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -