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

Method extend

cpp/src/parquet/schema.cc:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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