Class FedXDataset

java.lang.Object
org.eclipse.rdf4j.federated.structures.FedXDataset
All Implemented Interfaces:
Dataset

public class FedXDataset extends Object implements Dataset
Abstraction of a Dataset to provide additional information for the evaluation of a query.

Can be used to define the endpoints against which a given query shall be executed.

Example

 TupleQuery tq = ...;
 FedXDataset ds = new FedXDataset(tq.getDataset);
 ds.addEndpoint("myEndpoint");
 ds.addEndpoint("otherEndpoint");
 tq.setDataset(ds)
 TupleQueryResult res = tq.evaluate()
 
Author:
Andreas Schwarte