Package | Description |
---|---|
com.sleepycat.collections |
Data access based on the standard Java collections API.
|
com.sleepycat.db | |
com.sleepycat.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
Modifier and Type | Method | Description |
---|---|---|
CursorConfig |
StoredContainer.getCursorConfig() |
Returns the cursor configuration that is used for all operations
performed via this container.
|
Modifier and Type | Method | Description |
---|---|---|
static <E> java.util.Collection<E> |
StoredCollections.configuredCollection(java.util.Collection<E> storedCollection,
CursorConfig config) |
Creates a configured collection from a given stored collection.
|
static <E> java.util.List<E> |
StoredCollections.configuredList(java.util.List<E> storedList,
CursorConfig config) |
Creates a configured list from a given stored list.
|
static <K,V> |
StoredCollections.configuredMap(java.util.Map<K,V> storedMap,
CursorConfig config) |
Creates a configured map from a given stored map.
|
static <E> java.util.Set<E> |
StoredCollections.configuredSet(java.util.Set<E> storedSet,
CursorConfig config) |
Creates a configured set from a given stored set.
|
static <K,V> |
StoredCollections.configuredSortedMap(java.util.SortedMap<K,V> storedSortedMap,
CursorConfig config) |
Creates a configured sorted map from a given stored sorted map.
|
static <E> java.util.SortedSet<E> |
StoredCollections.configuredSortedSet(java.util.SortedSet<E> storedSortedSet,
CursorConfig config) |
Creates a configured sorted set from a given stored sorted set.
|
Modifier and Type | Field | Description |
---|---|---|
static CursorConfig |
CursorConfig.BULK_CURSOR |
A convenience instance to specify the database cursor will be used to make
bulk changes to the underlying database.
|
static CursorConfig |
CursorConfig.DEFAULT |
Default configuration used if null is passed to methods that create a
cursor.
|
static CursorConfig |
CursorConfig.DEGREE_2 |
Deprecated.
This has been replaced by
READ_COMMITTED to conform to ANSI database isolation terminology. |
static CursorConfig |
CursorConfig.DIRTY_READ |
Deprecated.
This has been replaced by
READ_UNCOMMITTED to conform to ANSI
database isolation terminology. |
static CursorConfig |
CursorConfig.READ_COMMITTED |
A convenience instance to configure a cursor for read committed isolation.
|
static CursorConfig |
CursorConfig.READ_UNCOMMITTED |
A convenience instance to configure read operations performed by the
cursor to return modified but not yet committed data.
|
static CursorConfig |
CursorConfig.SNAPSHOT |
A convenience instance to configure read operations performed by the
cursor to return values as they were when the cursor was opened, if
DatabaseConfig.setMultiversion(boolean) is configured. |
static CursorConfig |
CursorConfig.WRITECURSOR |
A convenience instance to specify the Concurrent Data Store environment
cursor will be used to update the database.
|
Modifier and Type | Method | Description |
---|---|---|
CursorConfig |
Cursor.getConfig() |
Return this cursor's configuration.
|
Modifier and Type | Method | Description |
---|---|---|
Cursor |
Database.openCursor(Transaction txn,
CursorConfig config) |
Return a cursor into the database.
|
Cursor |
SecondaryDatabase.openCursor(Transaction txn,
CursorConfig config) |
Return a cursor into the database.
|
SecondaryCursor |
SecondaryDatabase.openSecondaryCursor(Transaction txn,
CursorConfig config) |
Obtain a cursor on a database, returning a
SecondaryCursor . |
Constructor | Description |
---|---|
Cursor(Database database,
CursorConfig config) |
Modifier and Type | Method | Description |
---|---|---|
EntityCursor<V> |
EntityIndex.entities(Transaction txn,
CursorConfig config) |
Opens a cursor for traversing all entities in this index.
|
EntityCursor<V> |
EntityIndex.entities(Transaction txn,
K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive,
CursorConfig config) |
Opens a cursor for traversing entities in a key range.
|
ForwardCursor<E> |
EntityJoin.entities(Transaction txn,
CursorConfig config) |
Opens a cursor that returns the entities qualifying for the join.
|
EntityCursor<K> |
EntityIndex.keys(Transaction txn,
CursorConfig config) |
Opens a cursor for traversing all keys in this index.
|
EntityCursor<K> |
EntityIndex.keys(Transaction txn,
K fromKey,
boolean fromInclusive,
K toKey,
boolean toInclusive,
CursorConfig config) |
Opens a cursor for traversing keys in a key range.
|
ForwardCursor<PK> |
EntityJoin.keys(Transaction txn,
CursorConfig config) |
Opens a cursor that returns the primary keys of entities qualifying for
the join.
|
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.