public class SimpleDataset extends Object implements Dataset, Serializable
Dataset interface.| Constructor and Description | 
|---|
| SimpleDataset() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addDefaultGraph(IRI graphURI)Adds a graph URI to the set of default graph URIs. | 
| void | addDefaultRemoveGraph(IRI graphURI)Adds a graph URI to the set of default remove graph URIs. | 
| void | addNamedGraph(IRI graphURI)Adds a graph URI to the set of named graph URIs. | 
| void | clear()Removes all graph URIs (both default and named) from this dataset. | 
| Set<IRI> | getDefaultGraphs()Gets the default graph URIs of this dataset. | 
| IRI | getDefaultInsertGraph()Gets the default insert graph URI of this dataset. | 
| Set<IRI> | getDefaultRemoveGraphs()Gets the default remove graph URIs of this dataset. | 
| Set<IRI> | getNamedGraphs()Gets the (unmodifiable) set of named graph URIs. | 
| boolean | removeDefaultGraph(IRI graphURI)Removes a graph URI from the set of default graph URIs. | 
| boolean | removeDefaultRemoveGraph(IRI graphURI)Removes a graph URI from the set of default remove graph URIs. | 
| boolean | removeNamedGraph(IRI graphURI)Removes a graph URI from the set of named graph URIs. | 
| void | setDefaultInsertGraph(IRI defaultInsertGraph) | 
| String | toString() | 
public Set<IRI> getDefaultRemoveGraphs()
DatasetgetDefaultRemoveGraphs in interface Datasetpublic void addDefaultRemoveGraph(IRI graphURI)
public boolean removeDefaultRemoveGraph(IRI graphURI)
public IRI getDefaultInsertGraph()
DatasetgetDefaultInsertGraph in interface Datasetpublic void setDefaultInsertGraph(IRI defaultInsertGraph)
defaultInsertGraph - The default insert graph to used.public Set<IRI> getDefaultGraphs()
DatasetgetDefaultGraphs in interface Datasetpublic void addDefaultGraph(IRI graphURI)
public boolean removeDefaultGraph(IRI graphURI)
public Set<IRI> getNamedGraphs()
getNamedGraphs in interface Datasetpublic void addNamedGraph(IRI graphURI)
public boolean removeNamedGraph(IRI graphURI)
public void clear()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.