Inheritance diagram for com::sleepycat::bind::tuple::LongBinding:
Public Member Functions | |
Object | entryToObject (TupleInput input) |
void | objectToEntry (Object object, TupleOutput output) |
Static Public Member Functions | |
static long | entryToLong (DatabaseEntry entry) |
static void | longToEntry (long val, DatabaseEntry entry) |
Protected Member Functions | |
TupleOutput | getTupleOutput (Object object) |
TupleBinding
for a Long
primitive wrapper or a long
primitive.There are two ways to use this class:
Definition at line 29 of file LongBinding.java.
|
Converts an entry buffer into a simple
Definition at line 58 of file LongBinding.java. References com::sleepycat::bind::tuple::TupleBase::entryToInput(). |
|
Constructs a key or data object from a TupleInput entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 34 of file LongBinding.java. References com::sleepycat::bind::tuple::TupleInput::readLong(). |
|
Returns an empty TupleOutput instance that will be used by the tuple binding or key creator. The default implementation of this method creates a new TupleOutput with an initial buffer size that can be changed using the setTupleBufferSize method. This method may be overridden to return a TupleOutput instance. For example, an instance per thread could be created and returned by this method. If a TupleOutput instance is reused, be sure to call its com.sleepycat.util.FastOutputStream#reset method before each use.
Reimplemented from com::sleepycat::bind::tuple::TupleBase. Definition at line 46 of file LongBinding.java. |
|
Converts a simple
Definition at line 70 of file LongBinding.java. References com::sleepycat::bind::tuple::TupleBase::outputToEntry(). |
|
Converts a key or data object to a tuple entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 40 of file LongBinding.java. References com::sleepycat::bind::tuple::TupleOutput::writeLong(). |