MCPcopy 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_flatbuffersMethod · 0.45
test_null_listMethod · 0.45
test_null_childMethod · 0.45

Calls 1

popcountMethod · 0.80

Tested by 2

test_null_listMethod · 0.36
test_null_childMethod · 0.36