pub trait IntoPyArrow {
const OUTPUT_TYPE: PyStaticExpr = _;
// Required method
fn into_pyarrow(self, py: Python<'_>) -> PyResult<Bound<'_, PyAny>>;
}Expand description
Convert an arrow-rs type into a PyArrow object.
Provided Associated Constants§
Sourceconst OUTPUT_TYPE: PyStaticExpr = _
const OUTPUT_TYPE: PyStaticExpr = _
The Python type this conversion produces, as a type hint.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl IntoPyArrow for ArrowArrayStreamReader
Convert a ArrowArrayStreamReader into a pyarrow.RecordBatchReader.
impl IntoPyArrow for ArrowArrayStreamReader
Convert a ArrowArrayStreamReader into a pyarrow.RecordBatchReader.
const OUTPUT_TYPE: PyStaticExpr
fn into_pyarrow(self, py: Python<'_>) -> PyResult<Bound<'_, PyAny>>
Source§impl IntoPyArrow for Box<dyn RecordBatchReader + Send>
Convert a RecordBatchReader into a pyarrow.RecordBatchReader.
impl IntoPyArrow for Box<dyn RecordBatchReader + Send>
Convert a RecordBatchReader into a pyarrow.RecordBatchReader.
const OUTPUT_TYPE: PyStaticExpr
fn into_pyarrow(self, py: Python<'_>) -> PyResult<Bound<'_, PyAny>>
Implementors§
Source§impl IntoPyArrow for Table
Convert a Table into pyarrow.Table.
impl IntoPyArrow for Table
Convert a Table into pyarrow.Table.