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

Method Finish

cpp/src/arrow/array/builder_binary.cc:217–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217Status ChunkedBinaryBuilder::Finish(ArrayVector* out) {
218 if (builder_->length() > 0 || chunks_.size() == 0) {
219 std::shared_ptr<Array> chunk;
220 RETURN_NOT_OK(builder_->Finish(&chunk));
221 chunks_.emplace_back(std::move(chunk));
222 }
223 *out = std::move(chunks_);
224 return Status::OK();
225}
226
227Status ChunkedBinaryBuilder::NextChunk() {
228 std::shared_ptr<Array> chunk;

Callers 2

FinishInternalMethod · 0.45
NextChunkMethod · 0.45

Calls 7

emplace_backMethod · 0.80
FinishFunction · 0.70
OKFunction · 0.50
lengthMethod · 0.45
sizeMethod · 0.45
CopyMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected