/** * Returns one triple count from a particular mapping. * * @param datasourceId * The data source identifier. * @param mappingId * The mapping identifier. * @return The number of triples. */ public int getStatistics(String datasourceId, String mappingId) { final HashMap<String, Integer> mappingStat = getStatistics(datasourceId); int triplesCount = mappingStat.get(mappingId).intValue(); return triplesCount; }
/** * Returns one triple count from a particular mapping. * * @param datasourceId * The data source identifier. * @param mappingId * The mapping identifier. * @return The number of triples. */ public int getStatistics(String datasourceId, String mappingId) { final HashMap<String, Integer> mappingStat = getStatistics(datasourceId); int triplesCount = mappingStat.get(mappingId).intValue(); return triplesCount; }
final HashMap<String, HashMap<String, Integer>> data = statistics.getStatistics(); for (String datasourceName : data.keySet() ) {