/** * Downloads a file from the source * * @param file * is the file to download * @return an iterator over the file * TODO Add support for different file formats besides text e.g. avro iterator, byte iterator, json iterator. */ public Iterator<D> downloadFile(String file) throws IOException { return this.fileDownloader.downloadFile(file); }
/** * Downloads a file from the source * * @param file * is the file to download * @return an iterator over the file * TODO Add support for different file formats besides text e.g. avro iterator, byte iterator, json iterator. */ public Iterator<D> downloadFile(String file) throws IOException { return this.fileDownloader.downloadFile(file); }