org.modeshape.graph.query.plan
Interface Planner

All Known Implementing Classes:
CanonicalPlanner

public interface Planner

Interface for a query planner.


Method Summary
 PlanNode createPlan(QueryContext context, QueryCommand query)
          Create a canonical query plan for the given command.
 

Method Detail

createPlan

PlanNode createPlan(QueryContext context,
                    QueryCommand query)
Create a canonical query plan for the given command.

Parameters:
context - the context in which the query is being planned
query - the query command to be planned
Returns:
the root node of the plan tree representing the canonical plan


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