eu.larkc.core.data
Interface DataSet

All Superinterfaces:
InformationSet, java.io.Serializable, SetOfStatements
All Known Implementing Classes:
DataSetImpl

public interface DataSet
extends SetOfStatements

SetOfStatements passed by references using a SPARQL dataset. Please note that the current type represents all the statements retrieved from union of all default and named graphs.

Author:
vassil

Method Summary
 void addAll(DataSet theDataSet)
          Merges the current dataset with another one
 java.util.Set<RdfGraph> getDefaultGraphs()
          Gets the default graph URIs of this dataset.
 java.util.Set<RdfGraph> getNamedGraphs()
          Gets the named graph URIs of this dataset.
 SPARQLEndpoint getSPARQLEndpoint()
          Get the SPARQL endpoint responsible for this dataset.
 
Methods inherited from interface eu.larkc.core.data.SetOfStatements
getStatements
 
Methods inherited from interface eu.larkc.core.data.InformationSet
toRDF
 

Method Detail

getDefaultGraphs

java.util.Set<RdfGraph> getDefaultGraphs()
Gets the default graph URIs of this dataset. An empty set indicates that the default graph is an empty graph.

Returns:
a reference to the default graphs

getNamedGraphs

java.util.Set<RdfGraph> getNamedGraphs()
Gets the named graph URIs of this dataset. An empty set indicates that there are no named graphs in this dataset.

Returns:
a reference to the named graphs

addAll

void addAll(DataSet theDataSet)
Merges the current dataset with another one

Parameters:
theDataSet - to be merged with

getSPARQLEndpoint

SPARQLEndpoint getSPARQLEndpoint()
Get the SPARQL endpoint responsible for this dataset.

Returns:
a SPARQL ednpoint to contains it