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

Method Resize

cpp/src/arrow/array/builder_primitive.cc:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61Status BooleanBuilder::Resize(int64_t capacity) {
62 RETURN_NOT_OK(CheckCapacity(capacity));
63 capacity = std::max(capacity, kMinBuilderCapacity);
64 RETURN_NOT_OK(data_builder_.Resize(capacity));
65 return ArrayBuilder::Resize(capacity);
66}
67
68Status BooleanBuilder::FinishInternal(std::shared_ptr<ArrayData>* out) {
69 ARROW_ASSIGN_OR_RAISE(auto null_bitmap, null_bitmap_builder_.FinishWithLength(length_));

Callers

nothing calls this directly

Calls 2

CheckCapacityFunction · 0.85
ResizeFunction · 0.70

Tested by

no test coverage detected