org.aksw.commons.graph
Class MemoryGraph

java.lang.Object
  extended by org.aksw.commons.graph.BaseIndexedGraph
      extended by org.aksw.commons.graph.MemoryGraph
All Implemented Interfaces:
IGraph

public class MemoryGraph
extends BaseIndexedGraph


Field Summary
 
Fields inherited from class org.aksw.commons.graph.BaseIndexedGraph
cacheProvider, listeners
 
Constructor Summary
MemoryGraph()
           
 
Method Summary
 void add(Collection<com.hp.hpl.jena.graph.Triple> ts)
          Adds triples to the graph
 void clear()
          Removes all triples from the graph
 void remove(Collection<com.hp.hpl.jena.graph.Triple> ts)
           
 Set<com.hp.hpl.jena.graph.Triple> uncachedBulkFind(Set<List<Object>> keys, int[] keyColumns)
           
 
Methods inherited from class org.aksw.commons.graph.BaseIndexedGraph
bulkFind, getCacheProvider, getGraphListeners, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoryGraph

public MemoryGraph()
Method Detail

add

public void add(Collection<com.hp.hpl.jena.graph.Triple> ts)
Description copied from interface: IGraph
Adds triples to the graph

Specified by:
add in interface IGraph
Overrides:
add in class BaseIndexedGraph

remove

public void remove(Collection<com.hp.hpl.jena.graph.Triple> ts)
Specified by:
remove in interface IGraph
Overrides:
remove in class BaseIndexedGraph

uncachedBulkFind

public Set<com.hp.hpl.jena.graph.Triple> uncachedBulkFind(Set<List<Object>> keys,
                                                          int[] keyColumns)

clear

public void clear()
Description copied from interface: IGraph
Removes all triples from the graph



Copyright © 2012. All Rights Reserved.