|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.clarkparsia.pellet.sparqldl.engine.QueryPlan
com.clarkparsia.pellet.sparqldl.engine.IncrementalQueryPlan
public class IncrementalQueryPlan
Title: Query Plan that recomputes the cost of the query in a greedy way.
Description: TODO cache costs - not to recompute them
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Field Summary | |
|---|---|
java.util.Stack<java.lang.Integer> |
explored
|
| Constructor Summary | |
|---|---|
IncrementalQueryPlan(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 |
| Field Detail |
|---|
public final java.util.Stack<java.lang.Integer> explored
| Constructor Detail |
|---|
public IncrementalQueryPlan(Query query)
| Method Detail |
|---|
public QueryAtom next(ResultBinding binding)
QueryPlan
next in class QueryPlanpublic boolean hasNext()
QueryPlan
hasNext in class QueryPlanpublic void back()
QueryPlan
back in class QueryPlanpublic void reset()
QueryPlan
reset in class QueryPlan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||