|
| cmake_minimum_required (VERSION 3.10) project(ColumnStore VERSION 0.1) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED True) set(LIB_DIR $ |
|
libs | if (CMAKE_COMPILER_IS_GNUCXX) set(CMAKE_FS_LINK stdc++fs) endif() find_package(Boost 1.65.1 COMPONENTS program_options REQUIRED) find_package(nlohmann_json 3.2.0 REQUIRED) add_subdirectory(src/PostgresDataGenerator) add_subdirectory(src/Parser) add_subdirectory(src/CSVDataGenerator) add_subdirectory(src/Fort) add_subdirectory(src/GenericQuery) add_subdirectory(src/interfaces) add_executable(schema_loader src/Parser/SchemaLoaderTester.cpp) target_link_libraries(schema_loader PRIVATE parser) add_executable(postgres_data_test src/PostgresDataGenerator/PostgreSQLDataGeneratorTest.cpp) target_link_libraries(postgres_data_test PRIVATE postgres_data_generator) add_executable(main_test test.cpp) target_include_directories(main_test PUBLIC src) target_link_libraries(main_test PRIVATE csv_data_generator generic_query interfaces parser Boost |
|
interfaces postgres_data_generator | add_executable (column_store_init src/ColumnStoreInitializer/Driver.cpp) target_link_libraries(column_store_init PRIVATE parser Boost |
|
| add_executable (projection_test src/Core/ProjectionDataTest.cpp) target_include_directories(projection_test PUBLIC src/interfaces) target_link_libraries(projection_test PRIVATE parser Boost |
|
interfaces postgres_data_generator | add_executable (column_store_updater src/Core/ColumnStoreUpdater.cpp) target_include_directories(column_store_updater PUBLIC src/interfaces) target_link_libraries(column_store_updater PRIVATE parser Boost |
|
◆ add_executable() [1/3]
interfaces postgres_data_generator add_executable |
( |
column_store_init src/ColumnStoreInitializer/Driver. |
cpp | ) |
|
◆ add_executable() [2/3]
interfaces postgres_data_generator add_executable |
( |
column_store_updater src/Core/ColumnStoreUpdater. |
cpp | ) |
|
◆ add_executable() [3/3]
add_executable |
( |
projection_test src/Core/ProjectionDataTest. |
cpp | ) |
|
◆ cmake_minimum_required()
cmake_minimum_required |
( |
VERSION 3. |
10 | ) |
|
◆ if()
libs if |
( |
CMAKE_COMPILER_IS_GNUCXX |
| ) |
|
std::shared_ptr< Aggregator > AggregatorQuery
Shared pointer to Query Structure.
Definition: AggregatorQuery.h:57
DataSource build()
Definition: GenericQueryBuilder.cpp:134
void setBaseSource(std::string name, std::vector< std::string > columns)
Set the Base Source and the columns required in the query result.
Definition: GenericQueryBuilder.cpp:39
Definition: ColStoreDataGenerator.h:22
CSV Data Source generator.
Definition: CSVDataGenerator.cpp:50
Data Generator for GenericQueryBuilder.
Definition: GenericGenerator.cpp:11
Definition: AggregatorQuery.h:59
std::shared_ptr< DataGeneratorInterface > DataSource
Shared pointer to the DataGeneratorInterface.
Definition: DataGeneratorInterface.h:73
void registerDataSource(std::string name, DataSource source)
Registers a new data source and gives is an alias name.
Definition: GenericQueryBuilder.cpp:28
int main(int argc, char **argv)
Definition: test.cpp:9
Definition: ColStoreDataGenerator.h:23
Generic Query Builder Class.
Definition: GenericQueryBuilder.h:47
Definition: PostgreSQLDataGenerator.h:24
void aggregate(ColumnStore::AggregatorQuery query)
Definition: GenericQueryBuilder.h:163
Definition: PostgreSQLMetaData.h:13
Definition: CSVDataGenerator.h:46