de.fuberlin.wiwiss.d2rq.server
Class D2RQDatasetDesc

java.lang.Object
  extended by org.joseki.DatasetDesc
      extended by de.fuberlin.wiwiss.d2rq.server.D2RQDatasetDesc

public class D2RQDatasetDesc
extends org.joseki.DatasetDesc

A Joseki dataset description that returns a dataset consisting only of the one ModelD2RQ passed in. We need this because regular Joseki dataset descriptions are initialized from a configuration Model, and we want to initialize programmatically.

Author:
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
D2RQDatasetDesc(AutoReloadableDataset dataset)
           
 
Method Summary
 Dataset acquireDataset(org.joseki.Request request, org.joseki.Response response)
           
 void returnDataset(Dataset ds)
           
 String toString()
           
 
Methods inherited from class org.joseki.DatasetDesc
getResource, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

D2RQDatasetDesc

public D2RQDatasetDesc(AutoReloadableDataset dataset)
Method Detail

acquireDataset

public Dataset acquireDataset(org.joseki.Request request,
                              org.joseki.Response response)
Overrides:
acquireDataset in class org.joseki.DatasetDesc

returnDataset

public void returnDataset(Dataset ds)
Overrides:
returnDataset in class org.joseki.DatasetDesc

toString

public String toString()
Overrides:
toString in class org.joseki.DatasetDesc