Class: Parquet::ArrowFileReader

Inherits:
Object
  • Object
show all
Defined in:
lib/parquet/arrow-file-reader.rb

Instance Method Summary collapse

Instance Method Details

#each_row_groupObject



20
21
22
23
24
25
26
# File 'lib/parquet/arrow-file-reader.rb', line 20

def each_row_group
  return to_enum(__method__) {n_row_groups} unless block_given?

  n_row_groups.times do |i|
    yield(read_row_group(i))
  end
end