Examples of BoundPlan


Examples of org.voltdb.planner.BoundPlan

        assert(new String(plan.sql, Constants.UTF8ENCODING).equals(sql));

        // uncomment this to get some raw stdout cache performance stats every 5s
        //startPeriodicStatsPrinting();

        BoundPlan matched = null;
        BoundPlan unmatched = new BoundPlan(planIn.core, planIn.parameterBindings(extractedLiterals));
        // deal with the parameterized plan cache first
        List<BoundPlan> boundVariants = m_coreCache.get(parsedToken);
        if (boundVariants == null) {
            boundVariants = new ArrayList<BoundPlan>();
            m_coreCache.put(parsedToken, boundVariants);
View Full Code Here

Examples of org.voltdb.planner.BoundPlan

                    assert(parsedToken != null);
                    extractedLiterals = planner.extractedParamLiteralValues();
                    List<BoundPlan> boundVariants = m_cache.getWithParsedToken(parsedToken);
                    if (boundVariants != null) {
                        assert( ! boundVariants.isEmpty());
                        BoundPlan matched = null;
                        for (BoundPlan boundPlan : boundVariants) {
                            if (boundPlan.allowsParams(extractedLiterals)) {
                                matched = boundPlan;
                                break;
                            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.