pub struct ChunkedArrayReader<R: VortexReadAt> { /* private fields */ }Expand description
A reader for a chunked array.
Implementations§
Source§impl<R: VortexReadAt> ChunkedArrayReader<R>
impl<R: VortexReadAt> ChunkedArrayReader<R>
pub async fn take_rows( &mut self, indices: &ArrayData, ) -> VortexResult<ArrayData>
Source§impl<R: VortexReadAt> ChunkedArrayReader<R>
impl<R: VortexReadAt> ChunkedArrayReader<R>
pub fn try_new( read: R, context: Arc<Context>, dtype: Arc<DType>, byte_offsets: ArrayData, row_offsets: ArrayData, ) -> VortexResult<Self>
pub fn nchunks(&self) -> usize
pub async fn array_stream(&mut self) -> impl ArrayStream + '_
Auto Trait Implementations§
impl<R> !Freeze for ChunkedArrayReader<R>
impl<R> !RefUnwindSafe for ChunkedArrayReader<R>
impl<R> Send for ChunkedArrayReader<R>
impl<R> Sync for ChunkedArrayReader<R>
impl<R> Unpin for ChunkedArrayReader<R>where
R: Unpin,
impl<R> !UnwindSafe for ChunkedArrayReader<R>
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> 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