|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.bind.ByteArrayBinding
A pass-through EntryBinding
that uses the entry's byte array as
the key or data object.
Constructor Summary | |
ByteArrayBinding()
Creates a byte array binding. |
Method Summary | |
Object |
entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object. |
void |
objectToEntry(Object object,
DatabaseEntry entry)
Converts an Object into a entry buffer. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ByteArrayBinding()
Method Detail |
public Object entryToObject(DatabaseEntry entry)
EntryBinding
entryToObject
in interface EntryBinding
entry
- is the source entry buffer.
public void objectToEntry(Object object, DatabaseEntry entry)
EntryBinding
objectToEntry
in interface EntryBinding
object
- is the source Object.entry
- is the destination entry buffer.
|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |