Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ n_nulls
Method
n_nulls
ruby/red-arrow-format/lib/arrow-format/array.rb:73–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
end
72
73
def n_nulls
74
if @validity_buffer.nil?
75
0
76
else
77
@size - validity_bitmap.popcount
78
end
79
end
80
81
def empty?
82
@size.zero?
Callers
3
to_flatbuffers
Method · 0.45
test_null_list
Method · 0.45
test_null_child
Method · 0.45
Calls
1
popcount
Method · 0.80
Tested by
2
test_null_list
Method · 0.36
test_null_child
Method · 0.36