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

Method AppendNextOffset

cpp/src/arrow/array/builder_nested.h:330–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 }
329
330 Status AppendNextOffset() {
331 ARROW_RETURN_NOT_OK(this->ValidateOverflow(0));
332 const int64_t num_values = this->value_builder_->length();
333 return this->offsets_builder_.Append(static_cast<offset_type>(num_values));
334 }
335
336 Status FinishInternal(std::shared_ptr<ArrayData>* out) override {
337 ARROW_RETURN_NOT_OK(AppendNextOffset());

Callers

nothing calls this directly

Calls 3

ValidateOverflowMethod · 0.45
lengthMethod · 0.45
AppendMethod · 0.45

Tested by

no test coverage detected