BTreeExecStreamParams Struct Reference

BTreeExecStreamParams defines parameters common to implementations of BTreeExecStream. More...

#include <BTreeExecStream.h>

Inheritance diagram for BTreeExecStreamParams:

BTreeParams SingleOutputExecStreamParams ExecStreamParams BTreeInsertExecStreamParams BTreeReadExecStreamParams LbmGeneratorExecStreamParams LcsClusterAppendExecStreamParams LcsClusterScanDef BTreeSortExecStreamParams FtrsTableIndexWriterParams BTreeScanExecStreamParams BTreeSearchExecStreamParams LcsClusterReplaceExecStreamParams BTreePrefetchSearchExecStreamParams LbmSearchExecStreamParams List of all members.

Public Member Functions

 BTreeExecStreamParams ()

Public Attributes

SharedSegment pSegment
 Segment containing BTree.
PageId rootPageId
 Root of BTree, or NULL_PAGE_ID for variable root.
SegmentId segmentId
 SegmentId of segment storing BTree.
PageOwnerId pageOwnerId
 PageOwnerId used to mark pages.
TupleDescriptor tupleDesc
 TupleDescriptor for BTree entries.
TupleProjection keyProj
 Key projection for BTree entries (relative to tupleDesc).
BTreeOwnerRootMappRootMap
 Map for looking up variable index roots, or NULL for permanent root.
DynamicParamId rootPageIdParamId
 Parameter id corresponding to the rootPageId when the btree is dynamically created during execution of the stream graph.
TupleDescriptor outputTupleDesc
TupleFormat outputTupleFormat
SharedCacheAccessor pCacheAccessor
 CacheAccessor to use for any data access.
SegmentAccessor scratchAccessor
 Accessor for segment to use for allocating scratch buffers.

Detailed Description

BTreeExecStreamParams defines parameters common to implementations of BTreeExecStream.

Definition at line 87 of file BTreeExecStream.h.


Constructor & Destructor Documentation

BTreeExecStreamParams::BTreeExecStreamParams (  )  [explicit]

Definition at line 114 of file BTreeExecStream.cpp.

References BTreeParams::pRootMap.

00115 {
00116     pRootMap = NULL;
00117 }


Member Data Documentation

SharedSegment BTreeParams::pSegment [inherited]

Segment containing BTree.

Definition at line 44 of file BTreeExecStream.h.

Referenced by BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), LcsClusterReplaceExecStreamTest::loadCluster(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), LcsRowScanBaseExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

PageId BTreeParams::rootPageId [inherited]

Root of BTree, or NULL_PAGE_ID for variable root.

Definition at line 49 of file BTreeExecStream.h.

Referenced by BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), LcsClusterReplaceExecStreamTest::loadCluster(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), LbmSearchTest::loadTableAndIndex(), LcsRowScanBaseExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LbmLoadBitmapTest::testLoad(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

SegmentId BTreeParams::segmentId [inherited]

SegmentId of segment storing BTree.

Definition at line 54 of file BTreeExecStream.h.

Referenced by BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), LcsRowScanBaseExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

PageOwnerId BTreeParams::pageOwnerId [inherited]

PageOwnerId used to mark pages.

Definition at line 59 of file BTreeExecStream.h.

Referenced by BTreeExecStream::copyParamsToDescriptor(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), LcsRowScanBaseExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

TupleDescriptor BTreeParams::tupleDesc [inherited]

TupleDescriptor for BTree entries.

Definition at line 64 of file BTreeExecStream.h.

Referenced by BTreeExecStream::copyParamsToDescriptor(), LbmSearchTest::initBTreeBitmapDesc(), LbmLoadBitmapTest::initBTreeBitmapDesc(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LbmSearchTest::initBTreeTupleDesc(), LbmLoadBitmapTest::initBTreeTupleDesc(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), LcsClusterReplaceExecStreamTest::loadCluster(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), LbmSearchTest::loadTableAndIndex(), LcsRowScanBaseExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LbmLoadBitmapTest::testLoad(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

TupleProjection BTreeParams::keyProj [inherited]

Key projection for BTree entries (relative to tupleDesc).

Definition at line 69 of file BTreeExecStream.h.

Referenced by BTreeExecStream::copyParamsToDescriptor(), LbmSearchTest::initBTreeBitmapDesc(), LbmLoadBitmapTest::initBTreeBitmapDesc(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), LcsClusterReplaceExecStreamTest::loadCluster(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), LbmSearchTest::loadTableAndIndex(), LcsRowScanBaseExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LbmLoadBitmapTest::testLoad(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

BTreeOwnerRootMap* BTreeParams::pRootMap [inherited]

Map for looking up variable index roots, or NULL for permanent root.

Definition at line 74 of file BTreeExecStream.h.

Referenced by BTreeExecStreamParams(), FtrsTableWriter::createIndexWriter(), LbmSplicerExecStreamTest::initBTreeParam(), LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), and LcsClusterAppendExecStreamTest::testLoadSingleCol().

DynamicParamId BTreeParams::rootPageIdParamId [inherited]

Parameter id corresponding to the rootPageId when the btree is dynamically created during execution of the stream graph.

Definition at line 80 of file BTreeExecStream.h.

Referenced by LbmSearchTest::initBTreeParam(), LbmLoadBitmapTest::initBTreeParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeExecStream::prepare(), ExecStreamFactory::readBTreeParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), and LcsClusterAppendExecStreamTest::testLoadSingleCol().

TupleDescriptor SingleOutputExecStreamParams::outputTupleDesc [inherited]

Definition at line 37 of file SingleOutputExecStream.h.

Referenced by LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmExecStreamTestBase::initValuesExecStream(), LcsClusterReplaceExecStreamTest::loadCluster(), LcsMultiClusterAppendTest::loadClusters(), LcsRowScanExecStreamTest::loadOneCluster(), LbmSearchTest::loadTableAndIndex(), BTreeSearchExecStream::prepare(), BTreeReadExecStream::prepare(), FlatFileExecStreamImpl::prepare(), SingleOutputExecStream::prepare(), MockProducerExecStream::prepare(), ExecStreamFactory::readTupleStreamParams(), LcsClusterReplaceExecStreamTest::replaceCluster(), LcsMultiClusterAppendTest::scanCols(), LcsClusterAppendExecStreamTest::setUpDelIndexScan(), LbmSplicerExecStreamTest::spliceInput(), ExecStreamTestSuite::testBTreeInsertExecStream(), CollectExecStreamTestSuite::testCollectCollectUncollectUncollect(), CollectExecStreamTestSuite::testCollectInts(), CollectExecStreamTestSuite::testCollectUncollect(), CalcExecStreamTestSuite::testConstant(), CorrelationJoinExecStreamTestSuite::testCorrelationJoin(), LhxAggExecStreamTest::testCountImpl(), LcsRowScanExecStreamTest::testFilterCols(), LhxAggExecStreamTest::testGroupCountImpl(), LhxJoinExecStreamTest::testImpl(), LbmLoadBitmapTest::testLoad(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), ExecStreamTestSuite::testMergeImplicitPullInputs(), ExecStreamTestSuite::testNestedLoopJoinExecStream(), LbmNormalizerExecStreamTest::testNormalizer(), LbmMinusExecStreamTest::testRestartingMinus(), LcsRowScanExecStreamTest::testSampleScanCols(), LcsRowScanExecStreamTest::testScanCols(), LbmSearchTest::testScanIdx(), ExecStreamTestSuite::testSingleValueAggExecStream(), LhxAggExecStreamTest::testSingleValueImpl(), LbmSortedAggExecStreamTest::testSortedAgg(), LhxAggExecStreamTest::testSumImpl(), and LcsClusterReplaceExecStreamTest::verifyCluster().

TupleFormat SingleOutputExecStreamParams::outputTupleFormat [inherited]

Definition at line 39 of file SingleOutputExecStream.h.

Referenced by SingleOutputExecStream::prepare(), and SingleOutputExecStreamParams::SingleOutputExecStreamParams().

SharedCacheAccessor ExecStreamParams::pCacheAccessor [inherited]

CacheAccessor to use for any data access.

This will be singular if the stream should not perform data access.

Definition at line 183 of file ExecStreamDefs.h.

Referenced by ExecStreamFactory::createPrivateScratchSegment(), LbmSearchTest::initBTreeExecStreamParam(), LbmLoadBitmapTest::initBTreeExecStreamParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), LbmSearchTest::initClusterScanDef(), LbmLoadBitmapTest::initClusterScanDef(), ExecStreamGraphEmbryo::initStreamParams(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeExecStream::newWriter(), LcsRowScanBaseExecStream::prepare(), BTreeExecStream::prepare(), ExecStream::prepare(), ExecStreamFactory::readBTreeStreamParams(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), LcsClusterAppendExecStreamTest::testLoadSingleCol(), LcsClusterAppendExecStreamTest::testScanMultiCol(), LcsClusterAppendExecStreamTest::testScanSingleCol(), and LcsClusterReplaceExecStreamTest::verifyCluster().

SegmentAccessor ExecStreamParams::scratchAccessor [inherited]

Accessor for segment to use for allocating scratch buffers.

This will be singular if the stream should not use any scratch buffers.

Definition at line 189 of file ExecStreamDefs.h.

Referenced by ExecStreamFactory::createPrivateScratchSegment(), LbmSearchTest::initBTreeExecStreamParam(), LbmLoadBitmapTest::initBTreeExecStreamParam(), LcsClusterReplaceExecStreamTest::initClusterAppendParams(), ExecStreamGraphEmbryo::initStreamParams(), FtrsTableWriterFactory::loadIndex(), LcsRowScanExecStreamTest::loadOneCluster(), BTreeExecStream::newWriter(), LcsClusterAppendExecStream::prepare(), BTreeExecStream::prepare(), FlatFileExecStreamImpl::prepare(), MockResourceExecStream::prepare(), ExecStream::prepare(), ExecStreamTestSuite::testBTreeInsertExecStream(), LcsClusterAppendExecStreamTest::testLoadMultiCol(), and LcsClusterAppendExecStreamTest::testLoadSingleCol().


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