Class: Parquet::ArrowFileReader

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

Instance Method Summary collapse

Instance Method Details

#each_row_groupObject



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

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