MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / openOutputFiles

Method openOutputFiles

test/chbench/chbench/src/TupleGen.cc:47–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void TupleGen::openOutputFiles(const std::string& outDir) {
48 ofopen(warehouseStream, outDir + "/warehouse.tbl");
49 ofopen(districtStream, outDir + "/district.tbl");
50 ofopen(customerStream, outDir + "/customer.tbl");
51 ofopen(historyStream, outDir + "/history.tbl");
52 ofopen(neworderStream, outDir + "/neworder.tbl");
53 ofopen(orderStream, outDir + "/order.tbl");
54 ofopen(orderlineStream, outDir + "/orderline.tbl");
55 ofopen(itemStream, outDir + "/item.tbl");
56 ofopen(stockStream, outDir + "/stock.tbl");
57 ofopen(nationStream, outDir + "/nation.tbl");
58 ofopen(supplierStream, outDir + "/supplier.tbl");
59 ofopen(regionStream, outDir + "/region.tbl");
60}
61
62void TupleGen::closeOutputFiles() {
63 warehouseStream.close();

Callers

nothing calls this directly

Calls 1

ofopenFunction · 0.85

Tested by

no test coverage detected