| Package | Description |
|---|---|
| com.sleepycat.compat |
INTERNAL: BDB/JE compatibility layer for bind, collections, DPL packages.
|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| com.sleepycat.je.dbi |
INTERNAL: Underlying XxxImpl classes for Environment, Database and Cursor,
plus other misc classes (originally, dbi meant "db internal interface").
|
| com.sleepycat.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
| Modifier and Type | Field and Description |
|---|---|
OperationResult |
DbCompat.OpResult.jeResult |
| Modifier and Type | Method and Description |
|---|---|
static DbCompat.OpResult |
DbCompat.OpResult.make(OperationResult result) |
| Modifier and Type | Field and Description |
|---|---|
static OperationResult |
DbInternal.DEFAULT_RESULT |
| Modifier and Type | Method and Description |
|---|---|
OperationResult |
SecondaryDatabase.delete(Transaction txn,
DatabaseEntry key,
WriteOptions options)
Deletes the record associated with the given secondary key.
|
OperationResult |
Database.delete(Transaction txn,
DatabaseEntry key,
WriteOptions options)
Removes records with a given key from the database.
|
OperationResult |
SecondaryCursor.delete(WriteOptions options)
Delete the record to which the cursor refers from the primary database
and all secondary indices.
|
OperationResult |
Cursor.delete(WriteOptions options)
Deletes the record to which the cursor refers.
|
static OperationResult |
DbInternal.deleteInternal(Cursor cursor,
ReplicationContext repContext)
Proxy to Cursor.deleteInternal()
|
static OperationResult |
DbInternal.deleteWithRepContext(Cursor cursor,
ReplicationContext repContext)
Proxy to Cursor.deleteWithRepContext()
|
OperationResult |
SecondaryCursor.get(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
JoinCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Returns the next primary key and data resulting from the join operation.
|
OperationResult |
DiskOrderedCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options) |
OperationResult |
SecondaryCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
ForwardCursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
Cursor.get(DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
Get getType,
ReadOptions options)
Retrieves a record according to the specified
Get type. |
OperationResult |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Moves the cursor to a record according to the specified
Get
type. |
OperationResult |
Database.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Get getType,
ReadOptions options)
Retrieves a record according to the specified
Get type. |
static OperationResult |
DbInternal.makeResult(int expiration,
boolean expirationInHours) |
static OperationResult |
DbInternal.makeResult(long time) |
static OperationResult |
DbInternal.makeUpdateResult(int expiration,
boolean expirationInHours) |
static OperationResult |
DbInternal.position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to Cursor.position().
|
OperationResult |
SecondaryCursor.put(DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
This operation is not allowed on a secondary cursor.
|
OperationResult |
Cursor.put(DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
Inserts or updates a record according to the specified
Put
type. |
OperationResult |
SecondaryDatabase.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
This operation is not allowed on a secondary database.
|
OperationResult |
Database.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
Put putType,
WriteOptions options)
Inserts or updates a record according to the specified
Put
type. |
static OperationResult |
DbInternal.putForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LN ln,
int expiration,
boolean expirationInHours,
PutMode putMode,
ReplicationContext repContext)
Proxy to Cursor.putForReplay()
|
static OperationResult |
DbInternal.putWithRepContext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
PutMode putMode,
ReplicationContext repContext)
Proxy to Cursor.putWithRepContext()
|
static OperationResult |
DbInternal.retrieveNext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
GetMode getMode)
Proxy to Cursor.retrieveNext().
|
static OperationResult |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
ReadOptions options)
Finds the key according to the Search param.
|
static OperationResult |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
CacheMode cacheMode,
SearchMode searchMode,
boolean countOpStat)
Proxy to Cursor.search().
|
static OperationResult |
DbInternal.searchBoth(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
ReadOptions options)
Searches with the dups for the given key and finds the dup matching the
pKey value, according to the Search param.
|
static OperationResult |
DbInternal.searchForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
SearchMode searchMode)
Proxy to Cursor.searchForReplay().
|
| Modifier and Type | Method and Description |
|---|---|
OperationResult |
CursorImpl.deleteCurrentRecord(ReplicationContext repContext)
Delete the item pointed to by the cursor.
|
OperationResult |
MetadataStore.get(String key,
DatabaseEntry data) |
OperationResult |
DiskOrderedCursorImpl.getCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData) |
OperationResult |
CursorImpl.getCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData)
Copy current record into the key and data DatabaseEntry.
|
OperationResult |
DiskOrderedCursorImpl.getNext(DatabaseEntry foundKey,
DatabaseEntry foundData) |
OperationResult |
CursorImpl.getNext(DatabaseEntry foundKey,
DatabaseEntry foundData,
LockType lockType,
boolean dirtyReadAll,
boolean forward,
boolean isLatched,
RangeConstraint rangeConstraint)
Move the cursor forward and return the next "valid" record.
|
OperationResult |
CursorImpl.insertOrUpdateRecord(DatabaseEntry key,
DatabaseEntry data,
LN ln,
ExpirationInfo expInfo,
PutMode putMode,
DatabaseEntry returnOldData,
DatabaseEntry returnNewData,
ReplicationContext repContext)
Insert or update a given record.
|
OperationResult |
CursorImpl.lockAndGetCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData,
LockType lockType)
Lock and copy current record into the key and data DatabaseEntry.
|
OperationResult |
CursorImpl.lockAndGetCurrent(DatabaseEntry foundKey,
DatabaseEntry foundData,
LockType lockType,
boolean dirtyReadAll,
boolean isLatched,
boolean unlatch)
Let S be the slot where this cursor is currently positioned on.
|
OperationResult |
MetadataStore.put(String key,
DatabaseEntry data) |
OperationResult |
CursorImpl.updateCurrentRecord(DatabaseEntry key,
DatabaseEntry data,
ExpirationInfo expInfo,
DatabaseEntry returnOldData,
DatabaseEntry returnNewData,
ReplicationContext repContext)
Modify the current record with the given data, and optionally replace
the key.
|
| Modifier and Type | Method and Description |
|---|---|
OperationResult |
EntityIndex.delete(Transaction txn,
K key,
WriteOptions options)
Deletes all entities with a given index key, using a WriteOptions
parameter and returning an OperationResult.
|
OperationResult |
EntityCursor.delete(WriteOptions options)
Deletes the entity at the cursor position, using a WriteOptions
parameter and returning an OperationResult.
|
OperationResult |
PrimaryIndex.put(Transaction txn,
E entity,
Put putType,
WriteOptions options)
Inserts or updates an entity, using Put type and WriteOptions
parameters, and returning an OperationResult.
|
OperationResult |
EntityResult.result()
Returns the OperationResult resulting from the operation.
|
OperationResult |
EntityCursor.update(V entity,
WriteOptions options)
Replaces the entity at the cursor position with the given entity,
using a WriteOptions parameter and returning an OperationResult.
|
Copyright © 2024. All rights reserved.