|
Berkeley DB version 4.2.52 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface implemented by all entity or key/data-to-object bindings.
| Method Summary | |
Object |
dataToObject(DataBuffer key,
DataBuffer value)
Converts key and value data buffers into an entity Object. |
DataFormat |
getKeyFormat()
Returns the format used for the key data of this binding. |
DataFormat |
getValueFormat()
Returns the format used for the value data of this binding. |
void |
objectToKey(Object object,
DataBuffer key)
Extracts the key data from an entity Object. |
void |
objectToValue(Object object,
DataBuffer value)
Extracts the value data from an entity Object. |
| Method Detail |
public Object dataToObject(DataBuffer key,
DataBuffer value)
throws IOException
key - is the source key data.value - is the source value data.
IOException
public void objectToKey(Object object,
DataBuffer key)
throws IOException
object - is the source Object.key - is the destination data buffer.
IOException
public void objectToValue(Object object,
DataBuffer value)
throws IOException
object - is the source Object.value - is the destination data buffer.
IOExceptionpublic DataFormat getKeyFormat()
public DataFormat getValueFormat()
|
Berkeley DB version 4.2.52 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||