pub trait ExternalTableReader {
// Required methods
async fn current_cdc_offset(&self) -> ConnectorResult<CdcOffset>;
fn snapshot_read(
&self,
table_name: SchemaTableName,
start_pk: Option<OwnedRow>,
primary_keys: Vec<String>,
limit: u32,
) -> BoxStream<'_, ConnectorResult<OwnedRow>>;
}
Required Methods§
async fn current_cdc_offset(&self) -> ConnectorResult<CdcOffset>
fn snapshot_read( &self, table_name: SchemaTableName, start_pk: Option<OwnedRow>, primary_keys: Vec<String>, limit: u32, ) -> BoxStream<'_, ConnectorResult<OwnedRow>>
Object Safety§
This trait is not object safe.