Package com.foundationdb.sql.optimizer.rule.JoinAndIndexPicker

Examples of com.foundationdb.sql.optimizer.rule.JoinAndIndexPicker.JoinsFinder


       
        // Do FK table equivalence finding
        // Loop through all the tables, and find any possible FK Parents
        // Add these to the possible Equivalences
        BaseQuery basePlan = (BaseQuery)(plan.getPlan());
        List<Picker> pickers = new JoinsFinder(plan).find();
        for (Picker picker : pickers) {
            addFKEquivsFromJoins (picker.rootJoin(), picker.query.getFKEquivalencies());
            picker.query.getFKEquivalencies().copyEquivalences(picker.query.getColumnEquivalencies());
        }
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.sql.optimizer.rule.JoinAndIndexPicker.JoinsFinder

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.