Home | Trees | Indices | Help |
|
---|
|
Interface of cursor to indicate a record.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Method Details |
Disable the cursor.
Note: This method should be called explicitly when the cursor is no longer in use. |
Accept a visitor to the current record.
Note: The operation for each record is performed atomically and other threads accessing the same record are blocked. To avoid deadlock, any explicit database operation must not be performed in this method. |
Set the value of the current record.
|
Remove the current record.
Note: If no record corresponds to the key, false is returned. The cursor is moved to the next record implicitly. |
Get the key of the current record.
Note: If the cursor is invalidated, None is returned. |
Get the key of the current record. Note: Equal to the original Cursor::get_key method except that the return value is string. |
Get the value of the current record.
Note: If the cursor is invalidated, None is returned. |
Get the value of the current record. Note: Equal to the original Cursor::get_value method except that the return value is string. |
Get a pair of the key and the value of the current record.
Note: If the cursor is invalidated, None is returned. |
Get a pair of the key and the value of the current record. Note: Equal to the original Cursor::get method except that the return value is string. |
Get a pair of the key and the value of the current record and remove it atomically.
Note: If the cursor is invalidated, None is returned. The cursor is moved to the next record implicitly. |
Get a pair of the key and the value of the current record and remove it atomically. Note: Equal to the original Cursor::seize method except that the return value is string. |
Jump the cursor to a record for forward scan.
|
Jump the cursor to a record for backward scan.
Note: This method is dedicated to tree databases. Some database types, especially hash databases, will provide a dummy implementation. |
Step the cursor to the next record.
|
Step the cursor to the previous record.
Note: This method is dedicated to tree databases. Some database types, especially hash databases, may provide a dummy implementation. |
Get the database object.
|
Get the last happened error.
|
Get the representing expression.
|
Get the string expression.
|
Get the next key.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri May 25 01:00:16 2012 | http://epydoc.sourceforge.net |