|
crawlserv++
[under development]
Application for crawling and analyzing textual content of websites.
|
Module options containing the thread ID, as well as ID and namespace of website and URL list used by the thread. More...
#include <ModuleOptions.hpp>
Properties | |
| std::uint64_t | threadId {} |
| The ID of the thread. More... | |
| std::uint64_t | websiteId {} |
| The ID of the website used by the thread. More... | |
| std::string | websiteNamespace |
| The namespace of the website used by the thread. More... | |
| std::uint64_t | urlListId {} |
| The ID of the URL list used by the thread. More... | |
| std::string | urlListNamespace |
| The namespace of the URL list used by the thread. More... | |
Construction | |
| ModuleOptions ()=default | |
| Default constructor. More... | |
| ModuleOptions (std::uint64_t setThreadId, std::uint64_t setWebsiteId, const std::string &setWebsiteNamespace, std::uint64_t setUrlListId, const std::string &setUrlListNamespace) | |
| Constructor setting the basic module options for the thread. More... | |
Module options containing the thread ID, as well as ID and namespace of website and URL list used by the thread.
|
default |
Default constructor.
|
inline |
Constructor setting the basic module options for the thread.
| setThreadId | The ID of the thread. |
| setWebsiteId | The ID of the website used by the thread. |
| setWebsiteNamespace | Constant reference to a string containing the namespace of the website used by the thread. |
| setUrlListId | The ID of the URL list used by the thread. |
| setUrlListNamespace | Constant reference to a string containing the namespace of the URL list used by the thread. |
| std::uint64_t crawlservpp::Struct::ModuleOptions::threadId {} |
The ID of the thread.
Referenced by crawlservpp::Module::Database::setOptions(), and crawlservpp::Module::Database::setThreadId().
| std::uint64_t crawlservpp::Struct::ModuleOptions::urlListId {} |
The ID of the URL list used by the thread.
Referenced by crawlservpp::Module::Database::setOptions().
| std::string crawlservpp::Struct::ModuleOptions::urlListNamespace |
The namespace of the URL list used by the thread.
Referenced by crawlservpp::Module::Analyzer::Database::addAdditionalTable(), crawlservpp::Module::Analyzer::Database::initTargetTable(), crawlservpp::Module::Crawler::Database::prepare(), and crawlservpp::Module::Analyzer::Database::prepare().
| std::uint64_t crawlservpp::Struct::ModuleOptions::websiteId {} |
The ID of the website used by the thread.
Referenced by crawlservpp::Module::Database::setOptions().
| std::string crawlservpp::Struct::ModuleOptions::websiteNamespace |
The namespace of the website used by the thread.
Referenced by crawlservpp::Module::Analyzer::Database::addAdditionalTable(), crawlservpp::Module::Analyzer::Database::initTargetTable(), crawlservpp::Module::Crawler::Database::prepare(), and crawlservpp::Module::Analyzer::Database::prepare().