|
|
| JSONDataFrameWriter (const JSONDataFrameWriter &)=default |
|
| JSONDataFrameWriter (JSONDataFrameWriter &&) noexcept=default |
|
JSONDataFrameWriter & | operator= (const JSONDataFrameWriter &)=default |
|
JSONDataFrameWriter & | operator= (JSONDataFrameWriter &&) noexcept=default |
| virtual JSONDataFrameWriter * | clone () const override |
| virtual void | writeData (const DataFrame *data, const std::filesystem::path &filePath) const override |
| | Write data to filePath.
|
| virtual std::unique_ptr< std::vector< unsigned char > > | writeDataToBuffer (const DataFrame *data, std::string_view fileExtension) const override |
|
void | writeData (const DataFrame *data, std::ostream &os) const |
|
DataWriterType & | operator= (const DataWriterType &that)=default |
|
| DataWriter (const DataWriter &rhs) |
|
DataWriter & | operator= (const DataWriter &that) |
|
| DataWriter (DataWriter &&rhs) noexcept=default |
|
DataWriter & | operator= (DataWriter &&that) noexcept=default |
|
const std::vector< FileExtension > & | getExtensions () const |
|
void | addExtension (FileExtension ext) |
|
Overwrite | getOverwrite () const |
|
void | setOverwrite (Overwrite val) |
| void | checkOverwrite (const std::filesystem::path &path) const |
| virtual bool | setOption (std::string_view key, std::any value) |
| | Set writer specific options See the documentation of the specific writer for the available options.
|
| virtual std::any | getOption (std::string_view key) const |
| | Query the value of a writer specific option.
|
|
template<typename T> |
| bool | writesType () const |
Writes a DataFrame into a json file Expects object layout: [ {"Col1": val11, "Col2": val12 }, {"Col1": val21, "Col2": val22 } ] The example above contains two rows and two columns.