1 #ifndef GENIE_INTERFACE_IO_H_ 2 #define GENIE_INTERFACE_IO_H_ 24 void SaveTableToBinary(
const std::string& filename,
const std::shared_ptr<const genie::table::inv_table> &table);
QueryData LoadQueryDataFromCsv(const std::string &filename, const std::shared_ptr< const ExecutionPolicy > &policy)
Reads query from a CSV file and returns in QueryData format.
This is the top-level namespace of the project.
std::vector< std::vector< int > > QueryData
Raw query data format used for building the queries.
std::shared_ptr< genie::table::inv_table > LoadTableFromBinary(const std::string &filename)
Reads data from a binary file and returns pre-built table.
void SaveTableToBinary(const std::string &filename, const std::shared_ptr< const genie::table::inv_table > &table)
Save inverted table to a binary file.
std::vector< std::vector< int > > TableData
Raw table data format used for building the table.
TableData LoadTableDataFromCsv(const std::string &filename)
Reads data from a CSV file and returns in TableData format.