#include <BTreeDescriptor.h>
Public Member Functions | |
BTreeDescriptor () | |
Public Attributes | |
SegmentAccessor | segmentAccessor |
Accessor for segment storing BTree. | |
TupleDescriptor | tupleDescriptor |
Descriptor for leaf tuples. | |
TupleProjection | keyProjection |
Projection from tupleDescriptor to key. | |
PageOwnerId | pageOwnerId |
PageOwnerId used to mark pages. | |
PageId | rootPageId |
PageId of the root node, which never changes. | |
SegmentId | segmentId |
Optional Id of segment containing BTree data. |
Definition at line 35 of file BTreeDescriptor.h.
BTreeDescriptor::BTreeDescriptor | ( | ) | [inline, explicit] |
Definition at line 68 of file BTreeDescriptor.h.
References ANON_PAGE_OWNER_ID, and NULL_PAGE_ID.
00069 { 00070 pageOwnerId = ANON_PAGE_OWNER_ID; 00071 rootPageId = NULL_PAGE_ID; 00072 segmentId = SegmentId(0); 00073 }
Accessor for segment storing BTree.
Definition at line 40 of file BTreeDescriptor.h.
Referenced by BTreeBuildLevel::allocateAndLinkNewNode(), BTreeBuildLevel::BTreeBuildLevel(), BTreeReader::BTreeReader(), BTreeInsertExecStream::buildTree(), BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::createBTree(), BTreeBuilder::createEmptyRoot(), BTreeTxnTest::createTree(), CmdInterpreter::getBTreeForIndexCmd(), BTreeAccessBase::getCacheAccessor(), BTreeAccessBase::getFirstChild(), BTreeAccessBase::getSegment(), LcsClusterReplaceExecStream::getTupleForLoad(), LbmSplicerExecStream::getValidatedTuple(), BTreeWriter::grow(), BTreePrefetchSearchExecStream::innerSearchLoop(), LcsClusterAccessBase::LcsClusterAccessBase(), LcsClusterReplaceExecStreamTest::loadCluster(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeRecoveryFactory::loadParticipant(), BTreeWriter::lockParentPage(), LcsClusterReplaceExecStream::open(), LcsRowScanBaseExecStream::prepare(), LcsClusterAppendExecStream::prepare(), LbmSplicerExecStream::prepare(), LbmGeneratorExecStream::prepare(), LcsClusterReplaceExecStreamTest::replaceCluster(), BTreeWriter::splitCurrentNode(), BTreeBuilder::swapRoot(), ExecStreamTestSuite::testBTreeInsertExecStream(), BTreeTest::testCaseSetUp(), BTreeReadersTest::testCaseSetUp(), BTreeTest::testCaseTearDown(), BTreeReadersTest::testCaseTearDown(), LcsClusterReplaceExecStreamTest::testCaseTearDown(), LcsClusterAppendExecStreamTest::testCaseTearDown(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsRowScanExecStreamTest::testScanOnEmptyCluster(), LcsClusterAppendExecStreamTest::testScanSingleCol(), BTreeTxnTest::testTxns(), BTreeBuilder::truncate(), BTreeBuilder::truncateChildren(), BTreeBuilder::truncateExternal(), BTreeInsertExecStream::truncateTree(), LcsClusterReplaceExecStreamTest::verifyCluster(), LcsClusterAppendExecStreamTest::verifyClusterPages(), and BTreeVerifier::verifyNode().
Descriptor for leaf tuples.
Definition at line 45 of file BTreeDescriptor.h.
Referenced by BTreeAccessBase::BTreeAccessBase(), BTreeReadersTest::BTreeReadersTest(), BTreeTest::BTreeTest(), BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::createBTree(), BTreeTxnTest::createTree(), LbmEntryDump::dump(), CmdInterpreter::getBTreeForIndexCmd(), BTreeAccessBase::getTupleDescriptor(), LbmSplicerExecStreamTest::initBTreeParam(), LcsClusterAccessBase::LcsClusterAccessBase(), LcsClusterReplaceExecStreamTest::loadCluster(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeRecoveryFactory::loadParticipant(), LcsRowScanBaseExecStream::prepare(), LbmSplicerExecStream::prepare(), LbmGeneratorExecStream::prepare(), BTreeInsertExecStream::prepare(), LcsClusterReplaceExecStreamTest::replaceCluster(), ExecStreamTestSuite::testBTreeInsertExecStream(), BTreeTest::testInserts(), LbmSplicerExecStreamTest::testLER5968(), LbmSplicerExecStreamTest::testLER6473(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), BTreeTest::testMultiKeySearches(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsRowScanExecStreamTest::testScanOnEmptyCluster(), LcsClusterAppendExecStreamTest::testScanSingleCol(), LbmSplicerExecStreamTest::testSpliceRids(), LbmSplicerExecStreamTest::testSpliceWithKeys(), BTreeBuilder::truncateExternal(), and LcsClusterReplaceExecStreamTest::verifyCluster().
Projection from tupleDescriptor to key.
Definition at line 50 of file BTreeDescriptor.h.
Referenced by BTreeAccessBase::BTreeAccessBase(), BTreeReadersTest::BTreeReadersTest(), BTreeTest::BTreeTest(), BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::createBTree(), BTreeTxnTest::createTree(), CmdInterpreter::getBTreeForIndexCmd(), BTreeAccessBase::getKeyProjection(), LbmSplicerExecStreamTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::loadCluster(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeRecoveryFactory::loadParticipant(), BTreeSearchExecStream::open(), LcsRowScanBaseExecStream::prepare(), LbmSplicerExecStream::prepare(), LbmSearchExecStream::prepare(), LbmGeneratorExecStream::prepare(), BTreeSearchExecStream::prepare(), LcsClusterReplaceExecStreamTest::replaceCluster(), LbmSplicerExecStreamTest::spliceInput(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), BTreeTest::testMultiKeySearches(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsRowScanExecStreamTest::testScanOnEmptyCluster(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().
PageOwnerId BTreeDescriptor::pageOwnerId |
PageOwnerId used to mark pages.
Defaults to ANON_PAGE_OWNER_ID.
Definition at line 55 of file BTreeDescriptor.h.
Referenced by BTreeExecStream::copyParamsToDescriptor(), CmdInterpreter::getBTreeForIndexCmd(), BTreeAccessBase::getPageOwnerId(), LbmSplicerExecStreamTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeExecStream::open(), LcsRowScanBaseExecStream::prepare(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().
PageId BTreeDescriptor::rootPageId |
PageId of the root node, which never changes.
Set to NULL_PAGE_ID for a new tree.
Definition at line 61 of file BTreeDescriptor.h.
Referenced by BTreeBuilder::buildBalanced(), BTreeInsertExecStream::buildTree(), BTreeExecStream::closeImpl(), BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::createBTree(), BTreeBuilder::createEmptyRoot(), BTreeTxnTest::createTree(), LbmSplicerExecStream::execute(), CmdInterpreter::getBTreeForIndexCmd(), BTreeAccessBase::getRootPageId(), LcsClusterReplaceExecStream::getTupleForLoad(), LbmSplicerExecStream::getValidatedTuple(), LbmSplicerExecStreamTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::loadCluster(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeRecoveryFactory::loadParticipant(), LcsClusterReplaceExecStream::open(), BTreeSearchExecStream::open(), BTreeInsertExecStream::open(), BTreeExecStream::open(), LcsRowScanBaseExecStream::prepare(), LcsClusterReplaceExecStream::prepare(), LbmSplicerExecStream::prepare(), LcsClusterReplaceExecStreamTest::replaceCluster(), BTreeAccessBase::setRootPageId(), BTreeBuilder::swapRoot(), ExecStreamTestSuite::testBTreeInsertExecStream(), BTreeTest::testBulkLoad(), BTreeTest::testInserts(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), BTreeTest::testMultiKeySearches(), BTreeReadersTest::testReaders(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsRowScanExecStreamTest::testScanOnEmptyCluster(), LcsClusterAppendExecStreamTest::testScanSingleCol(), BTreeBuilder::truncate(), BTreeInsertExecStream::truncateTree(), and LcsClusterReplaceExecStreamTest::verifyCluster().
SegmentId BTreeDescriptor::segmentId |
Optional Id of segment containing BTree data.
Definition at line 66 of file BTreeDescriptor.h.
Referenced by BTreeExecStream::copyParamsToDescriptor(), CmdInterpreter::getBTreeForIndexCmd(), BTreeAccessBase::getSegmentId(), LbmSplicerExecStreamTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LcsRowScanExecStreamTest::loadOneCluster(), LcsRowScanBaseExecStream::prepare(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().