MCPcopy Create free account
hub / github.com/apache/arrow / to_a

Method to_a

ruby/red-arrow-format/lib/arrow-format/array.rb:676–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674
675 class MapArray < VariableSizeListArray
676 def to_a
677 return [] if empty?
678
679 super.collect do |entries|
680 if entries.nil?
681 entries
682 else
683 hash = {}
684 entries.each do |key, value|
685 hash[key] = value
686 end
687 hash
688 end
689 end
690 end
691 end
692
693 class UnionArray < Array

Callers 11

incoming_headersMethod · 0.45
headersMethod · 0.45
test_without_blockMethod · 0.45
to_aMethod · 0.45
to_aMethod · 0.45
to_aMethod · 0.45
to_aMethod · 0.45
to_h_dataMethod · 0.45
readMethod · 0.45
readMethod · 0.45
roundtripMethod · 0.45

Calls 1

eachMethod · 0.45

Tested by 4

test_without_blockMethod · 0.36
readMethod · 0.36
readMethod · 0.36
roundtripMethod · 0.36