public class GraphBackedResourceCache extends Object
| Constructor and Description |
|---|
GraphBackedResourceCache(org.aksw.commons.graph.SparqlEndpoint graphDAO) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyChanges() |
void |
insert(com.hp.hpl.jena.rdf.model.Model model) |
com.hp.hpl.jena.rdf.model.Model |
lookup(Collection<com.hp.hpl.jena.rdf.model.Resource> resources) |
static String |
myToString(Collection<?> collection) |
void |
remove(com.hp.hpl.jena.rdf.model.Model model) |
static Set<List<Object>> |
toKeys(Collection<com.hp.hpl.jena.rdf.model.Resource> resources) |
public GraphBackedResourceCache(org.aksw.commons.graph.SparqlEndpoint graphDAO)
public com.hp.hpl.jena.rdf.model.Model lookup(Collection<com.hp.hpl.jena.rdf.model.Resource> resources) throws Exception
Exceptionpublic static String myToString(Collection<?> collection)
public static Set<List<Object>> toKeys(Collection<com.hp.hpl.jena.rdf.model.Resource> resources)
Copyright © 2013. All Rights Reserved.