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

Structure for retrieving multiple table columns of different types. More...

#include <Data.hpp>

Public Attributes

std::string table
 The name of the table. More...
 
std::vector< std::pair< std::string, Type > > columns_types
 Vector containing the names and data types of the columns to be retrieved. 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 different types.

Member Data Documentation

◆ columns_types

std::vector<std::pair<std::string, Type> > crawlservpp::Data::GetColumnsMixed::columns_types

Vector containing the names and data types of the columns to be retrieved.

Referenced by crawlservpp::Main::Database::getCustomData(), crawlservpp::Main::Server::tick(), and crawlservpp::Module::Analyzer::Thread::uploadResult().

◆ condition

std::string crawlservpp::Data::GetColumnsMixed::condition

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

Referenced by crawlservpp::Main::Database::getCustomData(), and crawlservpp::Main::Server::tick().

◆ order

std::vector<std::string> crawlservpp::Data::GetColumnsMixed::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::Main::Database::getCustomData(), and crawlservpp::Module::Analyzer::Thread::uploadResult().

◆ table

std::string crawlservpp::Data::GetColumnsMixed::table

◆ values

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

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

Referenced by crawlservpp::Main::Database::getCustomData(), crawlservpp::Main::Server::tick(), and crawlservpp::Module::Analyzer::Thread::uploadResult().


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