@Test void close() throws Exception{ objDbReader.close(); }
@Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } }
H2ScoreDistributionReader implements ScoreDistributionReader { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } }
H2ScoreDistributionReader implements ScoreDistributionReader { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } H2ScoreDistributionReader(String pathDb, String tableName); }
H2ScoreDistributionReader implements ScoreDistributionReader { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } H2ScoreDistributionReader(String pathDb, String tableName); @Override ObjectScoreDistribution readForTermCountAndObject(int termCount, TermId objectId); @Override ScoreDistribution readForTermCount(int termCount); @Override Map<Integer, ScoreDistribution> readAll(); @Override void close(); }
H2ScoreDistributionReader implements ScoreDistributionReader { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } H2ScoreDistributionReader(String pathDb, String tableName); @Override ObjectScoreDistribution readForTermCountAndObject(int termCount, TermId objectId); @Override ScoreDistribution readForTermCount(int termCount); @Override Map<Integer, ScoreDistribution> readAll(); @Override void close();  }