Package org.apache.jena.mem
Class GraphMem
java.lang.Object
org.apache.jena.graph.impl.GraphBase
org.apache.jena.mem.GraphMemBase
org.apache.jena.mem.GraphMem
- All Implemented Interfaces:
Graph
,GraphWithPerform
Deprecated.
-
Field Summary
Fields inherited from class org.apache.jena.mem.GraphMemBase
store
Fields inherited from class org.apache.jena.graph.impl.GraphBase
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Deprecated.Clear this GraphMem, ie remove all its triples (delegated to the store).void
Deprecated.Clear this GraphMem, ie remove all its triples (delegated to the store).boolean
Deprecated.Answer true iff this graph containst
.Deprecated.Answer an ExtendedIterator over all the triples in this graph that match the triple-patternm
.int
Deprecated.void
performAdd
(Triple t) Deprecated.Add a triple to the triple store.void
Deprecated.Remove a triple from the triple store.Methods inherited from class org.apache.jena.mem.GraphMemBase
close, openAgain
Methods inherited from class org.apache.jena.graph.impl.GraphBase
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, remove, size, toString, toString
-
Constructor Details
-
GraphMem
public GraphMem()Deprecated.
-
-
Method Details
-
performAdd
Deprecated.Description copied from class:GraphBase
Add a triple to the triple store. The default implementation throws an AddDeniedException; subclasses must override if they want to be able to add triples.- Specified by:
performAdd
in interfaceGraphWithPerform
- Overrides:
performAdd
in classGraphBase
-
performDelete
Deprecated.Description copied from class:GraphBase
Remove a triple from the triple store. The default implementation throws a DeleteDeniedException; subclasses must override if they want to be able to remove triples.- Specified by:
performDelete
in interfaceGraphWithPerform
- Overrides:
performDelete
in classGraphBase
-
graphBaseSize
public int graphBaseSize()Deprecated. -
graphBaseFind
Deprecated.Answer an ExtendedIterator over all the triples in this graph that match the triple-patternm
. Delegated to the store. -
graphBaseContains
Deprecated.Answer true iff this graph containst
. Ift
happens to be concrete, then we hand responsibility over to the store. Otherwise we use the default implementation. -
clear
public void clear()Deprecated.Clear this GraphMem, ie remove all its triples (delegated to the store). -
clearStore
public void clearStore()Deprecated.Clear this GraphMem, ie remove all its triples (delegated to the store).
-
Factory.createDefaultGraph()
for a general purpose graph orFactory.createGraphMem()
to specific this style of implementation.