|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.rdql.QueryEngineExt
An execution of a query. This is mapping to the old, external query evaluation system. 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 | |
QueryEngineExt(Query q)
Deprecated. Use QueryEngine - which devloves mathcing to the graph. |
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 QueryEngineExt(Query q)
q
- Method Detail |
public void init()
init
in interface QueryExecution
public QueryResults exec()
exec
in interface QueryExecution
public QueryResults exec(ResultBinding startBinding)
exec
in interface QueryExecution
startBinding
- Initial values of variables.
public void abort()
QueryExecution
abort
in interface QueryExecution
public void close()
close
in interface QueryExecution
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |