Python wrapper around C WT_SESSION. More...
Inherits object.
Public Member Functions | |
| def | __init__ |
| def | close |
| close(self, config) -> int More... | |
| def | reconfigure |
| reconfigure(self, config) -> int More... | |
| def | open_cursor |
| open_cursor(self, uri, to_dup, config) -> int More... | |
| def | create |
| create(self, name, config) -> int More... | |
| def | compact |
| compact(self, name, config) -> int More... | |
| def | drop |
| drop(self, name, config) -> int More... | |
| def | rename |
| rename(self, oldname, newname, config) -> int More... | |
| def | salvage |
| salvage(self, name, config) -> int More... | |
| def | truncate |
| truncate(self, name, start, stop, config) -> int More... | |
| def | upgrade |
| upgrade(self, name, config) -> int More... | |
| def | verify |
| verify(self, name, config) -> int More... | |
| def | begin_transaction |
| begin_transaction(self, config) -> int More... | |
| def | commit_transaction |
| commit_transaction(self, config) -> int More... | |
| def | rollback_transaction |
| rollback_transaction(self, config) -> int More... | |
| def | checkpoint |
| checkpoint(self, config) -> int More... | |
| def | msg_printf |
| msg_printf(self, fmt) -> int More... | |
Public Attributes | |
| this | |
Static Public Attributes | |
| tuple | thisown |
| tuple | connection |
Python wrapper around C WT_SESSION.
| def wiredtiger.Session.begin_transaction | ( | self, | |
| args | |||
| ) |
begin_transaction(self, config) -> int
Start a transaction in this session.
| def wiredtiger.Session.checkpoint | ( | self, | |
| args | |||
| ) |
checkpoint(self, config) -> int
Write a transactionally consistent snapshot of a database or set of objects.
| def wiredtiger.Session.close | ( | self, | |
| args | |||
| ) |
close(self, config) -> int
Close the session handle.
| def wiredtiger.Session.commit_transaction | ( | self, | |
| args | |||
| ) |
commit_transaction(self, config) -> int
Commit the current transaction.
| def wiredtiger.Session.compact | ( | self, | |
| args | |||
| ) |
compact(self, name, config) -> int
Compact an object.
| def wiredtiger.Session.create | ( | self, | |
| args | |||
| ) |
create(self, name, config) -> int
Create a table, column group, index or file.
| def wiredtiger.Session.drop | ( | self, | |
| args | |||
| ) |
drop(self, name, config) -> int
Drop (delete) an object.
| def wiredtiger.Session.msg_printf | ( | self, | |
| args | |||
| ) |
msg_printf(self, fmt) -> int
Send a string to the message handler for debugging.
| def wiredtiger.Session.open_cursor | ( | self, | |
| args | |||
| ) |
open_cursor(self, uri, to_dup, config) -> int
Open a new cursor on a data source or duplicate an existing cursor.
| def wiredtiger.Session.reconfigure | ( | self, | |
| args | |||
| ) |
reconfigure(self, config) -> int
Reconfigure a session handle.
| def wiredtiger.Session.rename | ( | self, | |
| args | |||
| ) |
rename(self, oldname, newname, config) -> int
Rename an object.
| def wiredtiger.Session.rollback_transaction | ( | self, | |
| args | |||
| ) |
rollback_transaction(self, config) -> int
Roll back the current transaction.
| def wiredtiger.Session.salvage | ( | self, | |
| args | |||
| ) |
salvage(self, name, config) -> int
Salvage a file or table.
| def wiredtiger.Session.truncate | ( | self, | |
| args | |||
| ) |
truncate(self, name, start, stop, config) -> int
Truncate a file, table or cursor range.
| def wiredtiger.Session.upgrade | ( | self, | |
| args | |||
| ) |
upgrade(self, name, config) -> int
Upgrade a file or table.
| def wiredtiger.Session.verify | ( | self, | |
| args | |||
| ) |
verify(self, name, config) -> int
Verify a file or table.