Package | Description |
---|---|
com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
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(com.sleepycat.je.dbi.DatabaseImpl databaseImpl,
com.sleepycat.je.txn.Locker locker,
CursorConfig cursorConfig)
Create a Cursor for internal use from a DatabaseImpl.
|
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 OperationStatus |
DbInternal.deleteInternal(Cursor cursor,
com.sleepycat.je.log.ReplicationContext repContext)
Proxy to Cursor.deleteInternal()
|
static com.sleepycat.je.dbi.CursorImpl |
DbInternal.getCursorImpl(Cursor cursor)
Proxy to Cursor.getCursorImpl()
|
JoinCursor |
Database.join(Cursor[] cursors,
JoinConfig config)
Creates a specialized join cursor for use in performing equality or
natural joins on secondary indices.
|
JoinCursor |
SecondaryDatabase.join(Cursor[] cursors,
JoinConfig config)
This operation is not allowed on a secondary database.
|
static OperationStatus |
DbInternal.position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to Cursor.position().
|
static OperationStatus |
DbInternal.putForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
com.sleepycat.je.tree.LN ln,
com.sleepycat.je.dbi.PutMode putMode,
com.sleepycat.je.log.ReplicationContext repContext)
Proxy to Cursor.putForReplay()
|
static OperationStatus |
DbInternal.retrieveNext(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
com.sleepycat.je.dbi.GetMode getMode)
Proxy to Cursor.retrieveNext().
|
static OperationStatus |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Finds the key according to the Search param.
|
static OperationStatus |
DbInternal.search(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
com.sleepycat.je.dbi.CursorImpl.SearchMode searchMode)
Proxy to Cursor.search().
|
static OperationStatus |
DbInternal.searchBoth(Cursor cursor,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
DbInternal.Search searchMode,
LockMode lockMode)
Searches with the dups for the given key and finds the dup matching the
pKey value, according to the Search param.
|
static OperationStatus |
DbInternal.searchForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
com.sleepycat.je.dbi.CursorImpl.SearchMode searchMode)
Proxy to Cursor.searchForReplay().
|
static void |
DbInternal.setNonCloning(Cursor cursor,
boolean nonSticky)
Deprecated.
use
CursorConfig.setNonSticky(boolean) instead. |
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.