|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.fuberlin.wiwiss.ng4j.sparql.NamedGraphDataset
public class NamedGraphDataset
Implementation of ARQ's Dataset interface on top of an NG4J NamedGraphSet
Constructor Summary | |
---|---|
NamedGraphDataset(NamedGraphSet baseNamedGraphSet)
Creates a new instance whose default graph is the merge of all named graphs. |
|
NamedGraphDataset(NamedGraphSet baseNamedGraphSet,
Graph defaultGraph)
Creates a new instance with a given default graph. |
|
NamedGraphDataset(NamedGraphSet baseNamedGraphSet,
Node defaultGraphName)
Creates a new instance where one of the named graph is used as the default graph. |
Method Summary | |
---|---|
boolean |
containsNamedModel(String uri)
|
Model |
getDefaultModel()
|
Lock |
getLock()
Returns a LockMutex. |
Model |
getNamedModel(String graphName)
|
Iterator |
listNames()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NamedGraphDataset(NamedGraphSet baseNamedGraphSet)
public NamedGraphDataset(NamedGraphSet baseNamedGraphSet, Node defaultGraphName)
public NamedGraphDataset(NamedGraphSet baseNamedGraphSet, Graph defaultGraph)
Method Detail |
---|
public boolean containsNamedModel(String uri)
containsNamedModel
in interface com.hp.hpl.jena.query.Dataset
public Model getDefaultModel()
getDefaultModel
in interface com.hp.hpl.jena.query.Dataset
public Model getNamedModel(String graphName)
getNamedModel
in interface com.hp.hpl.jena.query.Dataset
public Iterator listNames()
listNames
in interface com.hp.hpl.jena.query.Dataset
public Lock getLock()
getLock
in interface com.hp.hpl.jena.query.Dataset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |