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

Method extend

cpp/src/parquet/schema.cc:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85std::shared_ptr<ColumnPath> ColumnPath::extend(const std::string& node_name) const {
86 std::vector<std::string> path;
87 path.reserve(path_.size() + 1);
88 path.resize(path_.size() + 1);
89 std::copy(path_.cbegin(), path_.cend(), path.begin());
90 path[path_.size()] = node_name;
91
92 return std::make_shared<ColumnPath>(std::move(path));
93}
94
95std::string ColumnPath::ToDotString() const {
96 std::stringstream ss;

Callers 15

decoratorFunction · 0.80
_get_column_indicesMethod · 0.80
test_datasetFunction · 0.80
test_strftimeFunction · 0.80
test_randomFunction · 0.80
invoke_scriptFunction · 0.80
TESTFunction · 0.80
load_object_infoMethod · 0.80
load_object_infoMethod · 0.80

Calls 6

resizeMethod · 0.80
cbeginMethod · 0.80
cendMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by 15

test_datasetFunction · 0.64
test_strftimeFunction · 0.64
test_randomFunction · 0.64
TESTFunction · 0.64
_runMethod · 0.64
flight_requestMethod · 0.64
flight_requestMethod · 0.64
_runMethod · 0.64
_runMethod · 0.64