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

Structure for retrieving multiple table columns of the same type. More...

#include <Data.hpp>

Public Attributes

std::string table
 The name of the table. More...
 
std::vector< std::string > columns
 Vector containing the names of the columns. More...
 
Type type {_unknown}
 The data type of the columns. More...
 
std::string condition
 Optional condition to be added to the SQL query retrieving the values of the columns. More...
 
std::vector< std::string > order
 Optional order to be applied to the SQL query retrieving the values of the columns. More...
 
std::vector< std::vector< Value > > values
 Vector containing the retrieved columns as vectors of the retrieved values. More...
 

Detailed Description

Structure for retrieving multiple table columns of the same type.

Member Data Documentation

◆ columns

std::vector<std::string> crawlservpp::Data::GetColumns::columns

Vector containing the names of the columns.

Referenced by crawlservpp::Module::Analyzer::Database::checkSources(), and crawlservpp::Main::Database::getCustomData().

◆ condition

std::string crawlservpp::Data::GetColumns::condition

Optional condition to be added to the SQL query retrieving the values of the columns.

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

◆ order

std::vector<std::string> crawlservpp::Data::GetColumns::order

Optional order to be applied to the SQL query retrieving the values of the columns.

The values will be ordered by the given columns, in the same order as they are present in the vector.

Referenced by crawlservpp::Module::Analyzer::Database::checkSources(), and crawlservpp::Main::Database::getCustomData().

◆ table

std::string crawlservpp::Data::GetColumns::table

◆ type

Type crawlservpp::Data::GetColumns::type {_unknown}

◆ values

std::vector<std::vector<Value> > crawlservpp::Data::GetColumns::values

Vector containing the retrieved columns as vectors of the retrieved values.

Referenced by crawlservpp::Module::Analyzer::Database::checkSources(), and crawlservpp::Main::Database::getCustomData().


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