org.openanzo.glitter.query
Interface QueryExecutionPlan

All Known Subinterfaces:
CostBasedQueryExecutionPlan
All Known Implementing Classes:
GreedyCostBasedExecutionPlan, LexicalOrderBasedExecutionPlan, OdoQueryOptimizer, QueryOptimizer, SimpleCostExecutionPlan

public interface QueryExecutionPlan

A QueryExecutionPlan determines the order that bindings for sibling nodes in a SPARQL query.

Author:
lee

Method Summary
 java.util.Iterator<TreeNode> orderNodes(java.util.Iterator<? extends TreeNode> nodes)
          Provides an execution plan by ordering a sequence of sibling nodes.
 

Method Detail

orderNodes

java.util.Iterator<TreeNode> orderNodes(java.util.Iterator<? extends TreeNode> nodes)
Provides an execution plan by ordering a sequence of sibling nodes.

Parameters:
nodes - The original order of the nodes.
Returns:
An iterator over the nodes in the order in which bindings should be generated.


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.