public boolean containsTable(String tableName) throws SQLException {
        Connection connection = getConnection();
        Set<String> tables = getTables(connection);
        if (tables.contains(normalizeTableName(tableName))) {
            return true;
        }

        return false;
    }
JDBC driver class.  Override as necessary.

@return
tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/db/JDBCUtil.java