Package | Description |
---|---|
com.sleepycat.bind |
Bindings between database entries and Java objects.
|
com.sleepycat.bind.serial |
Bindings that use Java serialization.
|
com.sleepycat.bind.tuple |
Bindings that use sequences of primitive fields, or tuples.
|
com.sleepycat.collections |
Data access based on the standard Java collections API.
|
com.sleepycat.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayBinding
A pass-through
EntryBinding that uses the entry's byte array as
the key or data object. |
Modifier and Type | Class and Description |
---|---|
class |
SerialBinding<E>
A concrete
EntryBinding that treats a key or data entry as
a serialized object. |
Modifier and Type | Class and Description |
---|---|
class |
BigDecimalBinding
A concrete
TupleBinding for an unsorted BigDecimal
value. |
class |
BigIntegerBinding
A concrete
TupleBinding for a BigInteger value. |
class |
BooleanBinding
A concrete
TupleBinding for a Boolean primitive
wrapper or a boolean primitive. |
class |
ByteBinding
A concrete
TupleBinding for a Byte primitive
wrapper or a byte primitive. |
class |
CharacterBinding
A concrete
TupleBinding for a Character primitive
wrapper or a char primitive. |
class |
DoubleBinding
A concrete
TupleBinding for an unsorted Double
primitive wrapper or an unsorted double primitive. |
class |
FloatBinding
A concrete
TupleBinding for an unsorted Float
primitive wrapper or an unsorted float primitive. |
class |
IntegerBinding
A concrete
TupleBinding for a Integer primitive
wrapper or an int primitive. |
class |
LongBinding
A concrete
TupleBinding for a Long primitive
wrapper or a long primitive. |
class |
PackedIntegerBinding
A concrete
TupleBinding for an unsorted Integer
primitive wrapper or an unsorted int primitive, that stores the
value in the smallest number of bytes possible. |
class |
PackedLongBinding
A concrete
TupleBinding for an unsorted Long
primitive wrapper or an unsorted long primitive, that stores
the value in the smallest number of bytes possible. |
class |
ShortBinding
A concrete
TupleBinding for a Short primitive
wrapper or a short primitive. |
class |
SortedBigDecimalBinding
A concrete
TupleBinding for a sorted BigDecimal
value. |
class |
SortedDoubleBinding
A concrete
TupleBinding for a sorted Double
primitive wrapper or a sorted double primitive. |
class |
SortedFloatBinding
A concrete
TupleBinding for a sorted Float
primitive wrapper or sorted a float primitive. |
class |
SortedPackedIntegerBinding
A concrete
TupleBinding for a sorted Integer
primitive wrapper or a sorted int primitive, that stores the
value in the smallest number of bytes possible. |
class |
SortedPackedLongBinding
A concrete
TupleBinding for a sorted Long
primitive wrapper or a sorted long primitive, that stores the
value in the smallest number of bytes possible. |
class |
StringBinding
A concrete
TupleBinding for a simple String value. |
class |
TupleBinding<E>
An abstract
EntryBinding that treats a key or data entry as a
tuple; it includes predefined bindings for Java primitive types. |
class |
TupleInputBinding
A concrete
EntryBinding that uses the TupleInput
object as the key or data object. |
class |
TupleMarshalledBinding<E extends MarshalledTupleEntry>
A concrete
TupleBinding that delegates to the
MarshalledTupleEntry interface of the data or key object. |
Modifier and Type | Method and Description |
---|---|
<PK> java.util.Map<PK,V> |
StoredMap.duplicatesMap(K secondaryKey,
EntryBinding primaryKeyBinding)
Returns a new map from primary key to value for the subset of records
having a given secondary key (duplicates).
|
Constructor and Description |
---|
StoredKeySet(Database database,
EntryBinding<K> keyBinding,
boolean writeAllowed)
Creates a key set view of a
Database . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
boolean writeAllowed)
Creates a map entity view of a
Database . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map entity view of a
Database with a PrimaryKeyAssigner . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a map view of a
Database . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a map view of a
Database . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map view of a
Database with a PrimaryKeyAssigner . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map view of a
Database with a PrimaryKeyAssigner . |
StoredSortedKeySet(Database database,
EntryBinding<K> keyBinding,
boolean writeAllowed)
Creates a sorted key set view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
boolean writeAllowed)
Creates a sorted map entity view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map entity view of a
Database with a PrimaryKeyAssigner . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a sorted map view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a sorted map view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map view of a
Database with a PrimaryKeyAssigner . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map view of a
Database with a PrimaryKeyAssigner . |
StoredValueSet(Database database,
EntryBinding<E> valueBinding,
boolean writeAllowed)
Creates a value set view of a
Database . |
Modifier and Type | Method and Description |
---|---|
EntryBinding<SK> |
SecondaryIndex.getKeyBinding()
Returns the secondary key binding for the index.
|
EntryBinding<PK> |
PrimaryIndex.getKeyBinding()
Returns the primary key binding for this index.
|
Constructor and Description |
---|
PrimaryIndex(Database database,
java.lang.Class<PK> keyClass,
EntryBinding<PK> keyBinding,
java.lang.Class<E> entityClass,
EntityBinding<E> entityBinding)
Creates a primary index without using an
EntityStore . |
SecondaryIndex(SecondaryDatabase database,
Database keysDatabase,
PrimaryIndex<PK,E> primaryIndex,
java.lang.Class<SK> secondaryKeyClass,
EntryBinding<SK> secondaryKeyBinding)
Creates a secondary index without using an
EntityStore . |
Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.