| 
 | Berkeley DB version 4.2.52 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.sleepycat.bdb.bind.tuple.TupleInputBinding
A concrete tuple binding for keys or values which are TupleInput
 objects.  This binding is used when tuples themselves are the data object,
 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(TupleFormat format)Creates a tuple input binding. | |
| Method Summary | |
|  Object | dataToObject(DataBuffer data)Converts a data buffer into an Object. | 
|  DataFormat | getDataFormat()Returns the format used for the data of this binding. | 
|  void | objectToData(Object object,
             DataBuffer data)Converts an Object into a data buffer. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public TupleInputBinding(TupleFormat format)
format - is the format of the new binding.| Method Detail | 
public Object dataToObject(DataBuffer data)
                    throws IOException
DataBinding
dataToObject in interface DataBindingdata - is the source data buffer.
IOException
public void objectToData(Object object,
                         DataBuffer data)
                  throws IOException
DataBinding
objectToData in interface DataBindingobject - is the source Object.data - is the destination data buffer.
IOExceptionpublic DataFormat getDataFormat()
DataBinding
getDataFormat in interface DataBinding| 
 | Berkeley DB version 4.2.52 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||