pub struct IpcReaderAsync { /* private fields */ }
Available on crate feature
cloud
and (crate features ipc
or ipc_streaming
) only.Expand description
An Arrow IPC reader implemented on top of PolarsObjectStore.
Implementations§
Source§impl IpcReaderAsync
impl IpcReaderAsync
pub async fn from_uri( uri: &str, cloud_options: Option<&CloudOptions>, ) -> PolarsResult<IpcReaderAsync>
pub async fn metadata(&self) -> PolarsResult<FileMetadata>
pub async fn data( &self, metadata: Option<&FileMetadata>, options: IpcReadOptions, verbose: bool, ) -> PolarsResult<DataFrame>
pub async fn count_rows( &self, _metadata: Option<&FileMetadata>, ) -> PolarsResult<i64>
Auto Trait Implementations§
impl Freeze for IpcReaderAsync
impl !RefUnwindSafe for IpcReaderAsync
impl Send for IpcReaderAsync
impl Sync for IpcReaderAsync
impl Unpin for IpcReaderAsync
impl !UnwindSafe for IpcReaderAsync
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more