Learn R Programming

arrow (version 8.0.0)

as_record_batch_reader: Convert an object to an Arrow RecordBatchReader

Description

Convert an object to an Arrow RecordBatchReader

Usage

as_record_batch_reader(x, ...)

# S3 method for RecordBatchReader as_record_batch_reader(x, ...)

# S3 method for Table as_record_batch_reader(x, ...)

# S3 method for RecordBatch as_record_batch_reader(x, ...)

# S3 method for data.frame as_record_batch_reader(x, ...)

# S3 method for Dataset as_record_batch_reader(x, ...)

# S3 method for arrow_dplyr_query as_record_batch_reader(x, ...)

# S3 method for Scanner as_record_batch_reader(x, ...)

Arguments

x

An object to convert to a RecordBatchReader

...

Passed to S3 methods

Value

A RecordBatchReader

Examples

Run this code
# NOT RUN {
reader <- as_record_batch_reader(data.frame(col1 = 1, col2 = "two"))
reader$read_next_batch()
# }

Run the code above in your browser using DataLab