Package | Description |
---|---|
com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
Modifier and Type | Method and Description |
---|---|
OperationStatus |
Cursor.delete()
Deletes the key/data pair to which the cursor refers.
|
OperationStatus |
SecondaryCursor.delete()
Delete the key/data pair to which the cursor refers from the primary
database and all secondary indices.
|
OperationStatus |
Database.delete(Transaction txn,
DatabaseEntry key)
Removes key/data pairs from the database.
|
OperationStatus |
SecondaryDatabase.delete(Transaction txn,
DatabaseEntry key)
Deletes the primary key/data pair associated with the specified
secondary key.
|
static OperationStatus |
DbInternal.deleteInternal(Cursor cursor,
com.sleepycat.je.log.ReplicationContext repContext)
Proxy to Cursor.deleteInternal()
|
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key.
|
OperationStatus |
Database.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key.
|
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
ForwardCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
Cursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
DiskOrderedCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers.
|
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getFirst(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the first key/data pair of the database, and return
that pair.
|
OperationStatus |
Cursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the first key/data pair of the database, and returns
that pair.
|
OperationStatus |
SecondaryCursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getLast(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the last key/data pair of the database, and return
that pair.
|
OperationStatus |
Cursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the last key/data pair of the database, and returns
that pair.
|
OperationStatus |
SecondaryCursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the next key/data pair and return that pair.
|
OperationStatus |
ForwardCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the next primary key and data resulting from the join operation.
|
OperationStatus |
Cursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
DiskOrderedCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair.
|
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
LockMode lockMode)
Returns the next primary key resulting from the join operation.
|
OperationStatus |
SecondaryCursor.getNextDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode 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.
|
OperationStatus |
Cursor.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for
the current key/data pair, moves the cursor to the next key/data pair of
the database and returns that pair.
|
OperationStatus |
SecondaryCursor.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the next non-duplicate key/data pair and return that
pair.
|
OperationStatus |
Cursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the previous key/data pair and return that pair.
|
OperationStatus |
Cursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair.
|
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode 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.
|
OperationStatus |
Cursor.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record
for the current key/data pair, moves the cursor to the previous key/data
pair of the database and returns that pair.
|
OperationStatus |
SecondaryCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the previous non-duplicate key/data pair and return
that pair.
|
OperationStatus |
Cursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns
that pair.
|
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the specified secondary and primary key, where both
the primary and secondary key items must match.
|
OperationStatus |
Cursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key/data pair, where both the key and
data items must match.
|
OperationStatus |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
OperationStatus |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the specified secondary and primary
key, that is, both the primary and secondary key items must match.
|
OperationStatus |
Database.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key and data value, that is,
both the key and data items must match.
|
OperationStatus |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the specified secondary key and closest matching
primary key of the database.
|
OperationStatus |
Cursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key and closest matching data item of
the database.
|
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature.
|
OperationStatus |
SecondaryCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the given key of the database, and return the datum
associated with the given key.
|
OperationStatus |
Cursor.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the given key of the database, and returns the datum
associated with the given key.
|
OperationStatus |
SecondaryCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Move the cursor to the closest matching key of the database, and return
the data item associated with the matching key.
|
OperationStatus |
Cursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the closest matching key of the database, and
returns the data item associated with the matching key.
|
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode) |
static OperationStatus |
DbInternal.position(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode,
boolean first)
Proxy to Cursor.position().
|
OperationStatus |
Cursor.put(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryCursor.put(DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Database.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Stores the key/data pair into the database.
|
OperationStatus |
SecondaryDatabase.put(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Cursor.putCurrent(DatabaseEntry data)
Replaces the data in the key/data pair at the current cursor position.
|
OperationStatus |
SecondaryCursor.putCurrent(DatabaseEntry data)
This operation is not allowed on a secondary database.
|
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()
|
OperationStatus |
Cursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryCursor.putNoDupData(DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Database.putNoDupData(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Stores the key/data pair into the database if it does not already appear
in the database.
|
OperationStatus |
SecondaryDatabase.putNoDupData(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Cursor.putNoOverwrite(DatabaseEntry key,
DatabaseEntry data)
Stores a key/data pair into the database.
|
OperationStatus |
SecondaryCursor.putNoOverwrite(DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
OperationStatus |
Database.putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
Stores the key/data pair into the database if the key does not already
appear in the database.
|
OperationStatus |
SecondaryDatabase.putNoOverwrite(Transaction txn,
DatabaseEntry key,
DatabaseEntry data)
This operation is not allowed on a secondary database.
|
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 OperationStatus |
OperationStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationStatus[] |
OperationStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.