lance_io::encodings

Trait AsyncIndex

Source
pub trait AsyncIndex<IndexType> {
    type Output: Send + Sync;

    // Required method
    fn get<'life0, 'async_trait>(
        &'life0 self,
        index: IndexType,
    ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Associated Types§

Required Methods§

Source

fn get<'life0, 'async_trait>( &'life0 self, index: IndexType, ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§

Source§

impl AsyncIndex<ReadBatchParams> for DictionaryDecoder<'_>

Source§

impl AsyncIndex<ReadBatchParams> for PlainDecoder<'_>

Source§

impl AsyncIndex<usize> for DictionaryDecoder<'_>

Source§

impl AsyncIndex<usize> for PlainDecoder<'_>

Source§

impl AsyncIndex<Range<usize>> for PlainDecoder<'_>

Source§

impl AsyncIndex<RangeFrom<usize>> for PlainDecoder<'_>

Source§

impl AsyncIndex<RangeFull> for PlainDecoder<'_>

Source§

impl AsyncIndex<RangeTo<usize>> for PlainDecoder<'_>

Source§

impl<T: ByteArrayType> AsyncIndex<ReadBatchParams> for BinaryDecoder<'_, T>

Source§

impl<T: ByteArrayType> AsyncIndex<usize> for BinaryDecoder<'_, T>

Source§

impl<T: ByteArrayType> AsyncIndex<Range<usize>> for BinaryDecoder<'_, T>

Source§

impl<T: ByteArrayType> AsyncIndex<RangeFrom<usize>> for BinaryDecoder<'_, T>

Source§

impl<T: ByteArrayType> AsyncIndex<RangeFull> for BinaryDecoder<'_, T>

Source§

impl<T: ByteArrayType> AsyncIndex<RangeTo<usize>> for BinaryDecoder<'_, T>