public class VirtualABoxStatistics extends Object
| Constructor and Description |
|---|
VirtualABoxStatistics(OBDAModel obdaModel) |
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,HashMap<String,Integer>> |
getStatistics()
Returns the complete statistics from the OBDA model.
|
HashMap<String,Integer> |
getStatistics(String datasourceId)
Returns the triples counts from all the mappings that associate to a
certain data source.
|
int |
getStatistics(String datasourceId,
String mappingId)
Returns one triple count from a particular mapping.
|
int |
getTotalTriples()
Gets the total number of triples from all the data sources and mappings.
|
void |
refresh() |
String |
toString() |
public VirtualABoxStatistics(OBDAModel obdaModel)
public HashMap<String,HashMap<String,Integer>> getStatistics()
public HashMap<String,Integer> getStatistics(String datasourceId)
datasourceId - The data source identifier.public int getStatistics(String datasourceId, String mappingId)
datasourceId - The data source identifier.mappingId - The mapping identifier.public int getTotalTriples()
throws Exception
Exceptionpublic void refresh()
Copyright © 2009–2020 KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano. All rights reserved.