summaryrefslogtreecommitdiff
path: root/project2/sqlMergeTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/sqlMergeTask.h')
-rw-r--r--project2/sqlMergeTask.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/project2/sqlMergeTask.h b/project2/sqlMergeTask.h
index ede8424..08246d0 100644
--- a/project2/sqlMergeTask.h
+++ b/project2/sqlMergeTask.h
@@ -73,66 +73,5 @@ class SqlMergeTask : public Task {
static bool defaultUseTempTable;
};
-/*
-class CopyBasedDbConversion : public DbConversion {
- public:
- CopyBasedDbConversion(const Connection & dest, const std::string dt);
- virtual ~CopyBasedDbConversion();
- private:
- void copyToTempTable() const;
- virtual SelectCommand * selectCommand() const = 0;
-};
-class SimpleDbConversion : public CopyBasedDbConversion {
- public:
- SimpleDbConversion(const Connection & src, const std::string st, const Connection & dest,
- const std::string dt);
- ~SimpleDbConversion();
- SelectCommand * selectCommand() const;
- private:
- const Connection & srcdb;
- const Table stable;
- mutable SelectCommand * srcCmd;
-};
-class CustomDbConversion : public CopyBasedDbConversion {
- public:
- CustomDbConversion(SelectCommand * srcc, const Connection & dest, const std::string dt);
- ~CustomDbConversion();
- private:
- SelectCommand * selectCommand() const;
- SelectCommand * srcCmd;
-};
-class EasyFillDbConversion : public DbConversion {
- public:
- EasyFillDbConversion(const std::string src, const Connection & db, const std::string dt);
- ~EasyFillDbConversion();
-
- private:
- void copyToTempTable() const;
- const std::string srcSql;
-};
-class FileFillDbConversion : public DbConversion {
- public:
- FileFillDbConversion(const std::string src, const Connection & db, const std::string dt);
- ~FileFillDbConversion();
-
- std::list<ODBC::String> post;
-
- private:
- void copyToTempTable() const;
- const std::string srcFile;
-};
-class CustomFillDbConversion : public DbConversion {
- public:
- typedef void(*FillFunc)(const CustomFillDbConversion *);
-
- CustomFillDbConversion(FillFunc fill, const Connection & dest, const std::string dt);
- ~CustomFillDbConversion();
-
- private:
- void copyToTempTable() const;
- const FillFunc filler;
-};
-*/
-
#endif