com.sleepycat.bind.tuple

Class TupleInputBinding

public class TupleInputBinding extends Object implements EntryBinding

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 constructor.
Constructor Summary
TupleInputBinding()
Creates a tuple input binding.
Method Summary
ObjectentryToObject(DatabaseEntry entry)
voidobjectToEntry(Object object, DatabaseEntry entry)

Constructor Detail

TupleInputBinding

public TupleInputBinding()
Creates a tuple input binding.

Method Detail

entryToObject

public Object entryToObject(DatabaseEntry entry)

objectToEntry

public void objectToEntry(Object object, DatabaseEntry entry)