Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

com::sleepycat::bind::tuple::TupleInputBinding Class Reference

Inheritance diagram for com::sleepycat::bind::tuple::TupleInputBinding:

com::sleepycat::bind::EntryBinding

Public Member Functions

 TupleInputBinding ()
Object entryToObject (DatabaseEntry entry)
void objectToEntry (Object object, DatabaseEntry entry)

Detailed Description

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.

Author:
Mark Hayes

Definition at line 27 of file TupleInputBinding.java.


Constructor & Destructor Documentation

com::sleepycat::bind::tuple::TupleInputBinding::TupleInputBinding  )  [inline]
 

Creates a tuple input binding.

Definition at line 32 of file TupleInputBinding.java.


Member Function Documentation

Object com::sleepycat::bind::tuple::TupleInputBinding::entryToObject DatabaseEntry  entry  )  [inline]
 

Converts a entry buffer into an Object.

Parameters:
entry is the source entry buffer.
Returns:
the resulting Object.

Implements com::sleepycat::bind::EntryBinding.

Definition at line 36 of file TupleInputBinding.java.

void com::sleepycat::bind::tuple::TupleInputBinding::objectToEntry Object  object,
DatabaseEntry  entry
[inline]
 

Converts an Object into a entry buffer.

Parameters:
object is the source Object.
entry is the destination entry buffer.

Implements com::sleepycat::bind::EntryBinding.

Definition at line 42 of file TupleInputBinding.java.


The documentation for this class was generated from the following file:
Generated on Sun Dec 25 12:14:59 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2