In file seminaivespj.h:

class RelSPJSemiNaiveOpt : public RelSPJNaiveOptimizer

Varies from Naive optimizer only in that it breaks the pipelined join into a series of joins

Inheritance:


Protected Methods

XxxErrCode changeRemap (XxxExprPlan::VarRemapping& Remap, int NumChildren, int SourceToChange, int NewSourceValue, int AttrIncrement, int* InputArity)
/ Modify the Remap to reflect a new temporary planop.

Inherited from RelSPJNaiveOptimizer:

Public Classes

class SPJNaivePlan: public RelOptEngine::PlanObject

Public Methods

static XxxErrCode CreateSMPlanOp(RelPlanOp*& PlanOp, int NumChildren, RelPlanOp* Children[], RelCatalogInfo* CatInfo, XxxValExprPlanList* ExprPlanList, XxxBooleanExpressionPlan** SelPredPlans, XxxBooleanExpressionPlan** JoinPredPlans, XxxBooleanExpressionPlan** ResidPredPlans, XxxBooleanExpressionPlan* InitPlan, const SMPlanGlue& Glue)
static void MakeSMGlue(int NumChildren, const RelPlanOp** Children, const XxxRelBooleanPlan *JoinPlan, SMPlanGlue& Glue)

Protected Methods

XxxErrCode constructRemap(SPJNaivePlan* SPJPlan, XxxExprPlan::VarRemapping& Remap, int NewArity, int *InputArity, XxxBool MapAttrs)
XxxErrCode createPreds(SPJNaivePlan* SPJPlan, RelSPJOptimizer::PredPlanStruct& PredPlans)
XxxErrCode exprRemap(XxxExprPlan::VarRemapping& Remap, RelSPJOptimizer::PredPlanStruct& PredPlans, int NumChildren, XxxValExprPlanList* ExprPlanList)
XxxErrCode getChildPlans(SPJNaivePlan* SPJPlan, RelPlanOp** ChildPlanOps, int* InputArity)
XxxErrCode getInitPlan(SPJNaivePlan* SPJPlan, XxxBooleanExpressionPlan*& InitPlan)
XxxErrCode getJoinPlans(SPJNaivePlan* SPJPlan, RelSPJOptimizer::PredPlanStruct& PredPlans, int NumChildren, int JoinOffset, int SkipTemporary)

Inherited from RelSPJOptimizer:

Public Classes

class PlanGlue
class RelSPJBlockPlan: public RelBlockPlan
class SMPlanGlue: public PlanGlue
XxxBool MaterializeLtInput
/ indicate whether the inputs need a temp to sort them
int LeftRunSize
/ indicate max run sizes for sorting

Documentation

Varies from Naive optimizer only in that it breaks the pipelined join into a series of joins
XxxErrCode changeRemap(XxxExprPlan::VarRemapping& Remap, int NumChildren, int SourceToChange, int NewSourceValue, int AttrIncrement, int* InputArity)
/ Modify the Remap to reflect a new temporary planop.


Direct child classes:
RelSPJGreedyOpt

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de