BTreeSearchExecStreamParams Struct Reference

BTreeSearchExecStreamParams defines parameters for instantiating a BTreeSearchExecStream. More...

#include <BTreeSearchExecStream.h>

Inheritance diagram for BTreeSearchExecStreamParams:

BTreeReadExecStreamParams ConduitExecStreamParams BTreeExecStreamParams SingleInputExecStreamParams SingleOutputExecStreamParams BTreeParams SingleOutputExecStreamParams ExecStreamParams ExecStreamParams ExecStreamParams BTreePrefetchSearchExecStreamParams LbmSearchExecStreamParams List of all members.

Public Attributes

bool outerJoin
 When true, make up nulls for unmatched rows.
TupleProjection inputKeyProj
 Projection of attributes to be used as key from input stream.
TupleProjection inputJoinProj
 Projection of input attributes to be joined to search results in output.
TupleProjection inputDirectiveProj
 Projection of single input attribute to be used as a directive controlling interval searches.
std::vector< BTreeSearchKeyParametersearchKeyParams
 Dynamic parameter ids corresponding to search values, in the case where the search values are not passed in through the input stream.
TupleProjection outputProj
 Projection of attributes to be retrieved from BTree (relative to tupleDesc).
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

BTreeSearchExecStreamParams defines parameters for instantiating a BTreeSearchExecStream.

Definition at line 63 of file BTreeSearchExecStream.h.


Member Data Documentation

bool BTreeSearchExecStreamParams::outerJoin

When true, make up nulls for unmatched rows.

Definition at line 69 of file BTreeSearchExecStream.h.

Referenced by BTreeSearchExecStream::prepare(), and ExecStreamFactory::readBTreeSearchStreamParams().

TupleProjection BTreeSearchExecStreamParams::inputKeyProj

Projection of attributes to be used as key from input stream.

If empty, use the entire input stream as key.

Definition at line 75 of file BTreeSearchExecStream.h.

Referenced by BTreeSearchExecStream::prepare(), and ExecStreamFactory::readBTreeSearchStreamParams().

TupleProjection BTreeSearchExecStreamParams::inputJoinProj

Projection of input attributes to be joined to search results in output.

(May be empty.)

Definition at line 81 of file BTreeSearchExecStream.h.

Referenced by BTreeSearchExecStream::prepare(), and ExecStreamFactory::readBTreeSearchStreamParams().

TupleProjection BTreeSearchExecStreamParams::inputDirectiveProj

Projection of single input attribute to be used as a directive controlling interval searches.

If empty, all input keys are interpreted as point searches.

Definition at line 88 of file BTreeSearchExecStream.h.

Referenced by BTreeSearchUniqueExecStream::prepare(), BTreeSearchExecStream::prepare(), and ExecStreamFactory::readBTreeSearchStreamParams().

std::vector<BTreeSearchKeyParameter> BTreeSearchExecStreamParams::searchKeyParams

Dynamic parameter ids corresponding to search values, in the case where the search values are not passed in through the input stream.

Definition at line 94 of file BTreeSearchExecStream.h.

Referenced by BTreeSearchExecStream::prepare(), and ExecStreamFactory::readBTreeSearchStreamParams().

TupleProjection BTreeReadExecStreamParams::outputProj [inherited]

Projection of attributes to be retrieved from BTree (relative to tupleDesc).

Definition at line 45 of file BTreeReadExecStream.h.

Referenced by BTreeSearchExecStream::prepare(), BTreeReadExecStream::prepare(), and ExecStreamFactory::readBTreeReadStreamParams().

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::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 file:
Generated on Mon Jun 22 04:00:26 2009 for Fennel by  doxygen 1.5.1