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

Method InsertPath

cpp/src/arrow/ipc/dictionary.cc:117–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115 }
116
117 void InsertPath(const FieldPosition& pos) {
118 const int64_t id = field_path_to_id.size();
119 const auto pair = field_path_to_id.emplace(FieldPath(pos.path()), id);
120 DCHECK(pair.second); // was inserted
121 ARROW_UNUSED(pair);
122 }
123};
124
125DictionaryFieldMapper::DictionaryFieldMapper() : impl_(new Impl) {}

Callers

nothing calls this directly

Calls 3

FieldPathFunction · 0.85
sizeMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected