com.hp.hpl.jena.rdql
Interface QueryExecution

All Known Implementing Classes:
QueryEngine, QueryEngineExt

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() ;

Version:
$Id: QueryExecution.java,v 1.2 2003/02/20 16:45:48 andy_seaborne Exp $
Author:
Andy Seaborne
See Also:
QueryEngine

Method Summary
 void abort()
          Stop in mid execution.
 void close()
          Normal end of use of this execution
 QueryResults exec()
          Do it!
 QueryResults exec(ResultBinding startBinding)
          Do a query, given an initail starting set of bindings
 void init()
          Initialise a query execution.
 

Method Detail

init

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


exec

public QueryResults exec()
Do it!


exec

public QueryResults exec(ResultBinding startBinding)
Do a query, given an initail starting set of bindings


abort

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


close

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



Copyright © 2001-2003 Hewlett-Packard. All Rights Reserved.