public class GraphView extends GraphBase implements NamedGraph, 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.
|
TransactionHandler |
getTransactionHandler() |
void |
performAdd(Triple t) |
void |
performDelete(Triple t) |
void |
remove(Node s,
Node p,
Node o) |
void |
sync() |
add, clear, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, getPrefixMapping, getStatisticsHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, size, toString, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, clear, close, contains, contains, delete, dependsOn, find, find, find, getEventManager, getPrefixMapping, getStatisticsHandler, isClosed, isEmpty, isIsomorphicWith, sizepublic 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.getGraphName in interface NamedGraphpublic DatasetGraph getDataset()
DatasetGraph we are viewing.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 TransactionHandler getTransactionHandler()
getTransactionHandler in interface GraphgetTransactionHandler in class GraphBasepublic Capabilities getCapabilities()
getCapabilities in interface GraphgetCapabilities in class GraphBaseLicenced under the Apache License, Version 2.0