Decorator

Trait Decorator 

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

Source

fn base(&self) -> &dyn TableProvider

The underlying TableProvider that this decorator wraps.

Implementors§