info.aduna.infosource.query
Class GraphResultAdapter

java.lang.Object
  extended by info.aduna.infosource.query.GraphResultAdapter
All Implemented Interfaces:
GraphResultListener, ResultListener

public class GraphResultAdapter
extends Object
implements GraphResultListener


Constructor Summary
GraphResultAdapter()
           
 
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 process(org.openrdf.model.Statement statement, org.openrdf.repository.Repository origin)
          Reports the specified Statement originating from the specified Repository.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphResultAdapter

public GraphResultAdapter()
Method Detail

startingEvaluation

public void startingEvaluation(int nrRepositories)
Description copied from interface: ResultListener
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.

Specified by:
startingEvaluation in interface ResultListener

querying

public void querying(org.openrdf.repository.Repository repository)
Description copied from interface: ResultListener
Indicates that the QueryEvaluator has started querying the specified Repository.

Specified by:
querying in interface ResultListener

process

public void process(org.openrdf.model.Statement statement,
                    org.openrdf.repository.Repository origin)
Description copied from interface: GraphResultListener
Reports the specified Statement originating from the specified Repository.

Specified by:
process in interface GraphResultListener

finishedQuerying

public void finishedQuerying(org.openrdf.repository.Repository repository)
Description copied from interface: ResultListener
Reports that the specified Repository has produced all its results.

Specified by:
finishedQuerying in interface ResultListener

finishedEvaluation

public void finishedEvaluation()
Description copied from interface: ResultListener
Send when the evaluation proces is finished.

Specified by:
finishedEvaluation in interface ResultListener


Copyright © 1997-2008 Aduna. All Rights Reserved.