Class: Arrow::SparseUnionArray

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow/sparse-union-array.rb

Instance Method Summary collapse

Instance Method Details

#get_value(i) ⇒ Object



20
21
22
23
24
# File 'lib/arrow/sparse-union-array.rb', line 20

def get_value(i)
  child_id = get_child_id(i)
  field = get_field(child_id)
  field[i]
end