MCPcopy Create free account
hub / github.com/apache/arrow / FromDotString

Method FromDotString

cpp/src/parquet/schema.cc:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59// ColumnPath
60
61std::shared_ptr<ColumnPath> ColumnPath::FromDotString(const std::string& dotstring) {
62 std::stringstream ss(dotstring);
63 std::string item;
64 std::vector<std::string> path;
65 while (std::getline(ss, item, '.')) {
66 path.push_back(item);
67 }
68 return std::make_shared<ColumnPath>(std::move(path));
69}
70
71std::shared_ptr<ColumnPath> ColumnPath::FromNode(const Node& node) {
72 // Build the path in reverse order as we traverse the nodes to the top

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected