Column Store
PostgreSQLMetaData.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <iostream>
4 #include <pqxx/pqxx>
5 #include <string>
6 
9 
11 
12 namespace Postgres {
14  std::string db_name, username, password;
15  pqxx::connection *conn;
17 
18  public:
19  PostgreSQLMetaData(std::string db_name, std::string username,
20  std::string password, SchemaMetaData schema);
21  pqxx::connection *get_connection() const { return conn; }
22  std::string get_db_name() const { return db_name; }
23  std::string get_username() const { return username; }
24  std::string get_password() const { return password; }
26 };
27 }
Postgres::PostgreSQLMetaData::get_schema_meta_data
SchemaMetaData get_schema_meta_data() const
Definition: PostgreSQLMetaData.h:25
Postgres::PostgreSQLMetaData::password
std::string password
Definition: PostgreSQLMetaData.h:14
Postgres::PostgreSQLMetaData::PostgreSQLMetaData
PostgreSQLMetaData(std::string db_name, std::string username, std::string password, SchemaMetaData schema)
Definition: PostgreSQLMetaData.cpp:9
SchemaMetaData.h
Parser::SchemaMetaData
Definition: SchemaMetaData.h:14
Postgres::PostgreSQLDataSource::advance
void advance(int recordCount)
Definition: PostgreSQLDataGenerator.h:194
Postgres::PostgreSQLMetaData::username
std::string username
Definition: PostgreSQLMetaData.h:14
Postgres
Definition: PostgreSQLDataGenerator.h:23
SchemaExtractor.h
Postgres::PostgreSQLMetaData::get_username
std::string get_username() const
Definition: PostgreSQLMetaData.h:23
Postgres::PostgreSQLMetaData::schema_meta_data
SchemaMetaData schema_meta_data
Definition: PostgreSQLMetaData.h:16
Parser::SchemaExtractor::get_meta_data
SchemaMetaData get_meta_data()
Definition: SchemaExtractor.h:24
main
int main()
Definition: PostgreSQLDataGeneratorTest.cpp:4
Postgres::PostgreSQLMetaData::get_db_name
std::string get_db_name() const
Definition: PostgreSQLMetaData.h:22
PostgreSQLMetaData.h
Parser::SchemaExtractor
Definition: SchemaExtractor.h:14
Postgres::PostgreSQLMetaData::db_name
std::string db_name
Definition: PostgreSQLMetaData.h:14
Postgres::PostgreSQLMetaData::get_connection
pqxx::connection * get_connection() const
Definition: PostgreSQLMetaData.h:21
Postgres::PostgreSQLDataSource
Definition: PostgreSQLDataGenerator.h:24
Postgres::PostgreSQLMetaData::get_password
std::string get_password() const
Definition: PostgreSQLMetaData.h:24
Postgres::PostgreSQLMetaData::conn
pqxx::connection * conn
Definition: PostgreSQLMetaData.h:15
Postgres::PostgreSQLMetaData
Definition: PostgreSQLMetaData.h:13
PostgreSQLDataGenerator.h
ColumnStore::DataGeneratorInterface::print
void print(int recordCount=-1)
Print the data.
Definition: DataGeneratorInterface.cpp:46