public class GraphMem extends GraphMemBase
storeTOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITemptyGraph| Constructor and Description |
|---|
GraphMem() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear this GraphMem, ie remove all its triples (delegated to the store).
|
void |
clearStore()
Clear this GraphMem, ie remove all its triples (delegated to the store).
|
boolean |
graphBaseContains(Triple t)
Answer true iff this graph contains
t. |
ExtendedIterator<Triple> |
graphBaseFind(Triple m)
Answer an ExtendedIterator over all the triples in this graph that match the
triple-pattern
m. |
int |
graphBaseSize()
Answer the number of triples in this graph.
|
void |
performAdd(Triple t)
Add a triple to the triple store.
|
void |
performDelete(Triple t)
Remove a triple from the triple store.
|
close, openAgainadd, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toStringpublic void performAdd(Triple t)
GraphBaseperformAdd in interface GraphWithPerformperformAdd in class GraphBasepublic void performDelete(Triple t)
GraphBaseperformDelete in interface GraphWithPerformperformDelete in class GraphBasepublic int graphBaseSize()
GraphBasepublic ExtendedIterator<Triple> graphBaseFind(Triple m)
m. Delegated to the store.public boolean graphBaseContains(Triple t)
t. If t
happens to be concrete, then we hand responsibility over to the store.
Otherwise we use the default implementation.public void clear()
public void clearStore()
Licenced under the Apache License, Version 2.0