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

Method AppendValue

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

Source from the content-addressed store, hash-verified

589 }
590
591 Status AppendValue(const rj::Value& json_obj) override {
592 if (json_obj.IsNull()) {
593 return this->AppendNull();
594 }
595 // Extend the child converter with this JSON array
596 ARROW_ASSIGN_OR_RAISE(auto size, this->SizeOfJSONArray(json_obj));
597 RETURN_NOT_OK(builder_->Append(true, size));
598 return child_converter_->AppendValues(json_obj);
599 }
600
601 std::shared_ptr<ArrayBuilder> builder() override { return builder_; }
602

Callers

nothing calls this directly

Calls 4

IsNullMethod · 0.45
AppendNullMethod · 0.45
AppendMethod · 0.45
AppendValuesMethod · 0.45

Tested by

no test coverage detected