A concrete TupleBinding for a Long primitive
wrapper or a long primitive.
There are two ways to use this class:
When using the
com.sleepycat.je package directly, the static
methods in this class can be used to convert between primitive values and
DatabaseEntry objects.
When using the
com.sleepycat.collections package, an instance of
this class can be used with any stored collection. The easiest way to
obtain a binding instance is with the
TupleBinding.getPrimitiveBinding method.
Method Summary
public static long
entryToLong(DatabaseEntry entry) Converts an entry buffer into a simple long value.
Parameters: entry - is the source entry buffer.