void addCol ( std::string _name, TypeEnum type_size, std::vector <struct ColPtr> ptr_pairs )
create one column with several sections by user-provided pointer list
usage: tab.addCol(“o_orderkey”, TypeEnum::TypeInt32, {{ptr1,10000},{ptr2,20000}});
Parameters:
_name | column name |
type_size | size of the column element data type in bytes |
ptr_pairs | vector of (ptr,row_num) pairs |