Package | Description |
---|---|
com.sleepycat.client |
Modifier and Type | Method and Description |
---|---|
SOperationStatus |
SCursor.delete()
Delete the key/data pair to which the cursor refers.
|
SOperationStatus |
SDatabase.delete(STransaction txn,
SDatabaseEntry key)
Remove key/data pairs from the database.
|
SOperationStatus |
SDatabase.deleteMultiple(STransaction txn,
SMultipleDataEntry keys)
Remove key/data pairs from the database.
|
SOperationStatus |
SDatabase.deleteMultipleKey(STransaction txn,
SMultiplePairs pairs)
Remove key/data pairs from the database.
|
SOperationStatus |
SDatabase.exists(STransaction txn,
SDatabaseEntry key)
Checks if the specified key appears in the database.
|
SOperationStatus |
SDatabase.get(STransaction txn,
SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Retrieves the key/data pair with the given key from the database.
|
SOperationStatus |
SSecondaryDatabase.get(STransaction txn,
SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Retrieves the secondary key / primary key / primary data tuple with the
given secondary key.
|
SOperationStatus |
SCursor.getCurrent(SDatabaseEntry key,
SDatabaseEntryBase data,
SLockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
SOperationStatus |
SSecondaryCursor.getCurrent(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
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 |
SSecondaryCursor.getFirst(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the first key/data pair of the database, and return
that pair.
|
SOperationStatus |
SSecondaryCursor.getLast(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the last key/data pair of the database, and return
that pair.
|
SOperationStatus |
SCursor.getLast(SDatabaseEntry key,
SDatabaseEntry data,
SLockMode lockMode)
Move the cursor to the last 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 |
SSecondaryCursor.getNext(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the next key/data pair and return that pair.
|
SOperationStatus |
SJoinCursor.getNext(SDatabaseEntry key,
SDatabaseEntry data,
SLockMode lockMode)
Returns the next primary key and data resulting from the join operation.
|
SOperationStatus |
SJoinCursor.getNext(SDatabaseEntry key,
SLockMode lockMode)
Returns the next primary key resulting from the join operation.
|
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 |
SSecondaryCursor.getNextDup(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
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 |
SSecondaryCursor.getNextNoDup(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the next non-duplicate key/data pair and return that
pair.
|
SOperationStatus |
SSecondaryCursor.getPrev(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the previous key/data pair and return that pair.
|
SOperationStatus |
SCursor.getPrev(SDatabaseEntry key,
SDatabaseEntry data,
SLockMode lockMode)
Move the cursor to the previous key/data pair and return that pair.
|
SOperationStatus |
SSecondaryCursor.getPrevDup(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
If the previous key/data pair of the database is a duplicate data record
for the current key/data pair, move the cursor to the previous key/data
pair of the database and return that pair.
|
SOperationStatus |
SCursor.getPrevDup(SDatabaseEntry key,
SDatabaseEntry data,
SLockMode lockMode)
If the previous key/data pair of the database is a duplicate data record
for the current key/data pair, move the cursor to the previous key/data
pair of the database and return that pair.
|
SOperationStatus |
SSecondaryCursor.getPrevNoDup(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the previous non-duplicate key/data pair and return
that pair.
|
SOperationStatus |
SCursor.getPrevNoDup(SDatabaseEntry key,
SDatabaseEntry data,
SLockMode lockMode)
Move the cursor to the previous non-duplicate key/data pair and return
that pair.
|
SOperationStatus |
SSecondaryCursor.getRecordNumber(SDatabaseEntry secondaryRecno,
SDatabaseEntry primaryRecno,
SLockMode lockMode)
Return the record number associated with the cursor.
|
SOperationStatus |
SCursor.getRecordNumber(SDatabaseEntry data,
SLockMode lockMode)
Return the record number associated with the cursor.
|
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 |
SSecondaryCursor.getSearchBoth(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the specified secondary and primary key, where both
the primary and secondary key 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 |
SSecondaryDatabase.getSearchBoth(STransaction txn,
SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Retrieves the key/data pair with the specified secondary and primary
key, that is, both the primary and secondary key 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 |
SSecondaryCursor.getSearchBothRange(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Move the cursor to the specified secondary key and closest matching
primary key 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 |
SSecondaryCursor.getSearchKey(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
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 |
SSecondaryCursor.getSearchKeyRange(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
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 |
SSecondaryCursor.getSearchRecordNumber(SDatabaseEntry secondaryRecno,
SDatabaseEntry pKey,
SDatabaseEntry pData,
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.
|
SOperationStatus |
SSecondaryDatabase.getSearchRecordNumber(STransaction txn,
SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
SLockMode lockMode)
Retrieves the key/data pair associated with the specific numbered record
of the database.
|
SOperationStatus |
SCursor.put(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SDatabase.put(STransaction txn,
SDatabaseEntry key,
SDatabaseEntry data)
Store the key/data pair into the database.
|
SOperationStatus |
SCursor.putAfter(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SCursor.putBefore(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SCursor.putCurrent(SDatabaseEntry data)
Replaces the data in the key/data pair at the current cursor position.
|
SOperationStatus |
SCursor.putKeyFirst(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SCursor.putKeyLast(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SDatabase.putMultipleKey(STransaction txn,
SMultiplePairs pairs,
boolean overwrite)
Store a set of key/data pairs into the database.
|
SOperationStatus |
SCursor.putNoDupData(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SDatabase.putNoDupData(STransaction txn,
SDatabaseEntry key,
SDatabaseEntry data)
Store the key/data pair into the database if it does not already appear
in the database.
|
SOperationStatus |
SCursor.putNoOverwrite(SDatabaseEntry key,
SDatabaseEntry data)
Store a key/data pair into the database.
|
SOperationStatus |
SDatabase.putNoOverwrite(STransaction txn,
SDatabaseEntry key,
SDatabaseEntry data)
Store the key/data pair into the database if the key does not already
appear in the database.
|
default SOperationStatus |
GetHelper.remoteGet(SDatabaseEntry key,
SDatabaseEntryBase data,
GetHelper.RemoteGetFunction getFunc) |
default SOperationStatus |
GetHelper.remotePGet(SDatabaseEntry sKey,
SDatabaseEntry pKey,
SDatabaseEntry pData,
GetHelper.RemotePGetFunction pGetFunc) |
default SOperationStatus |
PutHelper.remotePut(java.util.List<TKeyDataWithSecondaryKeys> pairs,
SDatabaseEntry retKey,
PutHelper.RemotePutFunction func) |
static SOperationStatus |
SOperationStatus.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SOperationStatus[] |
SOperationStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.