Berkeley DB
version 4.3.29

Uses of Class
com.sleepycat.db.OperationStatus

Packages that use OperationStatus
com.sleepycat.db Berkeley DB Java API
[reference guide] [Java programming notes]
 

Uses of OperationStatus in com.sleepycat.db
 

Fields in com.sleepycat.db declared as OperationStatus
static OperationStatus OperationStatus.SUCCESS
          The operation was successful.
static OperationStatus OperationStatus.KEYEXIST
          The operation to insert data was configured to not allow overwrite and the key already exists in the database.
static OperationStatus OperationStatus.KEYEMPTY
          The cursor operation was unsuccessful because the current record was deleted.
static OperationStatus OperationStatus.NOTFOUND
          The requested key/data pair was not found.
 

Methods in com.sleepycat.db that return OperationStatus
 OperationStatus SecondaryDatabase.get(Transaction txn, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair with the given key.
 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 SecondaryDatabase.getSearchRecordNumber(Transaction txn, DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair associated with the specific numbered record of the database.
 OperationStatus SecondaryCursor.getCurrent(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Returns the key/data pair to which the cursor refers.
 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 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 SecondaryCursor.getNext(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the next key/data pair and return that pair.
 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 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 SecondaryCursor.getPrev(DatabaseEntry key, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the previous key/data pair and return that pair.
 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 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 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 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 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 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 SecondaryCursor.getRecordNumber(DatabaseEntry secondaryRecno, DatabaseEntry primaryRecno, LockMode lockMode)
          Return the record number associated with the cursor.
 OperationStatus SecondaryCursor.getSearchRecordNumber(DatabaseEntry secondaryRecno, DatabaseEntry pKey, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the specific numbered record of the database, and return the associated key/data pair.
 OperationStatus LogCursor.getCurrent(LogSequenceNumber lsn, DatabaseEntry data)
          Return the LogSequenceNumber and log record to which the log cursor currently refers.
 OperationStatus LogCursor.getNext(LogSequenceNumber lsn, DatabaseEntry data)
          Return the next LogSequenceNumber and log record.
 OperationStatus LogCursor.getFirst(LogSequenceNumber lsn, DatabaseEntry data)
          Return the first LogSequenceNumber and log record.
 OperationStatus LogCursor.getLast(LogSequenceNumber lsn, DatabaseEntry data)
          Return the last LogSequenceNumber and log record.
 OperationStatus LogCursor.getPrev(LogSequenceNumber lsn, DatabaseEntry data)
          Return the previous LogSequenceNumber and log record.
 OperationStatus LogCursor.set(LogSequenceNumber lsn, DatabaseEntry data)
          Return a specific log record.
 OperationStatus JoinCursor.getNext(DatabaseEntry key, LockMode lockMode)
          Returns the next primary key resulting from the join operation.
 OperationStatus JoinCursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Returns the next primary key and data resulting from the join operation.
 OperationStatus Database.delete(Transaction txn, DatabaseEntry key)
          Remove key/data pairs from the database.
 OperationStatus Database.get(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair with the given key.
 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 Database.put(Transaction txn, DatabaseEntry key, DatabaseEntry data)
           Store the key/data pair into the database.
 OperationStatus Database.append(Transaction txn, DatabaseEntry key, DatabaseEntry data)
           Append the key/data pair to the end of the database.
 OperationStatus Database.putNoOverwrite(Transaction txn, DatabaseEntry key, DatabaseEntry data)
           Store the key/data pair into the database if the key does not already appear in the database.
 OperationStatus Database.putNoDupData(Transaction txn, DatabaseEntry key, DatabaseEntry data)
           Store the key/data pair into the database if it does not already appear in the database.
 OperationStatus Database.consume(Transaction txn, DatabaseEntry key, DatabaseEntry data, boolean wait)
          Return the record number and data from the available record closest to the head of the queue, and delete the record.
 OperationStatus Database.getSearchRecordNumber(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Retrieves the key/data pair associated with the specific numbered record of the database.
 OperationStatus Cursor.delete()
          Delete the key/data pair to which the cursor refers.
 OperationStatus Cursor.put(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putNoOverwrite(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putNoDupData(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putCurrent(DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putAfter(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putBefore(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putKeyFirst(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.putKeyLast(DatabaseEntry key, DatabaseEntry data)
          Store a key/data pair into the database.
 OperationStatus Cursor.getCurrent(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Returns the key/data pair to which the cursor refers.
 OperationStatus Cursor.getFirst(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the first key/data pair of the database, and return that pair.
 OperationStatus Cursor.getLast(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the last key/data pair of the database, and return that pair.
 OperationStatus Cursor.getNext(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the next key/data pair 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, move the cursor to the next key/data pair of the database and return that pair.
 OperationStatus Cursor.getNextNoDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the next non-duplicate key/data pair and return that pair.
 OperationStatus Cursor.getPrev(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the previous key/data pair 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, move the cursor to the previous key/data pair of the database and return that pair.
 OperationStatus Cursor.getPrevNoDup(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the previous non-duplicate key/data pair and return that pair.
 OperationStatus Cursor.getSearchKey(DatabaseEntry key, 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.getSearchKeyRange(DatabaseEntry key, 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.getSearchBoth(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the specified key/data pair, where both the key and data items must match.
 OperationStatus Cursor.getSearchBothRange(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the specified key and closest matching data item of the database.
 OperationStatus Cursor.getRecordNumber(DatabaseEntry data, LockMode lockMode)
          Return the record number associated with the cursor.
 OperationStatus Cursor.getSearchRecordNumber(DatabaseEntry key, DatabaseEntry data, LockMode lockMode)
          Move the cursor to the specific numbered record of the database, and return the associated key/data pair.
 


Berkeley DB
version 4.3.29

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.