| 665 | explicit FixedSizeListConverter(const std::shared_ptr<DataType>& type) { type_ = type; } |
| 666 | |
| 667 | Status Init() override { |
| 668 | const auto& list_type = checked_cast<const FixedSizeListType&>(*type_); |
| 669 | list_size_ = list_type.list_size(); |
| 670 | RETURN_NOT_OK(GetConverter(list_type.value_type(), &child_converter_)); |
| 671 | auto child_builder = child_converter_->builder(); |
| 672 | builder_ = std::make_shared<FixedSizeListBuilder>(default_memory_pool(), |
| 673 | child_builder, type_); |
| 674 | return Status::OK(); |
| 675 | } |
| 676 | |
| 677 | Status AppendValue(const rj::Value& json_obj) override { |
| 678 | if (json_obj.IsNull()) { |
nothing calls this directly
no test coverage detected