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

Method Init

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

Source from the content-addressed store, hash-verified

579 }
580
581 Status Init() override {
582 const auto& var_length_list_like_type = checked_cast<const TYPE&>(*this->type_);
583 RETURN_NOT_OK(
584 GetConverter(var_length_list_like_type.value_type(), &child_converter_));
585 auto child_builder = child_converter_->builder();
586 builder_ =
587 std::make_shared<BuilderType>(default_memory_pool(), child_builder, this->type_);
588 return Status::OK();
589 }
590
591 Status AppendValue(const rj::Value& json_obj) override {
592 if (json_obj.IsNull()) {

Callers

nothing calls this directly

Calls 5

default_memory_poolFunction · 0.85
GetConverterFunction · 0.70
OKFunction · 0.70
value_typeMethod · 0.45
builderMethod · 0.45

Tested by

no test coverage detected