|
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.tuple.TupleInputBinding
A concrete EntryBinding
that uses the TupleInput
object as the key or data object.
A concrete tuple binding for key or data entries which are TupleInput
objects. This binding is used when tuples themselves are the
objects, rather than using application defined objects. A TupleInput
must always be used. To convert a TupleOutput
to a TupleInput
, use the TupleInput.TupleInput(TupleOutput)
constructor.
Constructor Summary | |
TupleInputBinding()
Creates a tuple input 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 TupleInputBinding()
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 |