/*- * See the file LICENSE for redistribution information. * * Copyright (c) 1997, 1998 * Sleepycat Software. All rights reserved. * * @(#)Dbc.java 10.3 (Sleepycat) 4/10/98 */ package com.sleepycat.db; /** * * @author Donald D. Anderson */ public class Dbc { // methods // public native void close() throws DbException; public native void del(int flags) throws DbException; // returns: 0, DB_NOTFOUND, or throws error public native int get(Dbt key, Dbt data, int flags) throws DbException; public native void put(Dbt key, Dbt data, int flags) throws DbException; protected native void finalize() throws Throwable; // get/set methods // // private data // private long private_info_ = 0; static { Db.load_db(); } } // end of Dbc.java