public class GraphView extends GraphBase implements org.apache.jena.atlas.lib.Sync
GraphUnionRead provides a union graph that does not assume quads, but loops on graphs.GraphUnionReadTOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITemptyGraph| Modifier and Type | Method and Description |
|---|---|
static GraphView |
createDefaultGraph(DatasetGraph dsg) |
static GraphView |
createNamedGraph(DatasetGraph dsg,
Node graphIRI) |
static GraphView |
createUnionGraph(DatasetGraph dsg) |
Capabilities |
getCapabilities() |
DatasetGraph |
getDataset()
Return the DatasetGraph we are viewing.
|
Node |
getGraphName()
Return the graph name for this graph in the dataset it is a view of.
|
void |
performAdd(Triple t) |
void |
performDelete(Triple t) |
void |
sync() |
add, clear, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toStringpublic static GraphView createDefaultGraph(DatasetGraph dsg)
public static GraphView createNamedGraph(DatasetGraph dsg, Node graphIRI)
public static GraphView createUnionGraph(DatasetGraph dsg)
public Node getGraphName()
null for the default graph.public DatasetGraph getDataset()
public void performAdd(Triple t)
performAdd in interface GraphWithPerformperformAdd in class GraphBasepublic void performDelete(Triple t)
performDelete in interface GraphWithPerformperformDelete in class GraphBasepublic void sync()
sync in interface org.apache.jena.atlas.lib.Syncpublic Capabilities getCapabilities()
getCapabilities in interface GraphgetCapabilities in class GraphBaseLicenced under the Apache License, Version 2.0