MCPcopy Create free account
hub / github.com/bytedance/bolt / rowType

Method rowType

bolt/vector/tests/utils/VectorMaker.cpp:35–42  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

33
34// static
35std::shared_ptr<const RowType> VectorMaker::rowType(
36 std::vector<std::shared_ptr<const Type>>&& types) {
37 std::vector<std::string> names;
38 for (int32_t i = 0; i < types.size(); ++i) {
39 names.push_back(fmt::format("c{}", i));
40 }
41 return ROW(std::move(names), std::move(types));
42}
43
44RowVectorPtr VectorMaker::rowVector(const std::vector<VectorPtr>& children) {
45 std::vector<std::string> names;

Callers 15

TEST_FFunction · 0.45
loadDataWithRowTypeMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
assertReadMethod · 0.45
TEST_FFunction · 0.45
goMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
getRowTypeForFileMethod · 0.45
testFiltersFunction · 0.45
prepareSplitMethod · 0.45

Calls 3

ROWFunction · 0.85
sizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected