Uses of Class
org.jboss.dna.graph.query.plan.PlanNode

Packages that use PlanNode
org.jboss.dna.graph.query.optimize This package contains the Optimizer interface, a rule-based optimizer implementation, and library of optimization rules. 
org.jboss.dna.graph.query.plan This package defines the Planner interface, the CanonicalPlanner implementation, and the PlanNode class that is used to represent a canonical query plan. 
org.jboss.dna.graph.query.process This package defines the QueryProcessor interface, which is responsible for constructing for each query a tree of ProcessingComponent objects that each are responsible for processing a specific aspect of the query and returning the tuples to the parent component. 
 

Uses of PlanNode in org.jboss.dna.graph.query.optimize
 

Methods in org.jboss.dna.graph.query.optimize that return PlanNode
 PlanNode RightOuterToLeftOuterJoins.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RewriteIdentityJoins.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RewriteAsRangeCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode ReplaceViews.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode ReplaceAliases.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RemoveEmptyAccessNodes.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RaiseSelectCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode PushSelectCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode PushProjects.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode OptimizerRule.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode CopyCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode ChooseJoinAlgorithm.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode AddAccessNodes.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RuleBasedOptimizer.optimize(QueryContext context, PlanNode plan)
          Optimize the supplied query plan and produce an executable processor plan.
 PlanNode Optimizer.optimize(QueryContext context, PlanNode plan)
          Optimize the supplied query plan and produce an executable processor plan.
 

Methods in org.jboss.dna.graph.query.optimize with parameters of type PlanNode
 PlanNode RightOuterToLeftOuterJoins.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RewriteIdentityJoins.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RewriteAsRangeCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode ReplaceViews.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode ReplaceAliases.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RemoveEmptyAccessNodes.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RaiseSelectCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode PushSelectCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode PushProjects.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode OptimizerRule.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode CopyCriteria.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode ChooseJoinAlgorithm.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode AddAccessNodes.execute(QueryContext context, PlanNode plan, LinkedList<OptimizerRule> ruleStack)
          Optimize the supplied plan using the supplied context, hints, and yet-to-be-run rules.
 PlanNode RuleBasedOptimizer.optimize(QueryContext context, PlanNode plan)
          Optimize the supplied query plan and produce an executable processor plan.
 PlanNode Optimizer.optimize(QueryContext context, PlanNode plan)
          Optimize the supplied query plan and produce an executable processor plan.
 

Uses of PlanNode in org.jboss.dna.graph.query.plan
 

Methods in org.jboss.dna.graph.query.plan that return PlanNode
 PlanNode PlanNode.clone()
           This class returns a new clone of the plan tree rooted at this node.
 PlanNode Planner.createPlan(QueryContext context, QueryCommand query)
          Create a canonical query plan for the given command.
 PlanNode CanonicalPlanner.createPlan(QueryContext context, QueryCommand query)
          Create a canonical query plan for the given command.
 PlanNode PlanNode.findAncestor(PlanNode.Type typeToFind)
          Starting at the parent of this node, find the lowest (also closest) ancestor that has the specified type.
 PlanNode PlanNode.findAncestor(PlanNode.Type firstTypeToFind, PlanNode.Type... additionalTypesToFind)
          Starting at the parent of this node, find the lowest (also closest) ancestor that has one of the specified types.
 PlanNode PlanNode.findAncestor(Set<PlanNode.Type> typesToFind)
          Starting at the parent of this node, find the lowest (also closest) ancestor that has one of the specified types.
 PlanNode PlanNode.findAtOrBelow(PlanNode.Traversal order, PlanNode.Type typeToFind)
          Find the first node with the specified type that are at or below this node.
 PlanNode PlanNode.findAtOrBelow(PlanNode.Traversal order, PlanNode.Type firstTypeToFind, PlanNode.Type... additionalTypesToFind)
          Find the first node with one of the specified types that are at or below this node.
 PlanNode PlanNode.findAtOrBelow(PlanNode.Traversal order, Set<PlanNode.Type> typesToFind)
          Find the first node with one of the specified types that are at or below this node.
 PlanNode PlanNode.findAtOrBelow(PlanNode.Type typeToFind)
          Find the first node with the specified type that are at or below this node.
 PlanNode PlanNode.findAtOrBelow(PlanNode.Type firstTypeToFind, PlanNode.Type... additionalTypesToFind)
          Find the first node with one of the specified types that are at or below this node.
 PlanNode PlanNode.findAtOrBelow(Set<PlanNode.Type> typesToFind)
          Find the first node with one of the specified types that are at or below this node.
 PlanNode PlanNode.getChild(int index)
          Get the child at the supplied index.
 PlanNode PlanNode.getFirstChild()
          Get the first child.
 PlanNode PlanNode.getLastChild()
          Get the last child.
 PlanNode PlanNode.getParent()
          Get the parent of this node.
 PlanNode PlanNode.removeFromParent()
          Remove this node from its parent, and return the node that used to be the parent of this node.
 

Methods in org.jboss.dna.graph.query.plan that return types with arguments of type PlanNode
 List<PlanNode> PlanNode.findAllAtOrBelow()
          Find all of the nodes that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(PlanNode.Traversal order)
          Find all of the nodes that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(PlanNode.Traversal order, PlanNode.Type typeToFind)
          Find all of the nodes of the specified type that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(PlanNode.Traversal order, PlanNode.Type firstTypeToFind, PlanNode.Type... additionalTypesToFind)
          Find all of the nodes with one of the specified types that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(PlanNode.Traversal order, Set<PlanNode.Type> typesToFind)
          Find all of the nodes with one of the specified types that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(PlanNode.Type typeToFind)
          Find all of the nodes of the specified type that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(PlanNode.Type firstTypeToFind, PlanNode.Type... additionalTypesToFind)
          Find all of the nodes with one of the specified types that are at or below this node.
 List<PlanNode> PlanNode.findAllAtOrBelow(Set<PlanNode.Type> typesToFind)
          Find all of the nodes with one of the specified types that are at or below this node.
 List<PlanNode> PlanNode.getChildren()
          Get the unmodifiable list of child nodes.
 LinkedList<PlanNode> PlanNode.getPathTo(PlanNode descendant)
          Get the path from this node (inclusive) to the supplied descendant node (inclusive)
 Iterator<PlanNode> PlanNode.iterator()
           This iterator is immutable.
 List<PlanNode> PlanNode.removeAllChildren()
          Remove all children from this node.
 

Methods in org.jboss.dna.graph.query.plan with parameters of type PlanNode
 void PlanNode.addChildren(PlanNode first, PlanNode second)
          Add the supplied nodes at the end of the list of children.
 void PlanNode.addChildren(PlanNode first, PlanNode second, PlanNode third)
          Add the supplied nodes at the end of the list of children.
 void PlanNode.addFirstChild(PlanNode child)
          Add the supplied node to the front of the list of children.
 void PlanNode.addLastChild(PlanNode child)
          Add the supplied node to the end of the list of children.
static PlanUtil.ColumnMapping PlanUtil.createMappingFor(Schemata.View view, PlanNode viewPlan)
           
static PlanUtil.ColumnMapping PlanUtil.createMappingForAliased(SelectorName tableAlias, Schemata.Table table, PlanNode tableSourceNode)
           
static PlanUtil.ColumnMapping PlanUtil.createMappingForAliased(SelectorName viewAlias, Schemata.View view, PlanNode viewPlan)
           
 void PlanNode.extractChild(PlanNode child)
          Remove the child node from this node, and replace that child with its first child (if there is one).
static List<Column> PlanUtil.findRequiredColumns(QueryContext context, PlanNode planNode)
          Collected the minimum set of columns from the supplied table that are required by or used within the plan at the supplied node or above.
 LinkedList<PlanNode> PlanNode.getPathTo(PlanNode descendant)
          Get the path from this node (inclusive) to the supplied descendant node (inclusive)
 void PlanNode.insertAsParent(PlanNode newParent)
          Insert the supplied node into the plan node tree immediately above this node.
 boolean PlanNode.isAbove(PlanNode possibleDescendant)
          Determine if the supplied node is a descendant of this node.
 boolean PlanNode.isBelow(PlanNode possibleAncestor)
          Determine if the supplied node is an ancestor of this node.
 boolean PlanNode.isSameAs(PlanNode other)
          Determine whether the supplied plan is equivalent to this plan.
 boolean PlanNode.removeChild(PlanNode child)
          Remove the node from this node.
 boolean PlanNode.replaceChild(PlanNode child, PlanNode replacement)
          Replace the supplied child with another node.
static Constraint PlanUtil.replaceReferences(QueryContext context, Constraint constraint, PlanUtil.ColumnMapping mapping, PlanNode node)
           
static void PlanUtil.replaceReferencesToRemovedSource(QueryContext context, PlanNode planNode, Map<SelectorName,SelectorName> rewrittenSelectors)
           
static DynamicOperand PlanUtil.replaceViewReferences(QueryContext context, DynamicOperand operand, PlanUtil.ColumnMapping mapping, PlanNode node)
           
static JoinCondition PlanUtil.replaceViewReferences(QueryContext context, JoinCondition joinCondition, PlanUtil.ColumnMapping mapping, PlanNode node)
           
static void PlanUtil.replaceViewReferences(QueryContext context, PlanNode topOfViewInPlan, PlanUtil.ColumnMapping mappings)
           
 void PlanNode.setParent(PlanNode parent)
          Set the parent for this node.
 

Method parameters in org.jboss.dna.graph.query.plan with type arguments of type PlanNode
 void PlanNode.addChildren(Iterable<PlanNode> otherChildren)
          Add the supplied nodes at the end of the list of children.
 

Constructors in org.jboss.dna.graph.query.plan with parameters of type PlanNode
PlanNode(PlanNode.Type type, PlanNode parent)
          Create a new plan node with the supplied initial type ad that is a child of the supplied parent.
PlanNode(PlanNode.Type type, PlanNode parent, Iterable<SelectorName> selectors)
          Create a new plan node with the supplied initial type ad that is a child of the supplied parent.
PlanNode(PlanNode.Type type, PlanNode parent, SelectorName... selectors)
          Create a new plan node with the supplied initial type ad that is a child of the supplied parent.
 

Uses of PlanNode in org.jboss.dna.graph.query.process
 

Methods in org.jboss.dna.graph.query.process with parameters of type PlanNode
 QueryResults QueryProcessor.execute(QueryContext context, QueryCommand command, QueryResults.Statistics statistics, PlanNode plan)
          Process the supplied query plan for the given command and return the results.
 QueryResults Processor.execute(QueryContext context, QueryCommand command, QueryResults.Statistics statistics, PlanNode plan)
          Process the supplied query plan for the given command and return the results.
 



Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.