crawlserv++  [under development]
Application for crawling and analyzing textual content of websites.
crawlservpp::Struct::TargetTableProperties Struct Reference

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< TableColumncolumns
 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...
 

Detailed Description

Target table properties containing its type, website, URL list, table names, columns, and compression.

Constructor & Destructor Documentation

◆ TargetTableProperties() [1/3]

crawlservpp::Struct::TargetTableProperties::TargetTableProperties ( )
default

Default constructor.

◆ TargetTableProperties() [2/3]

crawlservpp::Struct::TargetTableProperties::TargetTableProperties ( const std::string &  setType,
std::uint64_t  setWebsite,
std::uint64_t  setUrlList,
const std::string &  setName,
const std::string &  setFullName,
bool  setCompressed 
)
inline

Constructor setting properties, but not the columns of the target table.

Parameters
setTypeConstant reference to a string containing the type of the data to be stored in the table.
setWebsiteThe ID of the website used for retrieving data to be stored in the table.
setUrlListThe ID of the URL list used for retrieving data to be stored in the table.
setNameConstant reference to a string containing the name of the table.
setFullNameConstant reference to a string containing the full name of the table.
setCompressedSet whether compression should be used for storing the table in the database.

◆ TargetTableProperties() [3/3]

crawlservpp::Struct::TargetTableProperties::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 
)
inline

Constructor setting properties and columns of the target table.

Parameters
setTypeConstant reference to a string containing the type of the data to be stored in the table.
setWebsiteThe ID of the website used for retrieving data to be stored in the table.
setUrlListThe ID of the URL list used for retrieving data to be stored in the table.
setNameConstant reference to a string containing the name of the table.
setFullNameConstant reference to a string containing the full name of the table.
setColumnsConstant reference to a vector containing the columns of the table.
setCompressedSet whether compression should be used for storing the table in the database.

Member Data Documentation

◆ columns

◆ compressed

bool crawlservpp::Struct::TargetTableProperties::compressed {false}

Indicates whether compression is active for this table.

Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().

◆ fullName

std::string crawlservpp::Struct::TargetTableProperties::fullName

The full name of the table.

Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().

◆ name

std::string crawlservpp::Struct::TargetTableProperties::name

View of a string containing the name of the table.

Referenced by crawlservpp::Main::Database::addOrUpdateTargetTable().

◆ type

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().

◆ urlList

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().

◆ website

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().


The documentation for this struct was generated from the following file: