info.aduna.infosource.query
Interface ResultListener

All Known Subinterfaces:
GraphResultListener, TableResultListener
All Known Implementing Classes:
GraphResultAdapter, QueryResult, TableResultAdapter

public interface ResultListener

ResultListeners are notified by a QueryEvaluator about the query results. Subinterfaces will have to add methods that pass on the actual results.


Method Summary
 void finishedEvaluation()
          Send when the evaluation proces is finished.
 void finishedQuerying(org.openrdf.repository.Repository repository)
          Reports that the specified Repository has produced all its results.
 void querying(org.openrdf.repository.Repository repository)
          Indicates that the QueryEvaluator has started querying the specified Repository.
 void startingEvaluation(int nrRepositories)
          Indicates that the QueryEvaluator is starting evaluation of its Query.
 

Method Detail

startingEvaluation

void startingEvaluation(int nrRepositories)
Indicates that the QueryEvaluator is starting evaluation of its Query. The number of Repositories that will be queried is specified. No assumptions can be made as to in which order the Repositories are queried, this may range from fully sequential to fully parallel.


querying

void querying(org.openrdf.repository.Repository repository)
Indicates that the QueryEvaluator has started querying the specified Repository.


finishedQuerying

void finishedQuerying(org.openrdf.repository.Repository repository)
Reports that the specified Repository has produced all its results.


finishedEvaluation

void finishedEvaluation()
Send when the evaluation proces is finished.



Copyright © 1997-2008 Aduna. All Rights Reserved.