| 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.rep.util.ldiff |
INTERNAL: LDiff debugging utility for comparing databases on different
nodes in a group.
|
| com.sleepycat.util.keyrange |
INTERNAL: Key range cursor operations for use in collections API and DPL.
|
| Modifier and Type | Method and Description |
|---|---|
static OperationStatus |
DbCompat.getCurrentRecordNumber(Cursor cursor,
DatabaseEntry key,
LockMode lockMode) |
static OperationStatus |
DbCompat.getSearchRecordNumber(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
static OperationStatus |
DbCompat.putAfter(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data) |
static OperationStatus |
DbCompat.putBefore(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data) |
| Modifier and Type | Class and Description |
|---|---|
class |
SecondaryCursor
A database cursor for a secondary database.
|
| Modifier and Type | Method and Description |
|---|---|
Cursor |
Cursor.dup(boolean samePosition)
Returns a new cursor with the same transaction and locker ID as the
original cursor.
|
static Cursor[] |
DbInternal.getSortedCursors(JoinCursor cursor)
Proxy to JoinCursor.getSortedCursors()
|
static Cursor |
DbInternal.makeCursor(DatabaseImpl databaseImpl,
Locker locker,
CursorConfig cursorConfig)
Create a Cursor for internal use from a DatabaseImpl.
|
static Cursor |
DbInternal.makeCursor(DatabaseImpl databaseImpl,
Locker locker,
CursorConfig cursorConfig,
boolean retainNonTxnLocks)
Create a Cursor for internal use from a DatabaseImpl, specifying
retainNonTxnLocks.
|
static Cursor |
DbInternal.makeCursor(Database dbHandle,
Locker locker,
CursorConfig cursorConfig)
Create a Cursor from a DatabaseHandle.
|
static Cursor |
DbInternal.makeCursor(Database dbHandle,
Locker locker,
CursorConfig cursorConfig,
boolean retainNonTxnLocks) |
Cursor |
Database.openCursor(Transaction txn,
CursorConfig cursorConfig)
Returns a cursor into the database.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
DbInternal.advanceCursor(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data)
Proxy to Cursor.advanceCursor()
|
static OperationResult |
DbInternal.deleteInternal(Cursor cursor,
ReplicationContext repContext)
Proxy to Cursor.deleteInternal()
|
static OperationResult |
DbInternal.deleteWithRepContext(Cursor cursor,
ReplicationContext repContext)
Proxy to Cursor.deleteWithRepContext()
|
static void |
DbInternal.excludeFromOpStats(Cursor cursor)
Proxy to Cursor.excludeFromOpStats
|
static CursorImpl |
DbInternal.getCursorImpl(Cursor cursor)
Proxy to Cursor.getCursorImpl()
|
JoinCursor |
SecondaryDatabase.join(Cursor[] cursors,
JoinConfig config)
This operation is not allowed on a secondary database.
|
JoinCursor |
Database.join(Cursor[] cursors,
JoinConfig config)
Creates a specialized join cursor for use in performing equality or
natural joins on secondary indices.
|
static OperationResult |
DbInternal.position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to Cursor.position().
|
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 boolean |
DbInternal.readPrimaryAfterGet(Cursor cursor,
Database priDb,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode,
boolean secDirtyRead,
boolean lockPrimaryOnly,
boolean allowNoData,
Locker locker,
SecondaryDatabase secDb,
SecondaryAssociation secAssoc)
Proxy to Cursor.readPrimaryAfterGet
|
static OperationResult |
DbInternal.retrieveNext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
GetMode getMode)
Proxy to Cursor.retrieveNext().
|
static OperationStatus |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Deprecated.
use new-style API below instead.
|
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 OperationStatus |
DbInternal.searchBoth(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Deprecated.
use new-style API below instead.
|
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().
|
static void |
DbInternal.setNonCloning(Cursor cursor,
boolean nonSticky)
Deprecated.
use
CursorConfig.setNonSticky(boolean) instead. |
| Modifier and Type | Method and Description |
|---|---|
static HashSet<Record> |
DiffRecordAnalyzer.getDiffArea(Cursor cursor,
Protocol.RemoteDiffRequest request) |
static Block |
LDiffUtil.readBlock(int blockId,
Cursor cursor,
int numKeys) |
| Constructor and Description |
|---|
Window(Cursor cursor,
int windowSize)
Create a window of the given size, starting at the next record pointed
at by the Cursor.
|
| Modifier and Type | Method and Description |
|---|---|
protected Cursor |
RangeCursor.dupCursor(Cursor cursor,
boolean samePosition)
Dups the given cursor.
|
Cursor |
RangeCursor.getCursor()
Returns the underlying cursor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RangeCursor.closeCursor(Cursor cursor)
Closes the given cursor.
|
protected Cursor |
RangeCursor.dupCursor(Cursor cursor,
boolean samePosition)
Dups the given cursor.
|
| Constructor and Description |
|---|
RangeCursor(KeyRange range,
KeyRange pkRange,
boolean sortedDups,
Cursor cursor)
Creates a range cursor with a duplicate range.
|
Copyright © 2024. All rights reserved.