public class GraphMemPlain extends GraphBase2
emptyGraph
Constructor and Description |
---|
GraphMemPlain() |
Modifier and Type | Method and Description |
---|---|
boolean |
graphBaseContains(Triple t)
Answer true if the graph contains any triple matching
t . |
void |
performAdd(Triple t)
Add a triple to the triple store.
|
void |
performDelete(Triple t)
Remove a triple from the triple store.
|
QueryHandler |
queryHandler()
Answer a QueryHandler bound to this graph.
|
add, close, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getBulkUpdateHandler, getCapabilities, getEventManager, getPrefixMapping, getReifier, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, size, toString
public void performAdd(Triple t)
GraphBase2
performAdd
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performAdd
in class GraphBase2
public void performDelete(Triple t)
GraphBase2
performDelete
in interface com.hp.hpl.jena.graph.impl.GraphWithPerform
performDelete
in class GraphBase2
public QueryHandler queryHandler()
GraphBase2
queryHandler
in interface Graph
queryHandler
in class GraphBase2
public boolean graphBaseContains(Triple t)
GraphBase2
t
.
The default implementation uses find
and checks to see
if the iterator is non-empty.Licenced under the Apache License, Version 2.0