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