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

Method ImportNullBitmap

cpp/src/arrow/c/bridge.cc:1860–1868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1858 }
1859
1860 Status ImportNullBitmap(int32_t buffer_id = 0) {
1861 RETURN_NOT_OK(ImportBitsBuffer(buffer_id, /*is_null_bitmap=*/true));
1862 if (data_->null_count > 0 && data_->buffers[buffer_id] == nullptr) {
1863 return Status::Invalid(
1864 "ArrowArray struct has null bitmap buffer but non-zero null_count ",
1865 data_->null_count);
1866 }
1867 return Status::OK();
1868 }
1869
1870 Status ImportBitsBuffer(int32_t buffer_id, bool is_null_bitmap = false) {
1871 // Compute visible size of buffer

Callers

nothing calls this directly

Calls 2

InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected