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

Method build_map_array

c_glib/test/helper/buildable.rb:191–198  ·  view source on GitHub ↗
(key_data_type, item_data_type, maps)

Source from the content-addressed store, hash-verified

189 end
190
191 def build_map_array(key_data_type, item_data_type, maps)
192 data_type = Arrow::MapDataType.new(key_data_type, item_data_type)
193 builder = Arrow::MapArrayBuilder.new(data_type)
194 maps.each do |map|
195 append_to_builder(builder, map)
196 end
197 builder.finish
198 end
199
200 def build_struct_array(fields, structs)
201 data_type = Arrow::StructDataType.new(fields)

Callers

nothing calls this directly

Calls 3

newMethod · 0.45
eachMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected