pub trait Decorator: TableProvider + 'static {
// Required method
fn base(&self) -> &dyn TableProvider;
}Expand description
A TableProvider that decorates other TableProviders.
Sometimes users may implement a TableProvider that overrides functionality of a base TableProvider.
This API allows the decorator to also be recognized as ListingTableLike or Materialized automatically.
Required Methods§
Sourcefn base(&self) -> &dyn TableProvider
fn base(&self) -> &dyn TableProvider
The underlying TableProvider that this decorator wraps.