|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.jena.rdf.query.QueryEngine
An execution of a query. The query is not modified so can be reused. A new QueryEngine object should be created because the internal state after (and during) execution of a query is not defined. This implementation executes the triple pattern generation on a one thread, executes the constraint filters on another, and leaving the application thread just to return results.
Query,
QueryResults| Constructor Summary | |
QueryEngine(Query q)
|
|
| Method Summary | |
void |
abort()
Stop in mid execution. |
void |
close()
Normal end of use of this execution |
QueryResults |
exec()
Execute a query and get back the results. |
QueryResults |
exec(ResultBinding startBinding)
Execute a query, passing in an initial binding of some of the variables in the query. |
void |
init()
Initialise a query execution. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryEngine(Query q)
| Method Detail |
public void init()
init in interface QueryExecutionpublic QueryResults exec()
exec in interface QueryExecutionpublic QueryResults exec(ResultBinding startBinding)
exec in interface QueryExecutionstartBinding - Initial values of variables.
public void abort()
QueryExecution
abort in interface QueryExecutionpublic void close()
close in interface QueryExecution
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||