Python wrapper around C WT_CURSOR. More...
Inherits object.
Public Member Functions | |
| def | __init__ |
| def | next |
| next(self) -> int More... | |
| def | prev |
| prev(self) -> int More... | |
| def | reset |
| reset(self) -> int More... | |
| def | search |
| search(self) -> int More... | |
| def | insert |
| insert(self) -> int More... | |
| def | update |
| update(self) -> int More... | |
| def | remove |
| remove(self) -> int More... | |
| def | close |
| close(self, config) -> int More... | |
| def | compare |
| compare(self, other) -> int | |
| def | search_near |
| search_near(self) -> int | |
| def | get_key |
| get_key(self) -> object More... | |
| def | get_keys |
| get_keys(self) -> (object, ...) More... | |
| def | get_value |
| get_value(self) -> object More... | |
| def | get_values |
| get_values(self) -> (object, ...) More... | |
| def | set_key |
| set_key(self) -> None More... | |
| def | set_value |
| set_value(self) -> None More... | |
| def | __iter__ |
| Cursor objects support iteration, equivalent to calling WT_CURSOR::next until it returns WT_NOTFOUND. More... | |
| def | __getitem__ |
| Python convenience for searching. | |
Public Attributes | |
| this | |
Static Public Attributes | |
| tuple | thisown |
| tuple | session |
| tuple | uri |
Python wrapper around C WT_CURSOR.
| def wiredtiger.Cursor.__iter__ | ( | self | ) |
Cursor objects support iteration, equivalent to calling WT_CURSOR::next until it returns WT_NOTFOUND.
| def wiredtiger.Cursor.close | ( | self, | |
| args | |||
| ) |
close(self, config) -> int
Close the cursor.
| def wiredtiger.Cursor.get_key | ( | self | ) |
get_key(self) -> object
Get the key for the current record.
| def wiredtiger.Cursor.get_keys | ( | self | ) |
get_keys(self) -> (object, ...)
Get the key for the current record.
| def wiredtiger.Cursor.get_value | ( | self | ) |
get_value(self) -> object
Get the value for the current record.
| def wiredtiger.Cursor.get_values | ( | self | ) |
get_values(self) -> (object, ...)
Get the value for the current record.
| def wiredtiger.Cursor.insert | ( | self, | |
| args | |||
| ) |
insert(self) -> int
Insert a record, and optionally overwrite an existing record.
| def wiredtiger.Cursor.next | ( | self, | |
| args | |||
| ) |
next(self) -> int
Return the next record.
| def wiredtiger.Cursor.prev | ( | self, | |
| args | |||
| ) |
prev(self) -> int
Return the previous record.
| def wiredtiger.Cursor.remove | ( | self, | |
| args | |||
| ) |
remove(self) -> int
Remove a record.
| def wiredtiger.Cursor.reset | ( | self, | |
| args | |||
| ) |
reset(self) -> int
Reset the position of the cursor.
| def wiredtiger.Cursor.search | ( | self, | |
| args | |||
| ) |
search(self) -> int
Move to the record matching the key.
| def wiredtiger.Cursor.set_key | ( | self, | |
| args | |||
| ) |
set_key(self) -> None
Set the key for the next operation.
| def wiredtiger.Cursor.set_value | ( | self, | |
| args | |||
| ) |
set_value(self) -> None
Set the value for the next operation.
| def wiredtiger.Cursor.update | ( | self, | |
| args | |||
| ) |
update(self) -> int
Update a record.