Package | Description |
---|---|
com.sleepycat.client.bind |
Bindings between database entries and Java objects.
|
com.sleepycat.client.collections |
Data access based on the standard Java collections API.
|
com.sleepycat.client.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. |
class |
RecordNumberBinding
An
EntryBinding that treats a record number key entry as a
Long 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(SDatabase database,
EntryBinding<K> keyBinding,
boolean writeAllowed)
Creates a key set view of a
SDatabase . |
StoredList(SDatabase database,
EntryBinding<E> valueBinding,
boolean writeAllowed)
Creates a list view of a
SDatabase . |
StoredList(SDatabase database,
EntryBinding<E> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a list view of a
SDatabase with a PrimaryKeyAssigner . |
StoredMap(SDatabase database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
boolean writeAllowed)
Creates a map entity view of a
SDatabase . |
StoredMap(SDatabase database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map entity view of a
SDatabase with a PrimaryKeyAssigner . |
StoredMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a map view of a
SDatabase . |
StoredMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a map view of a
SDatabase . |
StoredMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map view of a
SDatabase with a PrimaryKeyAssigner . |
StoredMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map view of a
SDatabase with a PrimaryKeyAssigner . |
StoredSortedKeySet(SDatabase database,
EntryBinding<K> keyBinding,
boolean writeAllowed)
Creates a sorted key set view of a
SDatabase . |
StoredSortedMap(SDatabase database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
boolean writeAllowed)
Creates a sorted map entity view of a
SDatabase . |
StoredSortedMap(SDatabase database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map entity view of a
SDatabase with a PrimaryKeyAssigner . |
StoredSortedMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a sorted map view of a
SDatabase . |
StoredSortedMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a sorted map view of a
SDatabase . |
StoredSortedMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map view of a
SDatabase with a PrimaryKeyAssigner . |
StoredSortedMap(SDatabase database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map view of a
SDatabase with a PrimaryKeyAssigner . |
StoredValueSet(SDatabase database,
EntryBinding<E> valueBinding,
boolean writeAllowed)
Creates a value set view of a
SDatabase . |
Modifier and Type | Method and Description |
---|---|
EntryBinding<PK> |
PrimaryIndex.getKeyBinding()
Returns the primary key binding for this index.
|
EntryBinding<SK> |
SecondaryIndex.getKeyBinding()
Returns the secondary key binding for the index.
|
Constructor and Description |
---|
PrimaryIndex(SDatabase 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(SSecondaryDatabase database,
SDatabase keysDatabase,
PrimaryIndex<PK,E> primaryIndex,
java.lang.Class<SK> secondaryKeyClass,
EntryBinding<SK> secondaryKeyBinding)
Creates a secondary index without using an
EntityStore . |
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.