pub trait SourceExecutor: Send + Sync {
// Required methods
fn list<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SourceExecutorReadOptions,
) -> Pin<Box<dyn Future<Output = Result<BoxStream<'async_trait, Result<Vec<PartialSourceRow>>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_value<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
key: &'life1 KeyValue,
key_aux_info: &'life2 Value,
options: &'life3 SourceExecutorReadOptions,
) -> Pin<Box<dyn Future<Output = Result<PartialSourceRowData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn provides_ordinal(&self) -> bool;
// Provided method
fn change_stream<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<BoxStream<'async_trait, Result<SourceChangeMessage>>>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Required Methods§
Sourcefn list<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SourceExecutorReadOptions,
) -> Pin<Box<dyn Future<Output = Result<BoxStream<'async_trait, Result<Vec<PartialSourceRow>>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SourceExecutorReadOptions,
) -> Pin<Box<dyn Future<Output = Result<BoxStream<'async_trait, Result<Vec<PartialSourceRow>>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get the list of keys for the source.