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

Method Reset

cpp/src/arrow/array/builder_adaptive.cc:42–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 int_size_(start_int_size) {}
41
42void AdaptiveIntBuilderBase::Reset() {
43 ArrayBuilder::Reset();
44 data_.reset();
45 raw_data_ = nullptr;
46 pending_pos_ = 0;
47 pending_has_nulls_ = false;
48 int_size_ = start_int_size_;
49}
50
51Status AdaptiveIntBuilderBase::Resize(int64_t capacity) {
52 RETURN_NOT_OK(CheckCapacity(capacity));

Callers

nothing calls this directly

Calls 2

ResetFunction · 0.70
resetMethod · 0.45

Tested by

no test coverage detected