class SQLWriter {

    public void write(WritableToTable supplier, String fileName, String tableName) {
        ImmutableSet<String> header = supplier.getHeaders();
        if (header.isEmpty()) {
            logger.info("Nothing to write to " + fileName);
            return;
        }
        writeFile(header, supplier, fileName, tableName);
    }

}