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 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