LhxJoinExecStreamParams Struct Reference

LhxJoinExecStream matches two input streams by using a hash table built from one of the inputs(usually the smaller input). More...

#include <LhxJoinExecStream.h>

Inheritance diagram for LhxJoinExecStreamParams:

ConfluenceExecStreamParams SingleOutputExecStreamParams ExecStreamParams List of all members.

Public Attributes

SharedSegment pTempSegment
 Segment to use for storing partition pages.
bool enableSubPartStat
 whether to use sub partition stats.
uint forcePartitionLevel
 This parameter is used only in tests.
RecordNum cndKeys
 Initial stats provided by the optimizer for resource allocation.
RecordNum numRows
 numRows: number of rows from the build input.
bool leftInner
 Return matching rows from the left.
bool leftOuter
 Return non-matching rows from the left.
bool rightInner
 Return matching rows from the right.
bool rightOuter
 Return non-matching rows from the right.
TupleProjection leftKeyProj
 Join keys from the left input.
TupleProjection rightKeyProj
 Join keys from the right input.
TupleProjection filterNullKeyProj
 Join keys from the right input.
TupleProjection outputProj
 Projection from the join.
bool setopDistinct
 These two fields combined denote the join semantics setDistinct setAll JoinSementics false false regular join false true setop ALL (not implemented) true false setop DISTINCT true true invalid combination.
bool setopAll
bool enableJoinFilter
 Whether to use join filters.
bool enableSwing
 Whether to use swing based on input sizes.

Detailed Description

LhxJoinExecStream matches two input streams by using a hash table built from one of the inputs(usually the smaller input).

Author:
Rushan Chen
Version:
Id
//open/dev/fennel/hashexe/LhxJoinExecStream.h#2

Definition at line 42 of file LhxJoinExecStream.h.


Member Data Documentation

SharedSegment LhxJoinExecStreamParams::pTempSegment

Segment to use for storing partition pages.

Definition at line 47 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setHashInfo(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::enableSubPartStat

whether to use sub partition stats.

Definition at line 52 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::prepare(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

uint LhxJoinExecStreamParams::forcePartitionLevel

This parameter is used only in tests.

Force partitioning level.

Definition at line 58 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::prepare(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

RecordNum LhxJoinExecStreamParams::cndKeys

Initial stats provided by the optimizer for resource allocation.

cndKeys: key cardinality of the initial built input chosen by the optimizer. For Hash Aggregate, this is the estimated number of groups. If MAXU, the stat is unknown.

Definition at line 69 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setHashInfo(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

RecordNum LhxJoinExecStreamParams::numRows

numRows: number of rows from the build input.

If MAXU, unknown.

Definition at line 74 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setHashInfo(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::leftInner

Return matching rows from the left.

Definition at line 79 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setJoinType(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::leftOuter

Return non-matching rows from the left.

Definition at line 84 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setJoinType(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::rightInner

Return matching rows from the right.

Definition at line 89 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setJoinType(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::rightOuter

Return non-matching rows from the right.

Definition at line 94 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setJoinType(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

TupleProjection LhxJoinExecStreamParams::leftKeyProj

Join keys from the left input.

Definition at line 99 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::prepare(), LhxJoinExecStream::setHashInfo(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

TupleProjection LhxJoinExecStreamParams::rightKeyProj

Join keys from the right input.

Definition at line 104 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::prepare(), LhxJoinExecStream::setHashInfo(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

TupleProjection LhxJoinExecStreamParams::filterNullKeyProj

Join keys from the right input.

Definition at line 109 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setHashInfo(), and ExecStreamFactory::visit().

TupleProjection LhxJoinExecStreamParams::outputProj

Projection from the join.

If empty then produce all input columns from both join sides.

Definition at line 115 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::prepare(), and LhxJoinExecStreamTest::testImpl().

bool LhxJoinExecStreamParams::setopDistinct

These two fields combined denote the join semantics setDistinct setAll JoinSementics false false regular join false true setop ALL (not implemented) true false setop DISTINCT true true invalid combination.

Definition at line 125 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setJoinType(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::setopAll

Definition at line 126 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setJoinType(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::enableJoinFilter

Whether to use join filters.

Definition at line 131 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::setHashInfo(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().

bool LhxJoinExecStreamParams::enableSwing

Whether to use swing based on input sizes.

Definition at line 136 of file LhxJoinExecStream.h.

Referenced by LhxJoinExecStream::prepare(), LhxJoinExecStreamTest::testImpl(), and ExecStreamFactory::visit().


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