Gaffer
Gaffer copied to clipboard
Create a ExportToLocalFile Operation
Create a ToFile operation that writes an Iterable of strings to a CSV file
@p3430233 - in what file format? Just Linux?
As a useful follow on from https://github.com/gchq/Gaffer/issues/2675, an ExportTo Operation should be created called ExportToLocalFile. This will take an iterable of Strings (like created by ToCsv) and save it to a local file. This is a useful operation for local data science work with Gaffer.
We should ensure this works "lazily", i.e. it will iterate through results and write them as they come in (perhaps in bulk), so files larger than available memory can be written. Tests for this should be made.
Closed by https://github.com/gchq/Gaffer/pull/2729