crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Table properties containing its name, columns, data directory, and compression. More...
#include <TableProperties.hpp>
Properties | |
std::string | name |
The name of the table. More... | |
std::vector< TableColumn > | columns |
Vector containing the columns of the table. More... | |
std::string | dataDirectory |
The data directory of the table. More... | |
bool | compressed {false} |
Indicates whether compression is active for this table. More... | |
Construction | |
TableProperties ()=default | |
Default constructor. More... | |
TableProperties (const std::string &setName, const std::vector< TableColumn > &setColumns, const std::string &setDataDirectory, bool setCompressed) | |
Constructor setting table properties. More... | |
Table properties containing its name, columns, data directory, and compression.
|
default |
Default constructor.
|
inline |
Constructor setting table properties.
setName | Constant reference to a string containing the name of the table. |
setColumns | Constant reference to a vector containing the columns of the table. |
setDataDirectory | Constant reference to a string containing the data directory of the table. Set to an empty string if the default data directory should be used. |
setCompressed | Set whether compression should be used for storing the table in the database. |
std::vector<TableColumn> crawlservpp::Struct::TableProperties::columns |
Vector containing the columns of the table.
Referenced by crawlservpp::Main::Database::createTable().
bool crawlservpp::Struct::TableProperties::compressed {false} |
Indicates whether compression is active for this table.
Referenced by crawlservpp::Main::Database::createTable().
std::string crawlservpp::Struct::TableProperties::dataDirectory |
The data directory of the table.
Contains an empty string if the default data directory is used.
Referenced by crawlservpp::Main::Database::createTable().
std::string crawlservpp::Struct::TableProperties::name |
The name of the table.
Referenced by crawlservpp::Main::Database::createTable().