Package org.jboss.dna.graph.query.validate.Schemata

Examples of org.jboss.dna.graph.query.validate.Schemata.View


                // Resolve the node to find the definition in the schemata ...
                SelectorName tableName = sourceNode.getProperty(Property.SOURCE_NAME, SelectorName.class);
                SelectorName tableAlias = sourceNode.getProperty(Property.SOURCE_ALIAS, SelectorName.class);
                Table table = schemata.getTable(tableName);
                if (table instanceof View) {
                    View view = (View)table;
                    PlanNode viewPlan = viewPlanCache.get(tableName);
                    if (viewPlan == null) {
                        viewPlan = planner.createPlan(context, view.getDefinition());
                        if (viewPlan != null) viewPlanCache.put(tableName, viewPlan);
                    }
                    if (viewPlan == null) continue; // there were likely errors when creating the plan
                    viewPlan = viewPlan.clone();
View Full Code Here

TOP

Related Classes of org.jboss.dna.graph.query.validate.Schemata.View

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.