Uses of Class
org.jboss.dna.graph.query.QueryContext

Packages that use QueryContext
org.jboss.dna.graph.query The Query API provides a mechanism for building and executing queries. 
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. 
org.jboss.dna.graph.query.validate This package provides the interfaces that define the tables and columns that can be queried. 
 

Uses of QueryContext in org.jboss.dna.graph.query
 

Methods in org.jboss.dna.graph.query that return QueryContext
 QueryContext QueryContext.with(Map<String,Object> variables)
          Obtain a copy of this context, except that the copy uses the supplied variables.
 QueryContext QueryContext.with(PlanHints hints)
          Obtain a copy of this context, except that the copy uses the supplied hints.
 QueryContext QueryContext.with(Problems problems)
          Obtain a copy of this context, except that the copy uses the supplied problem container.
 QueryContext QueryContext.with(Schemata schemata)
          Obtain a copy of this context, except that the copy uses the supplied schemata.
 QueryContext QueryContext.with(TypeSystem typeSystem)
          Obtain a copy of this context, except that the copy uses the supplied type system.
 

Methods in org.jboss.dna.graph.query with parameters of type QueryContext
 QueryResults Queryable.execute(QueryContext context, QueryCommand query)
          Execute the supplied query by planning, optimizing, and then processing it.
 QueryResults QueryEngine.execute(QueryContext context, QueryCommand query)
          Execute the supplied query by planning, optimizing, and then processing it.
 

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

Methods in org.jboss.dna.graph.query.optimize with parameters of type QueryContext
 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 QueryContext in org.jboss.dna.graph.query.plan
 

Methods in org.jboss.dna.graph.query.plan with parameters of type QueryContext
 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.
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.
static Constraint PlanUtil.replaceReferences(QueryContext context, Constraint constraint, PlanUtil.ColumnMapping mapping, PlanNode node)
           
static Constraint PlanUtil.replaceReferencesToRemovedSource(QueryContext context, Constraint constraint, Map<SelectorName,SelectorName> rewrittenSelectors)
           
static DynamicOperand PlanUtil.replaceReferencesToRemovedSource(QueryContext context, DynamicOperand operand, Map<SelectorName,SelectorName> rewrittenSelectors)
           
static JoinCondition PlanUtil.replaceReferencesToRemovedSource(QueryContext context, JoinCondition joinCondition, Map<SelectorName,SelectorName> rewrittenSelectors)
           
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)
           
 

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

Methods in org.jboss.dna.graph.query.process that return QueryContext
 QueryContext ProcessingComponent.getContext()
          Get the context in which this query is being executed.
 

Methods in org.jboss.dna.graph.query.process with parameters of type QueryContext
 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.
 

Constructors in org.jboss.dna.graph.query.process with parameters of type QueryContext
ExceptComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
IntersectComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
MergeJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, ChildNodeJoinCondition condition, JoinType joinType)
           
MergeJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, EquiJoinCondition condition, JoinType joinType)
           
MergeJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, SameNodeJoinCondition condition, JoinType joinType)
           
NestedLoopJoinComponent(QueryContext context, ProcessingComponent left, ProcessingComponent right, JoinCondition condition, JoinType joinType)
           
NoResultsComponent(QueryContext context, QueryResults.Columns columns)
           
UnionComponent(QueryContext context, QueryResults.Columns columns, Iterable<ProcessingComponent> sources, boolean alreadySorted, boolean all)
           
 

Uses of QueryContext in org.jboss.dna.graph.query.validate
 

Constructors in org.jboss.dna.graph.query.validate with parameters of type QueryContext
Validator(QueryContext context, Map<SelectorName,Schemata.Table> selectorsByName)
           
 



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