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

Method ToString

cpp/src/arrow/util/key_value_metadata.cc:257–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257std::string KeyValueMetadata::ToString() const {
258 std::stringstream buffer;
259
260 buffer << "\n-- metadata --";
261 for (int64_t i = 0; i < size(); ++i) {
262 buffer << "\n" << keys_[i] << ": " << values_[i];
263 }
264
265 return buffer.str();
266}
267
268std::shared_ptr<KeyValueMetadata> key_value_metadata(
269 const std::unordered_map<std::string, std::string>& pairs) {

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
sizeFunction · 0.50

Tested by

no test coverage detected