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