public class GraphView extends org.apache.jena.graph.impl.GraphBase implements Sync
TOSTRING_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) |
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, getCapabilities, 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 org.apache.jena.graph.impl.GraphWithPerformperformAdd in class org.apache.jena.graph.impl.GraphBasepublic void performDelete(Triple t)
performDelete in interface org.apache.jena.graph.impl.GraphWithPerformperformDelete in class org.apache.jena.graph.impl.GraphBaseLicenced under the Apache License, Version 2.0