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

Method Clean

cpp/src/arrow/compute/row/row_internal.cc:225–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void RowTableImpl::Clean() {
226 num_rows_ = 0;
227 num_rows_for_has_any_nulls_ = 0;
228 has_any_nulls_ = false;
229
230 if (!metadata_.is_fixed_length) {
231 reinterpret_cast<offset_type*>(offsets_->mutable_data())[0] = 0;
232 }
233}
234
235int64_t RowTableImpl::size_null_masks(int64_t num_rows) const {
236 return num_rows * metadata_.null_masks_bytes_per_row + kPaddingForVectors;

Callers 4

PrepareForMergeMethod · 0.80
ResetMethod · 0.80
ConsumeImplMethod · 0.80
EncodeSelectedMethod · 0.80

Calls 1

mutable_dataMethod · 0.45

Tested by

no test coverage detected