|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.graph.impl.GraphBase
com.hp.hpl.jena.sparql.core.GraphView
public class GraphView
Implement a Graph as a view of the DatasetGraph. It maps graph operations to quad operations.
| Field Summary |
|---|
| Fields inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
|---|
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT |
| Fields inherited from interface com.hp.hpl.jena.graph.Graph |
|---|
emptyGraph |
| Method Summary | |
|---|---|
static GraphView |
createDefaultGraph(DatasetGraph dsg)
|
static GraphView |
createNamedGraph(DatasetGraph dsg,
Node graphIRI)
|
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()
|
| Methods inherited from class com.hp.hpl.jena.graph.impl.GraphBase |
|---|
add, clear, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GraphView createDefaultGraph(DatasetGraph dsg)
public static GraphView createNamedGraph(DatasetGraph dsg,
Node graphIRI)
public Node getGraphName()
null for the default graph.
public DatasetGraph getDataset()
public void performAdd(Triple t)
performAdd in interface com.hp.hpl.jena.graph.impl.GraphWithPerformperformAdd in class com.hp.hpl.jena.graph.impl.GraphBasepublic void performDelete(Triple t)
performDelete in interface com.hp.hpl.jena.graph.impl.GraphWithPerformperformDelete in class com.hp.hpl.jena.graph.impl.GraphBasepublic void sync()
sync in interface Sync
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||