void reset() throws IOException {

        if (results != null) {
            try {
                results.close();
            } catch (SQLException e) {
                //swallow
            }
        }

        String sql = "SELECT * from " + tableName;
        try {
            Statement st = connection.createStatement();
            results = st.executeQuery(sql);
        } catch (SQLException e) {
            throw new IOException(e);
        }
        rows = 0;
    }
@param resultSet   result set to grab value from
@param columnIndex index in result set
@param metadata    metadata to populate or use for each implementation
@return the blob or <code>null</code> if the value was null
@throws SQLException
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-jdbc-commons/src/main/java/org/apache/tika/parser/jdbc/JDBCTableReader.java