예제 #1
0
파일: stmtDML.cs 프로젝트: bigwa/qpmodel
        // It is modeled as a sampling scan
        public override LogicNode CreatePlan()
        {
            // disable memo optimization for it
            queryOpt_.optimize_.use_memo_ = false;

            logicPlan_ = new LogicAnalyze(select_.CreatePlan());
            return(logicPlan_);
        }
예제 #2
0
        public override LogicNode SubstitutionOptimize()
        {
            var scan = select_.SubstitutionOptimize();

            logicPlan_ = new LogicAnalyze(scan);
            // convert to physical plan
            physicPlan_ = logicPlan_.DirectToPhysical(queryOpt_);
            return(logicPlan_);
        }
예제 #3
0
        public override LogicNode SubstitutionOptimize()
        {
            Debug.Assert(object.ReferenceEquals(queryOpt_, select_.queryOpt_));
            var scan = select_.SubstitutionOptimize();

            logicPlan_ = new LogicAnalyze(scan);
            // convert to physical plan
            physicPlan_ = logicPlan_.DirectToPhysical(queryOpt_);
            return(logicPlan_);
        }
예제 #4
0
 public PhysicAnalyze(LogicAnalyze logic, PhysicNode l) : base(logic) => children_.Add(l);