Skip to main content

TableProvider

Trait TableProvider 

Source
pub trait TableProvider {
    // Required method
    fn schema(&self) -> CollectionInfo;

    // Provided method
    fn rel_oid(&self) -> Option<i64> { ... }
}
Expand description

A relation that resolves to planner metadata without a stored collection. Catalog tables (pg_class, _system.*) and array TVFs both fit this shape.

Required Methods§

Provided Methods§

Source

fn rel_oid(&self) -> Option<i64>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§