Class: Arrow::BinaryArrayBuilder
- Inherits:
-
Object
- Object
- Arrow::BinaryArrayBuilder
- Defined in:
- lib/arrow/binary-array-builder.rb
Instance Method Summary collapse
Instance Method Details
#append_values(values, is_valids = nil) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/arrow/binary-array-builder.rb', line 20 def append_values(values, is_valids=nil) if is_valids is_valids.each_with_index do |is_valid, i| if is_valid append_value(values[i]) else append_null end end else values.each do |value| append_value(value) end end end |