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

Method Finish

cpp/src/arrow/json/chunked_builder.cc:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 : ChunkedArrayBuilder(task_group), converter_(std::move(converter)) {}
53
54 Status Finish(std::shared_ptr<ChunkedArray>* out) override {
55 RETURN_NOT_OK(task_group_->Finish());
56 *out = std::make_shared<ChunkedArray>(std::move(chunks_), converter_->out_type());
57 chunks_.clear();
58 return Status::OK();
59 }
60
61 Status ReplaceTaskGroup(const std::shared_ptr<TaskGroup>& task_group) override {
62 RETURN_NOT_OK(task_group_->Finish());

Callers

nothing calls this directly

Calls 4

OKFunction · 0.70
FinishMethod · 0.45
out_typeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected