Enum lance_io::ReadBatchParams
source · pub enum ReadBatchParams {
Range(Range<usize>),
RangeFull,
RangeTo(RangeTo<usize>),
RangeFrom(RangeFrom<usize>),
Indices(UInt32Array),
}
Expand description
Defines a selection of rows to read from a file/batch
Variants§
Range(Range<usize>)
Select a contiguous range of rows
RangeFull
Select all rows (this is the default)
RangeTo(RangeTo<usize>)
Select all rows up to a given index
RangeFrom(RangeFrom<usize>)
Select all rows starting at a given index
Indices(UInt32Array)
Select scattered non-contiguous rows
Trait Implementations§
source§impl<'a, T: ByteArrayType> AsyncIndex<ReadBatchParams> for BinaryDecoder<'a, T>
impl<'a, T: ByteArrayType> AsyncIndex<ReadBatchParams> for BinaryDecoder<'a, T>
source§impl<'a> AsyncIndex<ReadBatchParams> for DictionaryDecoder<'a>
impl<'a> AsyncIndex<ReadBatchParams> for DictionaryDecoder<'a>
source§impl AsyncIndex<ReadBatchParams> for PlainDecoder<'_>
impl AsyncIndex<ReadBatchParams> for PlainDecoder<'_>
source§impl Clone for ReadBatchParams
impl Clone for ReadBatchParams
source§fn clone(&self) -> ReadBatchParams
fn clone(&self) -> ReadBatchParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadBatchParams
impl Debug for ReadBatchParams
source§impl Default for ReadBatchParams
impl Default for ReadBatchParams
source§impl From<&[u32]> for ReadBatchParams
impl From<&[u32]> for ReadBatchParams
source§impl From<&ReadBatchParams> for ReadBatchParams
impl From<&ReadBatchParams> for ReadBatchParams
source§impl From<PrimitiveArray<UInt32Type>> for ReadBatchParams
impl From<PrimitiveArray<UInt32Type>> for ReadBatchParams
source§fn from(value: UInt32Array) -> Self
fn from(value: UInt32Array) -> Self
Converts to this type from the input type.
source§impl From<RangeFull> for ReadBatchParams
impl From<RangeFull> for ReadBatchParams
Auto Trait Implementations§
impl Freeze for ReadBatchParams
impl RefUnwindSafe for ReadBatchParams
impl Send for ReadBatchParams
impl Sync for ReadBatchParams
impl Unpin for ReadBatchParams
impl UnwindSafe for ReadBatchParams
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