pub trait ExternalTable:
Debug
+ Send
+ Sync {
// Required methods
fn schema(&self) -> SchemaRef;
fn plan_with_control(
&self,
request: &ExternalPlanRequest<'_>,
control: &ExecutionControl,
) -> DFResult<ExternalPlan>;
fn scan_with_control(
&self,
request: &ExternalPlanRequest<'_>,
control: &ExecutionControl,
) -> DFResult<ExternalScan>;
}Required Methods§
fn schema(&self) -> SchemaRef
fn plan_with_control( &self, request: &ExternalPlanRequest<'_>, control: &ExecutionControl, ) -> DFResult<ExternalPlan>
fn scan_with_control( &self, request: &ExternalPlanRequest<'_>, control: &ExecutionControl, ) -> DFResult<ExternalScan>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".