com.sleepycat.bind.tuple |
Bindings that use sequences of primitive fields, or tuples.
@see [Getting Started Guide]
|
Java Source File Name | Type | Comment |
BigIntegerBinding.java | Class | A concrete TupleBinding for a BigInteger value. |
BooleanBinding.java | Class | A concrete TupleBinding for a Boolean primitive
wrapper or a boolean 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.
|
ByteBinding.java | Class | A concrete TupleBinding for a Byte primitive
wrapper or a byte 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.
|
CharacterBinding.java | Class | A concrete TupleBinding for a Character primitive
wrapper or a char 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.
|
DoubleBinding.java | Class | A concrete TupleBinding for a Double primitive
wrapper or a double primitive.
Note: This class produces byte array values that by default
(without a custom comparator) do not sort correctly for negative
values. |
FloatBinding.java | Class | A concrete TupleBinding for a Float primitive
wrapper or a float primitive.
Note: This class produces byte array values that by default
(without a custom comparator) do not sort correctly for negative
values. |
IntegerBinding.java | Class | A concrete TupleBinding for a Integer primitive
wrapper or an int 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.
|
LongBinding.java | Class | 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.
|
MarshalledTupleEntry.java | Interface | A marshalling interface implemented by key, data or entity classes that
are represented as tuples.
Key classes implement this interface to marshal their key entry. |
MarshalledTupleKeyEntity.java | Interface | A marshalling interface implemented by entity classes that represent keys as
tuples. |
ShortBinding.java | Class | A concrete TupleBinding for a Short primitive
wrapper or a short 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.
|
SortedDoubleBinding.java | Class | A concrete TupleBinding for a Double primitive
wrapper or a double primitive.
This class produces byte array values that by default (without a custom
comparator) sort correctly, including sorting of negative values.
Therefore, this class should normally be used instead of
DoubleBinding which does not by default support sorting of negative values.
Please note that:
|
SortedFloatBinding.java | Class | A concrete TupleBinding for a Float primitive
wrapper or a float primitive.
This class produces byte array values that by default (without a custom
comparator) sort correctly, including sorting of negative values.
Therefore, this class should normally be used instead of
FloatBinding which does not by default support sorting of negative values.
Please note that:
|
StringBinding.java | Class | A concrete TupleBinding for a simple String value.
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.
|
TupleBase.java | Class | A base class for tuple bindings and tuple key creators that provides control
over the allocation of the output buffer.
Tuple bindings and key creators append data to a
TupleOutput instance, which is also a
com.sleepycat.util.FastOutputStream instance. |
TupleBinding.java | Class | An abstract EntryBinding that treats a key or data entry as a
tuple; it includes predefined bindings for Java primitive types.
This class takes care of converting the entries to/from
TupleInput and
TupleOutput objects. |
TupleInput.java | Class | An InputStream with DataInput -like methods for
reading tuple fields. |
TupleInputBinding.java | Class | A concrete EntryBinding that uses the TupleInput
object as the key or data object.
A concrete tuple binding for key or data entries which are
TupleInput objects. |
TupleMarshalledBinding.java | Class | A concrete TupleBinding that delegates to the
MarshalledTupleEntry interface of the data or key object. |
TupleOutput.java | Class | An OutputStream with DataOutput -like methods for
writing tuple fields. |
TupleTupleBinding.java | Class | An abstract EntityBinding that treats an entity's key entry and
data entry as tuples.
This class takes care of converting the entries to/from
TupleInput and
TupleOutput objects. |
TupleTupleKeyCreator.java | Class | An abstract key creator that uses a tuple key and a tuple data entry. |
TupleTupleMarshalledBinding.java | Class | A concrete TupleTupleBinding that delegates to the
MarshalledTupleEntry and
MarshalledTupleKeyEntity interfaces of the entity class.
This class calls the methods of the
MarshalledTupleEntry interface to convert between the data entry and entity object. |
TupleTupleMarshalledKeyCreator.java | Class | A concrete key creator that works in conjunction with a
TupleTupleMarshalledBinding . |