![]() |
Storage Engine API
|
This is a smart pointer that wraps a WT_CURSOR and knows how to obtain and get from pool. More...
#include <wiredtiger_recovery_unit.h>
This is a smart pointer that wraps a WT_CURSOR and knows how to obtain and get from pool.
Public Member Functions | |
WiredTigerCursor (const std::string &uri, uint64_t tableID, bool forRecordStore, OperationContext *opCtx) | |
~WiredTigerCursor () | |
WT_CURSOR * | get () const |
WT_CURSOR * | operator-> () const |
WiredTigerSession * | getSession () |
void | reset () |
void | assertInActiveTxn () const |
Private Attributes | |
uint64_t | _tableID |
WiredTigerRecoveryUnit * | _ru |
WiredTigerSession * | _session |
WT_CURSOR * | _cursor |
mongo::WiredTigerCursor::WiredTigerCursor | ( | const std::string & | uri, |
uint64_t | tableID, | ||
bool | forRecordStore, | ||
OperationContext * | opCtx | ||
) |
mongo::WiredTigerCursor::~WiredTigerCursor | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void mongo::WiredTigerCursor::reset | ( | ) |
|
private |
|
private |
|
private |
|
private |