Class: Arrow::RecordBatchStreamReader

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/arrow/record-batch-stream-reader.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



22
23
24
25
26
27
28
# File 'lib/arrow/record-batch-stream-reader.rb', line 22

def each
  loop do
    record_batch = next_record_batch
    break if record_batch.nil?
    yield(record_batch)
  end
end