|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.impl.DatasetImpl
public class DatasetImpl
| Field Summary | |
|---|---|
protected Set<URI> |
defaultGraphs
|
protected Set<URI> |
namedGraphs
|
| Constructor Summary | |
|---|---|
DatasetImpl()
|
|
| Method Summary | |
|---|---|
void |
addDefaultGraph(URI graphURI)
Adds a graph URI to the set of default 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. |
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 |
removeNamedGraph(URI graphURI)
Removes a graph URI from the set of named graph URIs. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Set<URI> defaultGraphs
protected Set<URI> namedGraphs
| Constructor Detail |
|---|
public DatasetImpl()
| Method Detail |
|---|
public Set<URI> getDefaultGraphs()
Dataset
getDefaultGraphs 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()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||