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

Method WriteKeyValue

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

Source from the content-addressed store, hash-verified

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