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

Method ComputeLogicalNullCount

cpp/src/arrow/array/data.cc:228–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228int64_t ArrayData::ComputeLogicalNullCount() const {
229 if (this->buffers[0] && this->type->id() != Type::DICTIONARY) {
230 return GetNullCount();
231 }
232 return ArraySpan(*this).ComputeLogicalNullCount();
233}
234
235DeviceAllocationType ArrayData::device_type() const {
236 // we're using 0 as a sentinel value for NOT YET ASSIGNED

Callers 5

TEST_FFunction · 0.45
CheckDictionaryNullCountFunction · 0.45
TEST_FFunction · 0.45
AssertAppendScalarFunction · 0.45
ConsumeMethod · 0.45

Calls 5

ArraySpanFunction · 0.70
LogicalNullCountFunction · 0.50
idMethod · 0.45

Tested by 4

TEST_FFunction · 0.36
CheckDictionaryNullCountFunction · 0.36
TEST_FFunction · 0.36
AssertAppendScalarFunction · 0.36