Column Store
DataLoader.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <fstream>
4 #include <iostream>
5 #include <pqxx/pqxx>
6 #include <string>
7 
8 namespace Parser {
9  class DataLoader {
11  pqxx::connection *conn;
12  void load_data();
13 
14  public:
15  DataLoader(std::string db_name, std::string username, std::string password,
16  std::string sql_file_name);
17  };
18 }
Parser
Definition: Column.h:6
Parser::DataLoader::db_name
std::string db_name
Definition: DataLoader.h:10
Parser::DataLoader::DataLoader
DataLoader(std::string db_name, std::string username, std::string password, std::string sql_file_name)
Definition: DataLoader.cpp:5
Parser::DataLoader::conn
pqxx::connection * conn
Definition: DataLoader.h:11
Parser::DataLoader::password
std::string password
Definition: DataLoader.h:10
Parser::DataLoader::username
std::string username
Definition: DataLoader.h:10
main
int main()
Definition: create_dummy_data.cpp:56
create_dummy_data
void create_dummy_data(string file_name)
Definition: create_dummy_data.cpp:10
Parser::DataLoader::load_data
void load_data()
Definition: DataLoader.cpp:30
Parser::DataLoader::sql_file_name
std::string sql_file_name
Definition: DataLoader.h:10
Parser::DataLoader
Definition: DataLoader.h:9
DataLoader.h