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