Class EntityGraphMap<K>
java.lang.Object
org.aksw.jena_sparql_api.mapper.impl.engine.EntityGraphMap<K>
Keeps track of associations between objects and triples
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.jena.graph.Graph -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearGraph(K key) org.apache.jena.graph.GraphgetGraphForKey(Object key) voidvoidvoidvoidvoidremoveEntity(Object entity) Removes an entity and all triples associated with itvoidremoveTriple(org.apache.jena.graph.Triple triple) Globally remove a triple; i.e.
-
Field Details
-
graph
protected org.apache.jena.graph.Graph graph -
keyToGraph
-
tripleToKeys
-
-
Constructor Details
-
EntityGraphMap
public EntityGraphMap()
-
-
Method Details
-
putAll
-
removeAll
-
clearGraph
-
put
-
remove
-
removeTriple
public void removeTriple(org.apache.jena.graph.Triple triple) Globally remove a triple; i.e. removes the triple from all referencing entities- Parameters:
triple-
-
removeEntity
Removes an entity and all triples associated with it- Parameters:
entity-
-
getGraphForKey
-