Entity Matching by Similarity Join
 
Loading...
Searching...
No Matches
Table Class Reference

#include <dataframe.h>

Public Member Functions

 Table ()=default
 
 Table (int id, const std::string &name)
 
 Table (int id, const std::string &name, const std::vector< std::string > &data_headers, const std::vector< std::vector< std::string > > &data_rows, const std::vector< std::vector< std::string > > &data_columns)
 
void Profile ()
 
void PrintInfo ()
 
void printData () const
 
void printMetaData (const std::string &filename) const
 
void printGoldData (const std::string &filename, ui tableAsize) const
 
void findPerfectEntity ()
 
void insertOneRow (const std::vector< std::string > &tmpRow)
 

Public Attributes

int tid
 
int row_no
 
int col_no
 
std::string table_name
 
std::vector< std::string > schema
 
std::unordered_map< std::string, unsigned int > inverted_schema
 
std::vector< std::vector< std::string > > rows
 
std::vector< std::vector< std::string > > cols
 
std::vector< uiperfectid
 

Constructor & Destructor Documentation

◆ Table() [1/3]

Table::Table ( )
default

◆ Table() [2/3]

Table::Table ( int id,
const std::string & name )
inline

◆ Table() [3/3]

Table::Table ( int id,
const std::string & name,
const std::vector< std::string > & data_headers,
const std::vector< std::vector< std::string > > & data_rows,
const std::vector< std::vector< std::string > > & data_columns )
inline

Member Function Documentation

◆ findPerfectEntity()

void Table::findPerfectEntity ( )

◆ insertOneRow()

void Table::insertOneRow ( const std::vector< std::string > & tmpRow)

◆ printData()

void Table::printData ( ) const

◆ printGoldData()

void Table::printGoldData ( const std::string & filename,
ui tableAsize ) const

◆ PrintInfo()

void Table::PrintInfo ( )

◆ printMetaData()

void Table::printMetaData ( const std::string & filename) const

◆ Profile()

void Table::Profile ( )

Member Data Documentation

◆ col_no

int Table::col_no

◆ cols

std::vector<std::vector<std::string> > Table::cols

◆ inverted_schema

std::unordered_map<std::string, unsigned int> Table::inverted_schema

◆ perfectid

std::vector<ui> Table::perfectid

◆ row_no

int Table::row_no

◆ rows

std::vector<std::vector<std::string> > Table::rows

◆ schema

std::vector<std::string> Table::schema

◆ table_name

std::string Table::table_name

◆ tid

int Table::tid

The documentation for this class was generated from the following files: