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

Method WriteKeyValue

cpp/src/arrow/integration/json_internal.cc:159–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void WriteKeyValue(const std::string& key, const std::string& value) {
160 writer_->StartObject();
161
162 writer_->Key("key");
163 writer_->String(key.c_str());
164
165 writer_->Key("value");
166 writer_->String(value.c_str());
167
168 writer_->EndObject();
169 }
170
171 Status WriteDictionaryMetadata(int64_t id, const DictionaryType& type) {
172 writer_->Key("dictionary");

Callers

nothing calls this directly

Calls 4

StartObjectMethod · 0.45
KeyMethod · 0.45
StringMethod · 0.45
EndObjectMethod · 0.45

Tested by

no test coverage detected