Package | Description |
---|---|
com.sleepycat.client |
Modifier and Type | Class and Description |
---|---|
class |
SDatabaseEntry
Encodes database key and data items as a byte array.
|
class |
SMultipleDataEntry
A container that holds multiple data
SDatabaseEntry s returned by a
single SDatabase or SCursor get call. |
class |
SMultipleKeyDataEntry
A container that holds multiple key / data item pairs.
|
class |
SMultiplePairs
An abstract class representing a container that holds multiple key/data
SDatabaseEntry pairs. |
class |
SMultipleRecnoDataEntry
A container that holds multiple record number / data item pairs.
|
Modifier and Type | Method and Description |
---|---|
protected TCursorGetConfig |
SCursor.createConfig(SDatabaseEntryBase data,
SLockMode lockMode) |
protected TDbGetConfig |
SDatabase.createConfig(SDatabaseEntryBase data,
SLockMode lockMode) |
default TKeyData |
GetHelper.createGetSearchTerm(SDatabaseEntry key,
SDatabaseEntryBase data)
This method helps to create the TKeyData argument used in a remote get
call.
|
SOperationStatus |
SDatabase.get(STransaction txn,
SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Retrieves the key/data pair with the given key from the database.
|
SOperationStatus |
SCursor.getCurrent(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
SOperationStatus |
SCursor.getFirst(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the first key/data pair of the database, and return
that pair.
|
SOperationStatus |
SCursor.getNext(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the next key/data pair and return that pair.
|
SOperationStatus |
SCursor.getNextDup(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
If the next key/data pair of the database is a duplicate data record for
the current key/data pair, move the cursor to the next key/data pair of
the database and return that pair.
|
SOperationStatus |
SCursor.getNextNoDup(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the next non-duplicate key/data pair and return that
pair.
|
SOperationStatus |
SCursor.getSearchBoth(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the specified key/data pair, where both the key and
data items must match.
|
SOperationStatus |
SDatabase.getSearchBoth(STransaction txn,
SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Retrieves the key/data pair with the given key and data value, that is,
both the key and data items must match.
|
SOperationStatus |
SCursor.getSearchBothRange(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the specified key and matching data item of the
database.
|
SOperationStatus |
SCursor.getSearchKey(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the given key of the database, and return the datum
associated with the given key.
|
SOperationStatus |
SCursor.getSearchKeyRange(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the closest matching key of the database, and return
the data item associated with the matching key.
|
SOperationStatus |
SCursor.getSearchRecordNumber(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Move the cursor to the specific numbered record of the database, and
return the associated key/data pair.
|
SOperationStatus |
SDatabase.getSearchRecordNumber(STransaction txn,
SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Retrieves the key/data pair associated with the specific numbered record
of the database.
|
default SOperationStatus |
GetHelper.remoteGet(SDatabaseEntry key,
SDatabaseEntryBase data,
GetHelper.RemoteGetFunction getFunc) |
default void |
GetHelper.updateKeyData(SDatabaseEntry key,
SDatabaseEntryBase data,
java.util.List<TKeyData> pairs)
This method helps to update the output arguments of a get call, using
values returned from a remote get call.
|
Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.