|
Berkeley DB version 4.2.50 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.sleepycat.bdb.bind.tuple.TupleFormat
The format for tuple data. In addition to identifying a tuple format this class provides utility methods for use by bindings.
| Constructor Summary | |
TupleFormat()
Creates a tuple format. |
|
| Method Summary | |
TupleInput |
dataToInput(DataBuffer data)
Utility method to create a new tuple input object for reading the data from a given buffer. |
void |
inputToData(TupleInput input,
DataBuffer data)
Utility method to set the data in a data buffer to the data in a tuple input object. |
TupleOutput |
newOutput()
Utility method for use by bindings to create a tuple output object. |
void |
outputToData(TupleOutput output,
DataBuffer data)
Utility method to set the data in a data buffer to the data in a tuple output object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TupleFormat()
| Method Detail |
public final TupleOutput newOutput()
public final void outputToData(TupleOutput output,
DataBuffer data)
output - is the source tuple output object.data - is the destination data buffer.
public final void inputToData(TupleInput input,
DataBuffer data)
input - is the source tuple input object.data - is the destination data buffer.public final TupleInput dataToInput(DataBuffer data)
data - is the source data buffer.
|
Berkeley DB version 4.2.50 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||