com.sleepycat.db.internal
Class Dbc

java.lang.Object
  extended by com.sleepycat.db.internal.Dbc

public class Dbc
extends java.lang.Object


Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
protected Dbc(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void close()
           
 int count(int flags)
           
 int del(int flags)
           
 Dbc dup(int flags)
           
 int get_priority()
           
 int get(DatabaseEntry key, DatabaseEntry data, int flags)
           
protected static long getCPtr(Dbc obj)
           
 int pget(DatabaseEntry key, DatabaseEntry pkey, DatabaseEntry data, int flags)
           
 int put(DatabaseEntry key, DatabaseEntry data, int flags)
           
 void set_priority(int priority)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

Dbc

protected Dbc(long cPtr,
              boolean cMemoryOwn)
Method Detail

getCPtr

protected static long getCPtr(Dbc obj)

close

public void close()
           throws DatabaseException
Throws:
DatabaseException

count

public int count(int flags)
          throws DatabaseException
Throws:
DatabaseException

del

public int del(int flags)
        throws DatabaseException
Throws:
DatabaseException

dup

public Dbc dup(int flags)
        throws DatabaseException
Throws:
DatabaseException

get

public int get(DatabaseEntry key,
               DatabaseEntry data,
               int flags)
        throws DatabaseException
Throws:
DatabaseException

get_priority

public int get_priority()
                 throws DatabaseException
Throws:
DatabaseException

pget

public int pget(DatabaseEntry key,
                DatabaseEntry pkey,
                DatabaseEntry data,
                int flags)
         throws DatabaseException
Throws:
DatabaseException

put

public int put(DatabaseEntry key,
               DatabaseEntry data,
               int flags)
        throws DatabaseException
Throws:
DatabaseException

set_priority

public void set_priority(int priority)
                  throws DatabaseException
Throws:
DatabaseException