code: public List<Meta> selectTermMeta(final long termId) throws SQLException {
  
        Connection conn = null;
        PreparedStatement stmt = null;
        ResultSet rs = null;
        List<Meta> meta = Lists.newArrayListWithExpectedSize(8);
        Timer.Context ctx = metrics.selectTermMetaTimer.time();
        try {
           conn = connectionSupplier.getConnection();
           stmt = conn.prepareStatement(selectTermMetaSQL);
           stmt.setLong(1, termId);
           rs = stmt.executeQuery();
           while(rs.next()) {
              meta.add(new Meta(rs.getLong(1), rs.getString(2), rs.getString(3)));
           }
        } finally {
           ctx.stop();
           SQLUtil.closeQuietly(conn, stmt, rs);
        }
  
        return meta;
     }
docs: Selects metadata for a term.
  @param termId The term id.
  @return The metadata.
  @throws SQLException on database error.