An expression plan is used to evaluate an expression (i
virtual XxxErrCode | Accumulate (const XxxRecord* Rec[], const XxxRecordSchema* Schema[], XxxAggrOpHandle *Handle, const XxxValueEnv* Env = NULL) / Accumulate into handle |
XxxErrCode | Evaluate (const XxxRecord* Rec, const XxxRecordSchema* Schema, XxxADTValue *Result, const XxxValueEnv* Env = NULL) / evaluate, when there is a single input |
virtual XxxErrCode | GetDependencies (XxxBitMap& Dependendency) / Similar method for XxxExpression as well |
virtual XxxErrCode | Init (XxxAggrOpHandle *Handle) / Initialize handle |
virtual XxxErrCode | MakeOpHandle (XxxAggrOpHandle*& Handle) / Make a handle to hold ongoing aggregation |
virtual XxxErrCode | RedirectDependencies (const VarRemapping& Remap, int CorrelationHeight = 0) |
virtual XxxGenericPlan* | Replicate () Replication |
virtual XxxErrCode | Terminate (XxxAggrOpHandle *Handle, const XxxRecord* Rec[], const XxxRecordSchema* Schema[], XxxADTValue *FinalVal, const XxxValueEnv* Env = NULL) / Terminates the aggregation and performs any postprocessing |
virtual XxxErrCode | UsageOfPlan (PlanUsage& Usage) / member of XxxGenericPlan |
XxxValueExprPlan (XxxExpression * Exp, XxxValueExprPlan* Children[]) this is the most commonly used constructor | |
XxxValueExprPlan (const XxxValueExprPlan &Plan) Copy constructor | |
XxxValueExprPlan (int Arity, XxxBool Constant, XxxValueExprPlan* Children[]) |
/ Gets input stream dependencies. | |
/ 4 methods to evaluate an aggregate expression |
XxxErrCode | changeDependency (const VarRemapping& Remap) this method will be called from RedirectDependencies |
XxxValueExpression* | sourceExpr / a copy of the source expression (needed for index expressions) |
An expression plan is used to evaluate an expression (i.e ValueExpression) All plans must be subclasses of XxxGenericPlan, which defines a cost for the expression.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de