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

Method AppendValue

cpp/src/arrow/json/from_string.cc:333–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 Status Init() override { return this->MakeConcreteBuilder(&builder_); }
332
333 Status AppendValue(const rj::Value& json_obj) override {
334 if (json_obj.IsNull()) {
335 return this->AppendNull();
336 }
337 c_type value;
338 RETURN_NOT_OK(ConvertNumber<Type>(json_obj, *this->type_, &value));
339 return builder_->Append(value);
340 }
341
342 std::shared_ptr<ArrayBuilder> builder() override { return builder_; }
343

Callers

nothing calls this directly

Calls 3

IsNullMethod · 0.45
AppendNullMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected