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

com::sleepycat::bind::ByteArrayBinding Class Reference

Inheritance diagram for com::sleepycat::bind::ByteArrayBinding:

com::sleepycat::bind::EntryBinding

Public Member Functions

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

Detailed Description

A pass-through EntryBinding that uses the entry's byte array as the key or data object.

Author:
Mark Hayes

Definition at line 20 of file ByteArrayBinding.java.


Constructor & Destructor Documentation

com::sleepycat::bind::ByteArrayBinding::ByteArrayBinding  )  [inline]
 

Creates a byte array binding.

Definition at line 25 of file ByteArrayBinding.java.


Member Function Documentation

Object com::sleepycat::bind::ByteArrayBinding::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 29 of file ByteArrayBinding.java.

void com::sleepycat::bind::ByteArrayBinding::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 38 of file ByteArrayBinding.java.


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