public class PersistKeyBinding extends java.lang.Object implements EntryBinding
| Constructor and Description |
|---|
PersistKeyBinding(com.sleepycat.persist.impl.Catalog catalogParam,
java.lang.String clsName,
boolean rawAccess)
Creates a key binding for a given key class.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object.
|
void |
objectToEntry(java.lang.Object object,
DatabaseEntry entry)
Converts an Object into a entry buffer.
|
public PersistKeyBinding(com.sleepycat.persist.impl.Catalog catalogParam,
java.lang.String clsName,
boolean rawAccess)
public java.lang.Object entryToObject(DatabaseEntry entry)
EntryBindingentryToObject in interface EntryBindingentry - is the source entry buffer.public void objectToEntry(java.lang.Object object,
DatabaseEntry entry)
EntryBindingobjectToEntry in interface EntryBindingobject - is the source Object.entry - is the destination entry buffer.