void addCol (
std::string _name,
TypeEnum type_size,
int row_num
)
allocate buffer for one column and add it into the Table .
usage: tab.addCol(“o_orderkey”, TypeEnum::TypeInt32 , 10000);
Parameters:
_name |
column name |
type_size |
size of the column element data type in bytes |
row_num |
number of rows |