Types.h File Reference

Go to the source code of this file.

Classes

struct  IntrusiveListNode
 See class IntrusiveList for details. More...
class  MaxU

Typedefs

typedef __int8 int8_t
typedef __int16 int16_t
typedef __int32 int32_t
typedef __int64 int64_t
typedef unsigned __int8 uint8_t
typedef unsigned __int16 uint16_t
typedef unsigned __int32 uint32_t
typedef unsigned __int64 uint64_t
typedef uint8_tPBuffer
typedef uint8_t const * PConstBuffer
typedef uint16_t Ucs2Char
typedef Ucs2CharUcs2Buffer
typedef Ucs2Char const * Ucs2ConstBuffer
typedef uint64_t FileSize
typedef uint TupleStorageByteLength
typedef uint64_t SegVersionNum
typedef uint64_t MagicNumber
typedef char const *const ParamName
 ParamName can be used to declare static string symbolic constants serving as typo-safe parameter names.
typedef char const *const ParamVal
 ParamName can be used to declare static string symbolic constants serving as early-bound parameter values.
typedef int LogicalActionType
typedef std::set< PageId > PageSet
typedef PageSet::const_iterator PageSetConstIter
typedef uint64_t RecordNum
 Record count or number.
typedef uint ExtentNum
 Extent count or number.
typedef uint BlockNum
 Block count or number.

Enumerations

enum  { ETERNITY = 0xFFFFFFFF }
enum  LockMode { LOCKMODE_S, LOCKMODE_X, LOCKMODE_S_NOWAIT, LOCKMODE_X_NOWAIT }
 LockMode enumerates various common lock modes. More...
enum  CheckpointType { CHECKPOINT_DISCARD, CHECKPOINT_FLUSH_AND_UNMAP, CHECKPOINT_FLUSH_ALL, CHECKPOINT_FLUSH_FUZZY }
 CheckpointType enumerations checkpoint types; precise meaning varies with context. More...
enum  DuplicateSeek { DUP_SEEK_ANY, DUP_SEEK_BEGIN, DUP_SEEK_END }
 Options for how to deal with detection of a duplicate key while searching. More...
enum  SeekPosition { SEEK_STREAM_BEGIN, SEEK_STREAM_END }
 SeekPosition enumerates the two possible endpoints for a seek. More...

Functions

template<class tU>
bool isMAXU (tU u)
 DEFINE_OPAQUE_INTEGER (PageOwnerId, uint64_t)
 DEFINE_OPAQUE_INTEGER (DeviceId, uint)
 DEFINE_OPAQUE_INTEGER (SegmentId, uint)
 DEFINE_OPAQUE_INTEGER (BlockId, uint64_t)
 DEFINE_OPAQUE_INTEGER (PageId, uint64_t)
 DEFINE_OPAQUE_INTEGER (SegByteId, uint64_t)
 DEFINE_OPAQUE_INTEGER (TxnId, uint64_t)
 DEFINE_OPAQUE_INTEGER (SavepointId, uint)
 DEFINE_OPAQUE_INTEGER (LogicalTxnClassId, uint64_t)
 DEFINE_OPAQUE_INTEGER (DynamicParamId, uint)

Variables

FENNEL_BEGIN_NAMESPACE typedef
uint8_t 
FixedBuffer
static const MaxU MAXU
static const PageId NULL_PAGE_ID = PageId(0xFFFFFFFFFFFFFFFFLL)
 Sentinel value for an invalid PageId.
static const PageId FIRST_LINEAR_PAGE_ID = PageId(0)
 Symbolic value for first PageId of a LINEAR_ALLOCATION Segment.
static const BlockId NULL_BLOCK_ID = BlockId(0xFFFFFFFFFFFFFFFFLL)
 Sentinel value for an invalid BlockId.
static const PageOwnerId ANON_PAGE_OWNER_ID = PageOwnerId(0xFFFFFFFFFFFFFFFFLL)
 Symbolic value for an anonymous page owner; i.e.
static const SavepointId NULL_SVPT_ID = SavepointId(MAXU)
 Sentinel value for an invalid SavepointId.
static const TxnId IMPLICIT_TXN_ID = TxnId(0)
 Symbolic value indicating that some implicit value (typically the current thread ID) should be used as a transaction ID.
static const TxnId FIRST_TXN_ID = TxnId(1)
 Symbolic value for first valid TxnId.
static const TxnId NULL_TXN_ID = TxnId(0xFFFFFFFFFFFFFFFFLL)
 Sentinel value for an invalid TxnId.


Typedef Documentation

typedef uint BlockNum

Block count or number.

Definition at line 343 of file Types.h.

typedef uint ExtentNum

Extent count or number.

Definition at line 338 of file Types.h.

typedef uint64_t FileSize

Definition at line 64 of file Types.h.

typedef __int16 int16_t

Definition at line 36 of file Types.h.

typedef __int32 int32_t

Definition at line 37 of file Types.h.

typedef __int64 int64_t

Definition at line 38 of file Types.h.

typedef __int8 int8_t

Definition at line 35 of file Types.h.

typedef int LogicalActionType

Definition at line 277 of file Types.h.

typedef uint64_t MagicNumber

Definition at line 73 of file Types.h.

typedef std::set<PageId> PageSet

Definition at line 280 of file Types.h.

typedef PageSet::const_iterator PageSetConstIter

Definition at line 281 of file Types.h.

typedef char const* const ParamName

ParamName can be used to declare static string symbolic constants serving as typo-safe parameter names.

Definition at line 221 of file Types.h.

typedef char const* const ParamVal

ParamName can be used to declare static string symbolic constants serving as early-bound parameter values.

Definition at line 227 of file Types.h.

typedef uint8_t* PBuffer

Definition at line 54 of file Types.h.

typedef uint8_t const* PConstBuffer

Definition at line 55 of file Types.h.

typedef uint64_t RecordNum

Record count or number.

Definition at line 333 of file Types.h.

typedef uint64_t SegVersionNum

Definition at line 70 of file Types.h.

typedef uint TupleStorageByteLength

Definition at line 67 of file Types.h.

typedef Ucs2Char* Ucs2Buffer

Definition at line 60 of file Types.h.

typedef uint16_t Ucs2Char

Definition at line 58 of file Types.h.

typedef Ucs2Char const* Ucs2ConstBuffer

Definition at line 61 of file Types.h.

typedef unsigned __int16 uint16_t

Definition at line 40 of file Types.h.

typedef unsigned __int32 uint32_t

Definition at line 41 of file Types.h.

typedef unsigned __int64 uint64_t

Definition at line 42 of file Types.h.

typedef unsigned __int8 uint8_t

Definition at line 39 of file Types.h.


Enumeration Type Documentation

anonymous enum

Enumerator:
ETERNITY 

Definition at line 136 of file Types.h.

00136 { ETERNITY = 0xFFFFFFFF };

enum CheckpointType

CheckpointType enumerations checkpoint types; precise meaning varies with context.

Enumerator:
CHECKPOINT_DISCARD  Unmap all data from cache, without flushing dirty data.
CHECKPOINT_FLUSH_AND_UNMAP  Flush dirty data and then unmap it from cache.
CHECKPOINT_FLUSH_ALL  Flush all dirty data.
CHECKPOINT_FLUSH_FUZZY  Flush some dirty data (criteria for flush is context-specific).

Definition at line 170 of file Types.h.

00171 {
00175     CHECKPOINT_DISCARD,
00176 
00180     CHECKPOINT_FLUSH_AND_UNMAP,
00181 
00185     CHECKPOINT_FLUSH_ALL,
00186 
00190     CHECKPOINT_FLUSH_FUZZY
00191 
00192 // NOTE:  enumeration order is significant
00193 };

enum DuplicateSeek

Options for how to deal with detection of a duplicate key while searching.

Enumerator:
DUP_SEEK_ANY  Position to an arbitrary match for the duplicate key.
DUP_SEEK_BEGIN  Position to the first match for a duplicate key.
DUP_SEEK_END  Position to one past the last match for a duplicate key.

Definition at line 199 of file Types.h.

00200 {
00204     DUP_SEEK_ANY,
00205 
00209     DUP_SEEK_BEGIN,
00210 
00214     DUP_SEEK_END
00215 };

enum LockMode

LockMode enumerates various common lock modes.

Enumerator:
LOCKMODE_S  Shared lock.
LOCKMODE_X  Exclusive lock.
LOCKMODE_S_NOWAIT  Shared lock; fail immediately rather than waiting.
LOCKMODE_X_NOWAIT  Exclusive lock; fail immediately rather than waiting.

Definition at line 141 of file Types.h.

00142 {
00146     LOCKMODE_S,
00147 
00151     LOCKMODE_X,
00152 
00156     LOCKMODE_S_NOWAIT,
00157 
00161     LOCKMODE_X_NOWAIT
00162 
00163 // NOTE:  enumeration order is significant
00164 };

enum SeekPosition

SeekPosition enumerates the two possible endpoints for a seek.

Enumerator:
SEEK_STREAM_BEGIN 
SEEK_STREAM_END 

Definition at line 348 of file Types.h.

00349 {
00350     SEEK_STREAM_BEGIN,
00351     SEEK_STREAM_END
00352 };


Function Documentation

DEFINE_OPAQUE_INTEGER ( DynamicParamId  ,
uint   
)

DEFINE_OPAQUE_INTEGER ( LogicalTxnClassId  ,
uint64_t   
)

DEFINE_OPAQUE_INTEGER ( SavepointId  ,
uint   
)

DEFINE_OPAQUE_INTEGER ( TxnId  ,
uint64_t   
)

DEFINE_OPAQUE_INTEGER ( SegByteId  ,
uint64_t   
)

DEFINE_OPAQUE_INTEGER ( PageId  ,
uint64_t   
)

DEFINE_OPAQUE_INTEGER ( BlockId  ,
uint64_t   
)

DEFINE_OPAQUE_INTEGER ( SegmentId  ,
uint   
)

DEFINE_OPAQUE_INTEGER ( DeviceId  ,
uint   
)

DEFINE_OPAQUE_INTEGER ( PageOwnerId  ,
uint64_t   
)

template<class tU>
bool isMAXU ( tU  u  )  [inline]

Definition at line 131 of file Types.h.

Referenced by CircularSegment::allocatePageId(), LhxHashTable::calculateNumSlots(), LhxHashTable::calculateSize(), BTreeNodeAccessor::compactNode(), TupleAccessor::compute(), convertTimeout(), BTreeNodeAccessor::dumpNode(), LinearDeviceSegment::ensureAllocatedSize(), ScratchSegment::getMaxLockedPages(), ExternalSortExecStreamImpl::getResourceRequirements(), LhxJoinExecStream::getResourceRequirements(), LhxAggExecStream::getResourceRequirements(), ReshapeExecStream::initCompareData(), TupleAccessor::isFixedWidth(), UnalignedAttributeAccessor::isInitialized(), Java_net_sf_farrago_fennel_FennelStorage_getAccessorXmiForTupleDescriptor(), LinearDeviceSegment::LinearDeviceSegment(), TupleAccessor::marshal(), FlatFileExecStreamImpl::open(), CacheParams::readConfig(), ReshapeExecStream::readDynamicParams(), VersionedSegment::recover(), ByteInputStream::reset(), TupleAccessor::setCurrentTupleBuf(), ExecStreamScheduler::tracePreExecution(), LogicalRecoveryTxn::undoActions(), TupleAccessor::unmarshal(), BTreeVerifier::verify(), BTreeVerifier::verifyNode(), and CmdInterpreter::visit().

00132 {
00133     return (u == tU(0xFFFFFFFFFFFFFFFFLL));
00134 }


Variable Documentation

const PageOwnerId ANON_PAGE_OWNER_ID = PageOwnerId(0xFFFFFFFFFFFFFFFFLL) [static]

Symbolic value for an anonymous page owner; i.e.

the page is allocated, but without a particular owner.

Definition at line 302 of file Types.h.

Referenced by SnapshotRandomAllocationSegment::allocatePageId(), BTreeDescriptor::BTreeDescriptor(), SnapshotRandomAllocationSegment::chainPageEntries(), SnapshotRandomAllocationSegment::deallocatePageRange(), RandomAllocationSegmentBase::formatExtentTemplate(), ExecStreamFactory::implementSortWithBTree(), VersionedRandomAllocationSegment::isDeallocatedPageOwnerId(), ExecStreamFactory::readBTreeParams(), ExecStreamFactory::readTableWriterStreamParams(), SegmentTestBase::SegmentTestBase(), SparseBitmap::setBit(), SnapshotRandomAllocationSegment::setPageSuccessor(), and SparseBitmap::SparseBitmap().

const PageId FIRST_LINEAR_PAGE_ID = PageId(0) [static]

Symbolic value for first PageId of a LINEAR_ALLOCATION Segment.

Definition at line 291 of file Types.h.

Referenced by LogicalTxnLog::deallocateCheckpointedLog(), RandomAllocationSegmentBase::getFirstSegAllocPageId(), VersionedSegment::getRecoveryPageId(), SegInputStream::SegInputStream(), SegPageIterTest::testHighPrefetchRejects(), SegPageIterTest::testLowPrefetchRejects(), SegPageEntryIterTest::testNoPrefetch(), SegPageEntryIterTest::testQueueSize1(), VersionedSegmentTest::testRecovery(), SegPageEntryIterTest::testReject(), SegPageEntryIterTest::testRejectNoPrefetch(), SegPageEntryIterTest::testRejectQueueSize1(), SegPageIterTest::testUnboundedIter(), SegPageEntryIterTest::testUnboundedIter(), SegPageIterTest::testWithLock(), and SegPageEntryIterTest::testWithLock().

const TxnId FIRST_TXN_ID = TxnId(1) [static]

Symbolic value for first valid TxnId.

Definition at line 318 of file Types.h.

Referenced by Database::allocateHeader(), and ExecStreamGraphImpl::getTxnId().

FENNEL_BEGIN_NAMESPACE typedef uint8_t FixedBuffer

Definition at line 53 of file Types.h.

Referenced by WinAggHistogramStrA::addRow(), LbmUnionExecStreamTest::allocateBuffer(), BTreeReadersTest::BTreeReadersTest(), BTreeTest::BTreeTest(), BTreeWriter::BTreeWriter(), JavaSinkExecStream::closeImpl(), UnalignedAttributeAccessor::compressInt64(), TupleDataWithBuffer::computeAndAllocate(), ReshapeExecStream::copyCompareTuple(), CalcAssembler::createTupleData(), DynamicParam::DynamicParam(), FtrsTableWriter::FtrsTableWriter(), LcsRowScanExecStreamTest::generateBitmaps(), LbmExecStreamTestBase::generateBitmaps(), LbmSplicerExecStreamTest::generateTupleInput(), LcsHash::init(), LbmExecStreamTestBase::initBitmapInput(), LbmSearchTest::initEqualSearch(), LcsRowScanExecStream::initializeFiltersIfNeeded(), LbmExecStreamTestBase::initKeyBitmap(), TupleTest::loadAndStore8ByteInt(), LcsClusterAppendExecStream::loadExistingBlock(), TupleTest::loadStore2ByteLenData(), TupleTest::loadStoreNullData(), LbmEntry::mergeIntoSplitEntry(), LcsClusterAppendExecStream::open(), LbmSplicerExecStream::open(), LbmBitOpExecStream::open(), SegBufferWriterExecStream::open(), MockResourceExecStream::open(), CollectExecStream::open(), BarrierExecStream::open(), ErrorSource::postError(), FtrsTableWriterExecStream::prepare(), LcsMultiClusterAppendTest::scanCols(), TestCalculator::setUp(), LcsClusterAppendExecStreamTest::setUpDelIndexScan(), SizeBuffer::SizeBuffer(), CalcAssemblerTestCase::test(), FlatFileExecStreamTest::testBuffer(), LbmUnionExecStreamTest::testBuffer(), TupleTest::testDebugAccess(), LcsRowScanExecStreamTest::testFilterCols(), LbmSplicerExecStreamTest::testLER5968(), LbmSplicerExecStreamTest::testLER6473(), TupleTest::testLoadStoreUnaligned(), TupleTest::testMarshal(), ExecStreamTestSuite::testMergeImplicitPullInputs(), LbmEntryTest::testMergeSingleton(), BTreeTest::testMultiKeySearches(), LbmSearchTest::testMultipleRanges(), ExecStreamTestSuite::testReshapeExecStream(), LcsRowScanExecStreamTest::testSampleScanCols(), LcsRowScanExecStreamTest::testScanCols(), LbmSearchTest::testScanFullKey(), LbmSearchTest::testScanPartialKey(), LbmSplicerExecStreamTest::testSpliceRids(), LbmSplicerExecStreamTest::testSpliceWithKeys(), TupleTest::testStandardTypes(), LbmUnionExecStreamTest::testUnion(), tupleFiddle(), unitTestBool(), unitTestFloat(), unitTestLong(), unitTestNullableLocal(), unitTestPointer(), unitTestPointerCache(), unitTestStatusRegister(), unitTestWarnings(), LcsClusterReplaceExecStreamTest::verifyCluster(), ExecStreamFactory::visit(), and LcsClusterAppendExecStream::writeBatch().

const TxnId IMPLICIT_TXN_ID = TxnId(0) [static]

Symbolic value indicating that some implicit value (typically the current thread ID) should be used as a transaction ID.

Definition at line 313 of file Types.h.

Referenced by LockHolderId::assignFrom(), ScratchSegment::getTxnId(), Cache::getTxnId(), TransactionalCacheAccessor::lockPage(), TransactionalCacheAccessor::TransactionalCacheAccessor(), and TransactionalCacheAccessor::unlockPage().

const MaxU MAXU [static]

Definition at line 126 of file Types.h.

Referenced by AttributeAccessorImpl::AttributeAccessorImpl(), BTreeCompactNodeAccessor::BTreeCompactNodeAccessor(), LhxHashTable::calculateSize(), BTreeNodeAccessor::clearNode(), TupleAccessor::compute(), Database::createDataSegment(), Database::createShadowLog(), Database::createTxnLogSegment(), ExecStream::ExecStream(), ExecStreamQuantum::ExecStreamQuantum(), LcsRowScanExecStream::execute(), LbmGeneratorExecStream::execute(), LcsRowScanExecStream::fillRidRunBuffer(), FlatFileExecStreamImpl::findField(), LcsClusterReader::getFetchRids(), LcsClusterReader::getNextPageForPrefetch(), ExternalSortExecStreamImpl::getResourceRequirements(), LbmExecStreamTestBase::initSorterExecStream(), LinearDeviceSegmentParams::LinearDeviceSegmentParams(), LbmSearchTest::loadTableAndIndex(), LcsClusterReader::moveToBlockWithRid(), SegmentFactory::newTempDeviceSegment(), LcsRowScanExecStream::open(), LcsClusterReplaceExecStream::open(), LcsClusterReader::open(), FlatFileExecStreamImpl::open(), SparseBitmapTest::openStorage(), Database::readDeviceParams(), LogicalRecoveryTxn::redoActions(), LogicalTxn::rollbackToSavepoint(), SegStreamMarker::SegStreamMarker(), SequentialByteStreamMarker::SequentialByteStreamMarker(), LhxHashTable::slotsNeeded(), RandomAllocationSegmentBase::splitPageId(), LhxAggExecStreamTest::testGroupCountImpl(), LhxJoinExecStreamTest::testImpl(), LbmLoadBitmapTest::testLoad(), ExecStreamTestSuite::testReshapeExecStream(), UnalignedAttributeAccessor::UnalignedAttributeAccessor(), BTreeVerifier::verify(), and ExecStreamFactory::visit().

const BlockId NULL_BLOCK_ID = BlockId(0xFFFFFFFFFFFFFFFFLL) [static]

Sentinel value for an invalid BlockId.

Definition at line 296 of file Types.h.

Referenced by CachePage::CachePage(), CacheImpl< PageT, VictimPolicyT >::discardPage(), CachePage::hasBlockId(), LinearDeviceSegmentParams::LinearDeviceSegmentParams(), CacheImpl< PageT, VictimPolicyT >::lockPage(), CacheImpl< PageT, VictimPolicyT >::prefetchBatch(), SegPageIter::prefetchPage(), CacheImpl< PageT, VictimPolicyT >::prefetchPage(), TwoQVictimPolicy< PageT >::setAllocatedPageCount(), CacheImpl< PageT, VictimPolicyT >::unlockPage(), CacheImpl< PageT, VictimPolicyT >::unmapPage(), and CachePage::~CachePage().

const PageId NULL_PAGE_ID = PageId(0xFFFFFFFFFFFFFFFFLL) [static]

Sentinel value for an invalid PageId.

Definition at line 286 of file Types.h.

Referenced by VersionedRandomAllocationSegment::allocateAllocNodes(), LcsClusterNodeWriter::allocateClusterPage(), SegPageLock::allocatePage(), ScratchSegment::allocatePageId(), LinearViewSegment::allocatePageId(), LinearDeviceSegment::allocatePageId(), CircularSegment::allocatePageId(), RandomAllocationSegmentBase::allocatePageIdFromSegment(), VersionedRandomAllocationSegment::backupAllocationNodes(), BTreeDescriptor::BTreeDescriptor(), BTreeLeafReader::BTreeLeafReader(), BTreeVerifier::BTreeVerifier(), BTreeBuilder::buildBalanced(), VersionedSegment::canFlushPage(), VersionedRandomAllocationSegment::chainPageEntries(), CircularSegment::CircularSegment(), BTreeNodeAccessor::clearNode(), LcsClusterAppendExecStream::close(), SegPageBackupRestoreDevice::closeImpl(), SegInputStream::closeImpl(), LbmUnionExecStream::closeImpl(), LbmGeneratorExecStream::closeImpl(), BTreePrefetchSearchExecStream::closeImpl(), BTreeExecStream::closeImpl(), MockResourceExecStream::closeImpl(), ExecStreamGraphImpl::closeImpl(), FtrsTableWriter::closeIndexWriters(), LogicalTxnLog::commitTxn(), RandomAllocationSegmentBase::countAllocatedPages(), LbmSplicerExecStreamTest::createBTree(), BTreeBuilder::createEmptyRoot(), Database::createShadowLog(), Database::createTxnLog(), LogicalTxnLog::deallocateCheckpointedLog(), VersionedSegment::deallocateCheckpointedLog(), VersionedRandomAllocationSegment::deallocatePageChain(), RandomAllocationSegmentBase::deallocatePageId(), VersionedSegment::deallocatePageRange(), VersionedRandomAllocationSegment::deallocatePageRange(), SnapshotRandomAllocationSegment::deallocatePageRange(), ScratchSegment::deallocatePageRange(), RandomAllocationSegmentBase::deallocatePageRange(), LinearViewSegment::deallocatePageRange(), LinearDeviceSegment::deallocatePageRange(), CircularSegment::deallocatePageRange(), SegPageLock::deallocateUnlockedPage(), VersionedSegment::delegatedCheckpoint(), SegBufferExecStream::destroyBuffer(), BTreeNodeAccessor::dumpNode(), BTreeLeafReader::endSearch(), SegStreamAllocation::endWrite(), Segment::ensureAllocatedSize(), SegBufferWriterExecStream::execute(), SegBufferReaderExecStream::execute(), MockResourceExecStream::execute(), SegOutputStream::flushBuffer(), RandomAllocationSegmentBase::format(), SnapshotRandomAllocationSegment::getAnchorPageId(), SparseBitmap::getBit(), BTreeAccessBase::getFirstChild(), LinearViewSegment::getFirstPageId(), BTreeNodeAccessor::getKeyCount(), Segment::getLinearPageSuccessor(), WALSegment::getMinDirtyPageId(), LcsClusterReader::getNextBTreeEntry(), MockSegPageEntryIterSource::getNextPageForPrefetch(), LcsClusterReader::getNextPageForPrefetch(), BTreePrefetchSearchExecStream::getNextPageForPrefetch(), VersionedRandomAllocationSegment::getOldestTxnId(), VersionedRandomAllocationSegment::getOldPageIds(), VersionedSegment::getRecoveryPageId(), LcsClusterReplaceExecStream::getTupleForLoad(), LbmSplicerExecStream::getValidatedTuple(), BTreeWriter::grow(), ExecStreamFactory::implementSortWithBTree(), LbmLoadBitmapTest::initClusterScanDef(), BTreePrefetchSearchExecStream::innerSearchLoop(), BTreeNonLeafReader::isPositionedOnInfinityKey(), LinearViewSegment::LinearViewSegment(), LcsClusterReplaceExecStreamTest::loadCluster(), LcsMultiClusterAppendTest::loadClusters(), LcsRowScanExecStreamTest::loadOneCluster(), VersionedRandomAllocationSegment::locateDataPages(), CrcSegInputStream::lockBuffer(), BTreeWriter::lockParentPage(), SegPageEntryIter< EntryT >::mapRange(), VersionedRandomAllocationSegment::markPageEntryUnused(), RandomAllocationSegmentBase::markPageEntryUnused(), LcsClusterReader::moveToBlockWithRid(), SegmentFactory::newRandomAllocationSegment(), SegmentFactory::newVersionedRandomAllocationSegment(), VersionedSegment::notifyPageDirty(), SegBufferWriterExecStream::open(), SegBufferReaderExecStream::open(), SegBufferExecStream::openBufferForRead(), SnapshotSegmentTestBase::openSegmentStorage(), LinearViewSegmentTest::openSegmentStorage(), SegPageEntryIter< EntryT >::operator++(), LcsClusterReader::position(), BTreeSortExecStream::prepare(), SegBufferExecStream::prepare(), VersionedSegment::prepareOnlineRecovery(), ExecStreamFactory::readBTreeParams(), SegInputStream::readNextBuffer(), VersionedSegment::recover(), Database::recoverPhysical(), ExternalSortRunLoader::releaseResources(), LhxHashTable::releaseResources(), SegPageLock::resetPage(), VersionedRandomAllocationSegment::restoreFromBackup(), Database::restoreFromBackup(), LogicalTxnLog::rollbackTxn(), SparseBitmap::searchDirectory(), BTreeLeafReader::searchExtreme(), BTreeReader::searchExtremeInternal(), BTreeLeafReader::searchForKey(), BTreeReader::searchForKeyTemplate(), BTreeLeafReader::searchNext(), BTreeReader::searchNextInternal(), SegBufferWriter::SegBufferWriter(), SegOutputStream::SegOutputStream(), SparseBitmap::setBit(), RandomAllocationSegmentBase::setPageSuccessorTemplate(), SparseBitmap::SparseBitmap(), BTreeWriter::splitCurrentNode(), BTreeBuilder::swapRoot(), SegmentTestBase::testAllocate(), SnapshotSegmentTestBase::testAllocateAll(), LinearViewSegmentTest::testAllocateAll(), ExecStreamTestSuite::testBTreeInsertExecStream(), BTreeTest::testBulkLoad(), BTreeTxnTest::testCaseSetUp(), LcsClusterReplaceExecStreamTest::testCaseSetUp(), LcsClusterAppendExecStreamTest::testCaseSetUp(), LhxHashTableTest::testCaseTearDown(), SegPageIterTest::testHighPrefetchRejects(), BTreeTest::testInserts(), SegPageIterTest::testIter(), SegPageEntryIterTest::testIter(), LbmEntryTest::testldb35(), LbmEntryTest::testler5920(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), SegPageIterTest::testLowPrefetchRejects(), LbmEntryTest::testMergeEntry(), BTreeTest::testMultiKeySearches(), SegPageEntryIterTest::testNoPrefetch(), SegPageEntryIterTest::testQueueSize1(), BTreeReadersTest::testReaders(), VersionedSegmentTest::testRecovery(), SegPageEntryIterTest::testReject(), SegPageEntryIterTest::testRejectNoPrefetch(), SegPageEntryIterTest::testRejectQueueSize1(), LbmSearchTest::testScanIdx(), LcsRowScanExecStreamTest::testScanOnEmptyCluster(), SegPageIterTest::testUnboundedIter(), SegPageEntryIterTest::testUnboundedIter(), SegPageIterTest::testWithLock(), SegPageEntryIterTest::testWithLock(), LbmEntryTest::testZeroBytes(), BTreeBuilder::truncate(), BTreeBuilder::truncateChildren(), BTreeInsertExecStream::truncateTree(), SegNodeLock< Node >::tryAllocatePage(), SegPageLock::tryAllocatePage(), VersionedRandomAllocationSegment::updateAllocNodes(), SnapshotRandomAllocationSegment::updatePage(), SegPageLock::updatePage(), Segment::updatePage(), BTreeVerifier::verify(), BTreeVerifier::verifyChildren(), BTreeVerifier::verifyNode(), VersionedSegment::VersionedSegment(), VersionedSegmentTest::VersionedSegmentTest(), SnapshotRandomAllocationSegment::versionPage(), and CmdInterpreter::visit().

const SavepointId NULL_SVPT_ID = SavepointId(MAXU) [static]

Sentinel value for an invalid SavepointId.

Definition at line 307 of file Types.h.

Referenced by FtrsTableWriterExecStream::closeImpl(), FtrsTableWriterExecStream::commitSavepoint(), FtrsTableWriterExecStream::execute(), FtrsTableWriterExecStream::FtrsTableWriterExecStream(), and FtrsTableWriterExecStream::rollbackSavepoint().

const TxnId NULL_TXN_ID = TxnId(0xFFFFFFFFFFFFFFFFLL) [static]

Sentinel value for an invalid TxnId.

Definition at line 323 of file Types.h.

Referenced by VersionedRandomAllocationSegment::backupAllocationNodes(), CmdInterpreter::beginTxn(), VersionedRandomAllocationSegment::deallocateOldPages(), Database::deallocateOldPages(), SnapshotRandomAllocationSegment::getAnchorPageId(), LogicalTxnLog::getOldestActiveTxnId(), VersionedRandomAllocationSegment::getOldestTxnId(), VersionedRandomAllocationSegment::initPageEntry(), VersionedRandomAllocationSegment::locateDataPages(), VersionedRandomAllocationSegment::markPageEntryUnused(), ExecStream::open(), Database::restoreFromBackup(), SnapshotRandomAllocationSegment::rollbackChanges(), LockHolderId::setNull(), BackupRestoreTest::testBackupCleanup(), BackupRestoreTest::testBackupRestore(), BackupRestoreTest::testHeaderBackupRestore(), and CmdInterpreter::visit().


Generated on Mon Jun 22 04:00:22 2009 for Fennel by  doxygen 1.5.1