pub struct StorageCatalogTable { /* private fields */ }Expand description
Adapter that exposes a Storage plugin as a CatalogTable.
Construction is cheap — the schema is supplied by the caller so the
adapter doesn’t need an async I/O to satisfy CatalogTable::schema().
If the wrapped storage’s Storage::schema yields a SchemaRef,
callers can await it during plugin registration and feed it here.
Implementations§
Source§impl StorageCatalogTable
impl StorageCatalogTable
Trait Implementations§
Source§impl CatalogTable for StorageCatalogTable
impl CatalogTable for StorageCatalogTable
Source§fn scan(
&self,
projection: Option<&[usize]>,
filters: &[Expr],
limit: Option<usize>,
) -> Result<SendableRecordBatchStream, FnError>
fn scan( &self, projection: Option<&[usize]>, filters: &[Expr], limit: Option<usize>, ) -> Result<SendableRecordBatchStream, FnError>
Stream rows matching the optional projection, filters, and limit. Read more
Source§fn statistics(&self) -> Option<Statistics>
fn statistics(&self) -> Option<Statistics>
Cardinality / size statistics, if known.
Auto Trait Implementations§
impl !RefUnwindSafe for StorageCatalogTable
impl !UnwindSafe for StorageCatalogTable
impl Freeze for StorageCatalogTable
impl Send for StorageCatalogTable
impl Sync for StorageCatalogTable
impl Unpin for StorageCatalogTable
impl UnsafeUnpin for StorageCatalogTable
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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