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

Method null_count

cpp/src/arrow/compute/exec.h:314–320  ·  view source on GitHub ↗

XXX: here temporarily for compatibility with datum, see e.g. MakeStructExec in scalar_nested.cc

Source from the content-addressed store, hash-verified

312 /// XXX: here temporarily for compatibility with datum, see
313 /// e.g. MakeStructExec in scalar_nested.cc
314 int64_t null_count() const {
315 if (this->is_array()) {
316 return this->array.GetNullCount();
317 } else {
318 return this->scalar->is_valid ? 0 : 1;
319 }
320 }
321
322 const DataType* type() const {
323 if (this->is_array()) {

Callers 4

ExportDeviceFunction · 0.45
IsNullLiteralMethod · 0.45
IsSatisfiableMethod · 0.45
TEST_FFunction · 0.45

Calls 2

is_arrayMethod · 0.95
GetNullCountMethod · 0.80

Tested by 1

TEST_FFunction · 0.36