public class GetAllSparqlQueryModule extends SparqlQueryModule
kb| Constructor and Description |
|---|
GetAllSparqlQueryModule(KBInfo kbinfo)
constructor calling super constructor
|
GetAllSparqlQueryModule(KBInfo kbinfo,
Integer subjectLimit)
constructor calling super construcor and setting subjectLimit
|
| Modifier and Type | Method and Description |
|---|---|
void |
fillCache(ACache cache,
boolean paginate) |
void |
fillCache(ACache cache,
String getOnlyThisProperty,
boolean paginate)
fills cache
|
protected KBInfo |
getKB()
superclass member variable kb is private, access via reflection
|
static org.apache.jena.query.ResultSet |
querySelect(String query,
KBInfo kb)
executes query by calling
SPARQLHelper.querySelect(String, String, String, Model) |
fillCache, generateQuerypublic GetAllSparqlQueryModule(KBInfo kbinfo)
kbinfo - kbinfopublic static org.apache.jena.query.ResultSet querySelect(String query, KBInfo kb)
SPARQLHelper.querySelect(String, String, String, Model)query - querykb - kbprotected KBInfo getKB()
public void fillCache(ACache cache, boolean paginate)
fillCache in class SparqlQueryModulepaginate - with pagination set to false, no additional offset queries
will be generated after the first querypublic void fillCache(ACache cache, String getOnlyThisProperty, boolean paginate) throws Exception
cache - cachegetOnlyThisProperty - getOnlyThisPropertypaginate - with pagination set to false, no additional offset queries
will be generated after the first queryException - thrown if something goes wrongCopyright © 2018. All rights reserved.