org.openrdf.sesame.sail.query
Interface QueryAnswerListener

All Known Implementing Classes:
DuplicatesFilter, OffsetFilter, QueryResultsCounter

public interface QueryAnswerListener

A listener for query answers (a set of bound variables).


Method Summary
 void clear()
          Method called when the query engine has finished or aborted the query evaluation, signaling that the listener can/should clear any recorded and query-specific information.
 boolean queryAnswer(QueryAnswer qa)
          Reports a query answer to the listener.
 

Method Detail

queryAnswer

public boolean queryAnswer(QueryAnswer qa)
                    throws IOException
Reports a query answer to the listener.

Parameters:
qa - The query answer.
Returns:
A flag indicating whether the query engine should continue evaluating the (sub-)query.
Throws:
IOException

clear

public void clear()
Method called when the query engine has finished or aborted the query evaluation, signaling that the listener can/should clear any recorded and query-specific information.



Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.