Class: Arrow::DenseUnionArrayBuilder
- Inherits:
-
Object
- Object
- Arrow::DenseUnionArrayBuilder
- Defined in:
- lib/arrow/dense-union-array-builder.rb
Instance Method Summary collapse
Instance Method Details
#append_value ⇒ Object #append_value(value) ⇒ Object
38 39 40 41 42 43 44 45 46 47 |
# File 'lib/arrow/dense-union-array-builder.rb', line 38 def append_value(value) if value.nil? append_null else key = value.keys[0] child_info = child_infos[key] append_value_raw(child_info[:id]) child_info[:builder].append(value.values[0]) end end |
#append_value_raw ⇒ Object
20 |
# File 'lib/arrow/dense-union-array-builder.rb', line 20 alias_method :append_value_raw, :append_value |