|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Target table properties containing its type, website, URL list, table names, columns, and compression. More...
#include <TargetTableProperties.hpp>
Properties | |
| std::string | type |
| The type of the data stored in the table. More... | |
| std::uint64_t | website {} |
| The ID of the website used for retrieving data to be stored in the table. More... | |
| std::uint64_t | urlList {} |
| The ID of the URL list used for retrieving data to be stored in the table. More... | |
| std::string | name |
| View of a string containing the name of the table. More... | |
| std::string | fullName |
| The full name of the table. More... | |
| std::vector< TableColumn > | columns |
| Vector containing the columns of the table. More... | |
| bool | compressed {false} |
| Indicates whether compression is active for this table. More... | |
Construction | |
| TargetTableProperties ()=default | |
| Default constructor. More... | |
| TargetTableProperties (const std::string &setType, std::uint64_t setWebsite, std::uint64_t setUrlList, const std::string &setName, const std::string &setFullName, bool setCompressed) | |
| Constructor setting properties, but not the columns of the target table. More... | |
| TargetTableProperties (const std::string &setType, std::uint64_t setWebsite, std::uint64_t setUrlList, const std::string &setName, const std::string &setFullName, const std::vector< TableColumn > &setColumns, bool setCompressed) | |
| Constructor setting properties and columns of the target table. More... | |
Target table properties containing its type, website, URL list, table names, columns, and compression.
|
default |
Default constructor.
|
inline |
Constructor setting properties, but not the columns of the target table.
| setType | Constant reference to a string containing the type of the data to be stored in the table. |
| setWebsite | The ID of the website used for retrieving data to be stored in the table. |
| setUrlList | The ID of the URL list used for retrieving data to be stored in the table. |
| setName | Constant reference to a string containing the name of the table. |
| setFullName | Constant reference to a string containing the full name of the table. |
| setCompressed | Set whether compression should be used for storing the table in the database. |
|
inline |
Constructor setting properties and columns of the target table.
| setType | Constant reference to a string containing the type of the data to be stored in the table. |
| setWebsite | The ID of the website used for retrieving data to be stored in the table. |
| setUrlList | The ID of the URL list used for retrieving data to be stored in the table. |
| setName | Constant reference to a string containing the name of the table. |
| setFullName | Constant reference to a string containing the full name of the table. |
| setColumns | Constant reference to a vector containing the columns of the table. |
| setCompressed | Set whether compression should be used for storing the table in the database. |
| std::vector<TableColumn> crawlservpp::Struct::TargetTableProperties::columns |
Vector containing the columns of the table.
Referenced by crawlservpp::Module::Analyzer::Database::addAdditionalTable(), crawlservpp::Main::Database::addOrUpdateTargetTable(), crawlservpp::Module::Parser::Database::initTargetTable(), crawlservpp::Module::Analyzer::Database::initTargetTable(), and crawlservpp::Module::Extractor::Database::initTargetTables().
| bool crawlservpp::Struct::TargetTableProperties::compressed {false} |
Indicates whether compression is active for this table.
Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().
| std::string crawlservpp::Struct::TargetTableProperties::fullName |
The full name of the table.
Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().
| std::string crawlservpp::Struct::TargetTableProperties::name |
View of a string containing the name of the table.
Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().
| std::string crawlservpp::Struct::TargetTableProperties::type |
The type of the data stored in the table.
Will be ignored when updating a target table.
Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().
| std::uint64_t crawlservpp::Struct::TargetTableProperties::urlList {} |
The ID of the URL list used for retrieving data to be stored in the table.
Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().
| std::uint64_t crawlservpp::Struct::TargetTableProperties::website {} |
The ID of the website used for retrieving data to be stored in the table.
Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().