Skip to main content

TableProvider

Trait TableProvider 

Source
pub trait TableProvider {
    // Required methods
    fn name(&self) -> &str;
    fn schema(&self) -> &TableSchema;
    fn statistics(&self) -> Option<&ColumnStatistics>;
}
Expand description

A resolved reference to a single table’s metadata.

Required Methods§

Source

fn name(&self) -> &str

The table name.

Source

fn schema(&self) -> &TableSchema

The table schema.

Source

fn statistics(&self) -> Option<&ColumnStatistics>

Optional column statistics.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§