com.clarkparsia.pellet.sparqldl.engine
Class CostBasedQueryPlanNew

java.lang.Object
  extended by com.clarkparsia.pellet.sparqldl.engine.QueryPlan
      extended by com.clarkparsia.pellet.sparqldl.engine.CostBasedQueryPlanNew

public class CostBasedQueryPlanNew
extends QueryPlan

Title: Query Plan the Uses Full Query Reordering.

Description:

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Petr Kremen

Constructor Summary
CostBasedQueryPlanNew(Query query)
           
 
Method Summary
 void back()
          Goes one level back to the last atom.
 boolean hasNext()
          Checks whether there is another atom to execute.
 QueryAtom next(ResultBinding binding)
          Returns next atom to be executed w.r.
 void reset()
          Resets the query planner.
 
Methods inherited from class com.clarkparsia.pellet.sparqldl.engine.QueryPlan
getQuery
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostBasedQueryPlanNew

public CostBasedQueryPlanNew(Query query)
Method Detail

next

public QueryAtom next(ResultBinding binding)
Description copied from class: QueryPlan
Returns next atom to be executed w.r. to the current binding.

Specified by:
next in class QueryPlan
Returns:

hasNext

public boolean hasNext()
Description copied from class: QueryPlan
Checks whether there is another atom to execute.

Specified by:
hasNext in class QueryPlan
Returns:
true if there is another atom to execute.

back

public void back()
Description copied from class: QueryPlan
Goes one level back to the last atom.

Specified by:
back in class QueryPlan

reset

public void reset()
Description copied from class: QueryPlan
Resets the query planner.

Specified by:
reset in class QueryPlan


Copyright © 2004 Evren Sirin. All Rights Reserved.