public class GraphMem extends GraphMemBase
store
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
emptyGraph
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, openAgain
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getStatisticsHandler, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
public void performAdd(Triple t)
GraphBase
performAdd
in interface GraphWithPerform
performAdd
in class GraphBase
public void performDelete(Triple t)
GraphBase
performDelete
in interface GraphWithPerform
performDelete
in class GraphBase
public int graphBaseSize()
GraphBase
public 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