Enum lance_core::io::ReadBatchParams
source · pub enum ReadBatchParams {
Range(Range<usize>),
RangeFull,
RangeTo(RangeTo<usize>),
RangeFrom(RangeFrom<usize>),
Indices(UInt32Array),
}Expand description
Parameter to be used to read a batch.
Variants§
Range(Range<usize>)
RangeFull
RangeTo(RangeTo<usize>)
RangeFrom(RangeFrom<usize>)
Indices(UInt32Array)
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
Default of ReadBatchParams is reading the full batch.
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