Skip to main content

Source

Trait Source 

Source
pub trait Source: Send + Sync {
    // Required methods
    fn source_name(&self) -> &str;
    fn read_batch(
        &self,
        pipeline: &Pipeline,
        checkpoint: Option<&str>,
        context: &QueryContext,
    ) -> DataResult<PipelineBatch>;
}

Required Methods§

Source

fn source_name(&self) -> &str

Source

fn read_batch( &self, pipeline: &Pipeline, checkpoint: Option<&str>, context: &QueryContext, ) -> DataResult<PipelineBatch>

Implementors§