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

Method AppendValue

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

Source from the content-addressed store, hash-verified

304 Status Init() override { return this->MakeConcreteBuilder(&builder_); }
305
306 Status AppendValue(const rj::Value& json_obj) override {
307 if (json_obj.IsNull()) {
308 return this->AppendNull();
309 }
310 c_type value;
311 RETURN_NOT_OK(ConvertNumber<Type>(json_obj, *this->type_, &value));
312 return builder_->Append(value);
313 }
314
315 std::shared_ptr<ArrayBuilder> builder() override { return builder_; }
316

Callers

nothing calls this directly

Calls 3

IsNullMethod · 0.45
AppendNullMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected