private void handleBoolean(ResultSet rs, int columnIndex, ContentHandler handler)
            throws SAXException, SQLException {
        boolean b = rs.getBoolean(columnIndex);
        if (!rs.wasNull()) {
            addAllCharacters(Boolean.toString(b), handler);
        }
    }
General base class to iterate through rows of a JDBC table
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-jdbc-commons/src/main/java/org/apache/tika/parser/jdbc/JDBCTableReader.java