Class: Arrow::DenseUnionArray

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

Instance Method Summary collapse

Instance Method Details

#get_value(i) ⇒ Object



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

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