public final class DatasetStatistics extends Object
| Constructor and Description |
|---|
DatasetStatistics(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef,
boolean doGetCounts)
Instantiates a new Dataset statistics.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAllNamespaces()
Gets all namespaces that exists in a QEF
|
Map<String,Integer> |
getClassStats()
Returns property statistics.
|
Collection<SchemaSource> |
getIdentifiedSchemata()
Uses the getAllNamespaces() function and tries to match them to SchemaSource's
|
protected String |
getNamespaceFromURI(String uri)
Gets namespace from uRI.
|
Map<String,Integer> |
getPropertyStats()
Returns property statistics.
|
protected Map<String,Integer> |
getStats(String sparqlQuery)
Gets stats.
|
public DatasetStatistics(org.aksw.jena_sparql_api.core.QueryExecutionFactory qef,
boolean doGetCounts)
qef - the qefdoGetCounts - the do get countspublic Map<String,Integer> getPropertyStats()
public Map<String,Integer> getClassStats()
public Collection<String> getAllNamespaces()
public Collection<SchemaSource> getIdentifiedSchemata()
protected String getNamespaceFromURI(String uri)
uri - the uriCopyright © 2014. All rights reserved.