CmdInterpreter::TxnHandle Struct Reference

Handle type which combines a database with a txn. More...

#include <CmdInterpreter.h>

List of all members.

Public Member Functions

 TxnHandle ()
virtual ~TxnHandle ()

Public Attributes

SharedDatabase pDb
SharedLogicalTxn pTxn
SharedFtrsTableWriterFactory pFtrsTableWriterFactory
bool readOnly
SharedExecStreamGovernor pResourceGovernor
SharedSegment pSnapshotSegment
 If the database supports snapshots, the snapshot segment associated with the current transaction.
SharedSegment pReadCommittedSnapshotSegment
 If the database supports snapshots, the snapshot segment associated with the current transaction that is used in cases where reads ignore uncommitted data, including those created by the current transaction.


Detailed Description

Handle type which combines a database with a txn.

Definition at line 73 of file CmdInterpreter.h.


Constructor & Destructor Documentation

CmdInterpreter::TxnHandle::TxnHandle (  )  [inline, explicit]

Definition at line 93 of file CmdInterpreter.h.

00094             : readOnly(false)
00095             {
00096             }

CmdInterpreter::TxnHandle::~TxnHandle (  )  [virtual]

Definition at line 154 of file CmdInterpreter.cpp.

References JniUtil::decrementHandleCount().

00155 {
00156     JniUtil::decrementHandleCount(TXNHANDLE_TRACE_TYPE_STR, this);
00157 }


Member Data Documentation

SharedDatabase CmdInterpreter::TxnHandle::pDb

Definition at line 75 of file CmdInterpreter.h.

Referenced by CmdInterpreter::dropOrTruncateIndex(), CmdInterpreter::getBTreeForIndexCmd(), Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().

SharedLogicalTxn CmdInterpreter::TxnHandle::pTxn

Definition at line 76 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().

SharedFtrsTableWriterFactory CmdInterpreter::TxnHandle::pFtrsTableWriterFactory

Definition at line 77 of file CmdInterpreter.h.

Referenced by CmdInterpreter::visit().

bool CmdInterpreter::TxnHandle::readOnly

Definition at line 78 of file CmdInterpreter.h.

Referenced by CmdInterpreter::visit().

SharedExecStreamGovernor CmdInterpreter::TxnHandle::pResourceGovernor

Definition at line 79 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().

SharedSegment CmdInterpreter::TxnHandle::pSnapshotSegment

If the database supports snapshots, the snapshot segment associated with the current transaction.

Definition at line 84 of file CmdInterpreter.h.

Referenced by CmdInterpreter::getBTreeForIndexCmd(), Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().

SharedSegment CmdInterpreter::TxnHandle::pReadCommittedSnapshotSegment

If the database supports snapshots, the snapshot segment associated with the current transaction that is used in cases where reads ignore uncommitted data, including those created by the current transaction.

Definition at line 91 of file CmdInterpreter.h.

Referenced by Java_net_sf_farrago_fennel_FennelStorage_tupleStreamGraphOpen(), and CmdInterpreter::visit().


The documentation for this struct was generated from the following files:
Generated on Mon Jun 22 04:00:28 2009 for Fennel by  doxygen 1.5.1