|
Berkeley DB version 5.1.19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.bind.tuple.TupleInputBinding
public class 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 | |
|---|---|
TupleInput |
entryToObject(DatabaseEntry entry)
Converts a entry buffer into an Object. |
void |
objectToEntry(TupleInput object,
DatabaseEntry entry)
Converts an Object into a entry buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TupleInputBinding()
| Method Detail |
|---|
public TupleInput entryToObject(DatabaseEntry entry)
EntryBinding
entryToObject in interface EntryBinding<TupleInput>entry - is the source entry buffer.
public void objectToEntry(TupleInput object,
DatabaseEntry entry)
EntryBinding
objectToEntry in interface EntryBinding<TupleInput>object - is the source Object.entry - is the destination entry buffer.
|
Berkeley DB version 5.1.19 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||