Examples of JoinsFinder


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
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.