Skip to main content

ForeignTableScan

Trait ForeignTableScan 

Source
pub trait ForeignTableScan: Sync {
    // Required method
    fn scan_foreign_source(
        &self,
        name: &str,
        filter: Option<&ScalarExpr>,
        params: &[SQLParam],
    ) -> Result<ForeignSourceRows<'_>, String>;
}
Expand description

A foreign table scan bound to the caller’s catalog generation and FDW registrations.

Required Methods§

Source

fn scan_foreign_source( &self, name: &str, filter: Option<&ScalarExpr>, params: &[SQLParam], ) -> Result<ForeignSourceRows<'_>, String>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§