pub struct SingleStorePipelineSource<A: SingleStoreAdapter + ?Sized> { /* private fields */ }Implementations§
Source§impl<A: SingleStoreAdapter + ?Sized> SingleStorePipelineSource<A>
impl<A: SingleStoreAdapter + ?Sized> SingleStorePipelineSource<A>
pub fn new( adapter: Arc<A>, query: SqlCommand, dataset: impl Into<String>, ) -> Self
pub fn with_contract(self, contract: AdapterCallContract) -> Self
pub fn with_artificial_delay_ms(self, artificial_delay_ms: u64) -> Self
Trait Implementations§
Source§impl<A: Clone + SingleStoreAdapter + ?Sized> Clone for SingleStorePipelineSource<A>
impl<A: Clone + SingleStoreAdapter + ?Sized> Clone for SingleStorePipelineSource<A>
Source§fn clone(&self) -> SingleStorePipelineSource<A>
fn clone(&self) -> SingleStorePipelineSource<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<A: Debug + SingleStoreAdapter + ?Sized> Debug for SingleStorePipelineSource<A>
impl<A: Debug + SingleStoreAdapter + ?Sized> Debug for SingleStorePipelineSource<A>
Source§impl<A: SingleStoreAdapter + ?Sized + Send + Sync> Source for SingleStorePipelineSource<A>
impl<A: SingleStoreAdapter + ?Sized + Send + Sync> Source for SingleStorePipelineSource<A>
fn source_name(&self) -> &str
fn read_batch( &self, pipeline: &Pipeline, checkpoint: Option<&str>, context: &QueryContext, ) -> DataResult<PipelineBatch>
Auto Trait Implementations§
impl<A> Freeze for SingleStorePipelineSource<A>where
A: ?Sized,
impl<A> RefUnwindSafe for SingleStorePipelineSource<A>where
A: RefUnwindSafe + ?Sized,
impl<A> Send for SingleStorePipelineSource<A>where
A: ?Sized,
impl<A> Sync for SingleStorePipelineSource<A>where
A: ?Sized,
impl<A> Unpin for SingleStorePipelineSource<A>where
A: ?Sized,
impl<A> UnsafeUnpin for SingleStorePipelineSource<A>where
A: ?Sized,
impl<A> UnwindSafe for SingleStorePipelineSource<A>where
A: RefUnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more