Inheritance diagram for com::sleepycat::bind::tuple::StringBinding:
Public Member Functions | |
Object | entryToObject (TupleInput input) |
void | objectToEntry (Object object, TupleOutput output) |
Static Public Member Functions | |
static String | entryToString (DatabaseEntry entry) |
static void | stringToEntry (String val, DatabaseEntry entry) |
Protected Member Functions | |
TupleOutput | getTupleOutput (Object object) |
TupleBinding
for a simple String
value.There are two ways to use this class:
Definition at line 29 of file StringBinding.java.
|
Constructs a key or data object from a TupleInput entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 32 of file StringBinding.java. References com::sleepycat::bind::tuple::TupleInput::readString(). |
|
Converts an entry buffer into a simple
Definition at line 56 of file StringBinding.java. References com::sleepycat::bind::tuple::TupleBase::entryToInput(). |
|
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 44 of file StringBinding.java. |
|
Converts a key or data object to a tuple entry.
Implements com::sleepycat::bind::tuple::TupleBinding. Definition at line 38 of file StringBinding.java. References com::sleepycat::bind::tuple::TupleOutput::writeString(). |
|
Converts a simple
Definition at line 68 of file StringBinding.java. References com::sleepycat::bind::tuple::TupleBase::outputToEntry(). |