com.sleepycat.db.internal
Class Dbc
java.lang.Object
com.sleepycat.db.internal.Dbc
public class Dbc
- extends java.lang.Object
Constructor Summary |
protected |
Dbc(long cPtr,
boolean cMemoryOwn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
Dbc
protected Dbc(long cPtr,
boolean cMemoryOwn)
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