pub trait IntoRecordBatchReader<SourceKind = RecordBatchReaderSourceKind> {
type Reader: RecordBatchReader;
// Required method
fn into_record_batch_reader(self) -> Result<Self::Reader, AppendError>;
}Expand description
Convert an Arrow batch source into a schema-bearing RecordBatchReader.
Implementations preserve non-Send readers. The SourceKind parameter is an
inference-only coherence marker and should not normally be specified by
callers.
Required Associated Types§
Sourcetype Reader: RecordBatchReader
type Reader: RecordBatchReader
Reader produced from this source.
Required Methods§
Sourcefn into_record_batch_reader(self) -> Result<Self::Reader, AppendError>
fn into_record_batch_reader(self) -> Result<Self::Reader, AppendError>
Convert this source without collecting its batches.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".