com.sleepycat.bind.tuple
public class LongBinding extends TupleBinding
TupleBinding for a Long primitive
wrapper or a long primitive.
There are two ways to use this class:
| Method Summary | |
|---|---|
| static long | entryToLong(DatabaseEntry entry)
Converts an entry buffer into a simple long value.
|
| Object | entryToObject(TupleInput input) |
| protected TupleOutput | getTupleOutput(Object object) |
| static void | longToEntry(long val, DatabaseEntry entry)
Converts a simple long value into an entry buffer.
|
| void | objectToEntry(Object object, TupleOutput output) |
long value.
Parameters: entry is the source entry buffer.
Returns: the resulting value.
long value into an entry buffer.
Parameters: val is the source value. entry is the destination entry buffer.