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

Method NextChunk

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

Source from the content-addressed store, hash-verified

225}
226
227Status ChunkedBinaryBuilder::NextChunk() {
228 std::shared_ptr<Array> chunk;
229 RETURN_NOT_OK(builder_->Finish(&chunk));
230 chunks_.emplace_back(std::move(chunk));
231
232 if (auto capacity = extra_capacity_) {
233 extra_capacity_ = 0;
234 return Reserve(capacity);
235 }
236
237 return Status::OK();
238}
239
240Status ChunkedStringBuilder::Finish(ArrayVector* out) {
241 RETURN_NOT_OK(ChunkedBinaryBuilder::Finish(out));

Callers

nothing calls this directly

Calls 4

emplace_backMethod · 0.80
ReserveFunction · 0.70
OKFunction · 0.50
FinishMethod · 0.45

Tested by

no test coverage detected