info.aduna.infosource.query
Class TableResultAdapter

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

public class TableResultAdapter
extends Object
implements TableResultListener


Constructor Summary
TableResultAdapter()
           
 
Method Summary
 void bindingNames(List<String> names)
          Notifies the binding names to be used, in the order in which they appear in the query header.
 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.query.BindingSet bindings, org.openrdf.repository.Repository origin)
          Reports the specified BindingSet 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

TableResultAdapter

public TableResultAdapter()
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

bindingNames

public void bindingNames(List<String> names)
Description copied from interface: TableResultListener
Notifies the binding names to be used, in the order in which they appear in the query header.

Specified by:
bindingNames in interface TableResultListener

process

public void process(org.openrdf.query.BindingSet bindings,
                    org.openrdf.repository.Repository origin)
Description copied from interface: TableResultListener
Reports the specified BindingSet originating from the specified Repository.

Specified by:
process in interface TableResultListener

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.