com.hp.hpl.jena.rdf.query
Interface QueryExecution

All Known Implementing Classes:
QueryEngine

public interface QueryExecution

Interface for query execution engines. The normal sequence is: QueryExecution qe = new .... ; qe.init() ; QueryResults qres = qe.exec() ; .... qres.close() ; qe.end() ;

See Also:
QueryEngine, QueryEngineRemote

Method Summary
 void abort()
          Stop in mid execution.
 void close()
          Normal end of use of this execution
 QueryResults exec()
          Do it!
 void init()
          Initialise a query execution.
 

Method Detail

init

public void init()
Initialise a query execution. Shoudl be called before exec.

exec

public QueryResults exec()
Do it!

abort

public void abort()
Stop in mid execution. No guarantee that the concrete implementation actual will stop or that it wil do so immediately.

close

public void close()
Normal end of use of this execution


Copyright © 2001 Hewlett-Packard. All Rights Reserved.