class H2ScoreDistributionWriter implements ScoreDistributionWriter {

  @Override
  public void write(int numTerms, ScoreDistribution scoreDistribution, int resolution)
      throws PhenolException {
    for (TermId objectId : scoreDistribution.getObjectIds()) {
      final ObjectScoreDistribution dist = scoreDistribution.getObjectScoreDistribution(objectId);
      writeObjectScoreDistribution(numTerms, dist, resolution);
    }
  }

  public  H2ScoreDistributionWriter(String pathDb, String dataTableName, boolean resetTableIfExists);

}