--- a/src/Configuration.h Sun May 31 16:56:07 2020 +0200
+++ b/src/Configuration.h Sun May 31 21:20:24 2020 +0200
@@ -64,15 +64,6 @@
std::vector<Parameter> parameters;
};
-enum class KeepFile {
- /** The file will be kept even if it was created during this transformation, so all the input data will stay on the disk. */
- Always,
- /** The file will be deleted at the end of this transformation – even if the file already existed. This is potentially dangerous, because we can unintentionally delete a database file. */
- Never,
- /** The file will be kept only if it was already present before the transformation. */
- Automatic
-};
-
/**
* Allows copying relations from the input stream to the output stream.
* Such relations are specified by a regular expression.
@@ -96,17 +87,9 @@
public:
- /**
- * By default, this transformation runs in-memory.
- * If 'file' is not empty, this transformation will operate on an .sqlite file.
- * The file will be created if it does not exist.
- */
- relpipe::writer::string_t file;
-
- /**
- * see KeepFile documentation
- */
- KeepFile keepFile = KeepFile::Automatic;
+ relpipe::writer::string_t dataSourceName;
+
+ relpipe::writer::string_t dataSourceURL;
std::vector<Statement> statements;