Package com.foundationdb.sql.optimizer.rule.cost

Examples of com.foundationdb.sql.optimizer.rule.cost.CostEstimator


            }
            if (joinable instanceof CreateAs) {
                return null;
            }
            if (joinable instanceof ExpressionsSource) {
                CostEstimator costEstimator = this.getCostEstimator();
                return new ValuesPlan((ExpressionsSource)joinable, costEstimator.costValues((ExpressionsSource)joinable, false));
            }
            throw new AkibanInternalException("Unknown join element: " + joinable);
        }
View Full Code Here


        ValuesPlan plan, nestedPlan;

        public ValuesPlanClass(JoinEnumerator enumerator, long bitset,
                               ExpressionsSource values, Picker picker) {
            super(enumerator, bitset);
            CostEstimator costEstimator = picker.getCostEstimator();
            this.plan = new ValuesPlan(values, costEstimator.costValues(values, false));
            // Nested also needs to check the join condition with Select.
            this.nestedPlan = new ValuesPlan(values, costEstimator.costValues(values, true));
        }
View Full Code Here

        CreateAsPlan plan, nestedPlan;

        public CreateAsPlanClass(JoinEnumerator enumerator, long bitset,
                               CreateAs values, Picker picker) {
            super(enumerator, bitset);
            CostEstimator costEstimator = picker.getCostEstimator();
            this.plan = new CreateAsPlan(values, costEstimator.costBoundRow());
        }
View Full Code Here

TOP

Related Classes of com.foundationdb.sql.optimizer.rule.cost.CostEstimator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.