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()
Dataset
getDefaultRemoveGraphs
in interface Dataset
public void addDefaultRemoveGraph(IRI graphURI)
public boolean removeDefaultRemoveGraph(IRI graphURI)
public IRI getDefaultInsertGraph()
Dataset
getDefaultInsertGraph
in interface Dataset
public void setDefaultInsertGraph(IRI defaultInsertGraph)
defaultInsertGraph
- The default insert graph to used.public Set<IRI> getDefaultGraphs()
Dataset
getDefaultGraphs
in interface Dataset
public void addDefaultGraph(IRI graphURI)
public boolean removeDefaultGraph(IRI graphURI)
public Set<IRI> getNamedGraphs()
getNamedGraphs
in interface Dataset
public void addNamedGraph(IRI graphURI)
public boolean removeNamedGraph(IRI graphURI)
public void clear()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.