pub struct SequentialBatchExecutor { /* private fields */ }Expand description
A sequential batch executor.
Runs every BuildPlan in the batch schema;
executes serially with no threading.
Implementations§
Source§impl SequentialBatchExecutor
impl SequentialBatchExecutor
Sourcepub fn new(
schema: Arc<FirehoseTableSchema>,
environment: Arc<dyn FirehoseOperatorEnvironment>,
) -> Result<Self>
pub fn new( schema: Arc<FirehoseTableSchema>, environment: Arc<dyn FirehoseOperatorEnvironment>, ) -> Result<Self>
Creates a new DefaultBatchExecutor with the given operator environment.
Trait Implementations§
Source§impl Debug for SequentialBatchExecutor
impl Debug for SequentialBatchExecutor
Source§impl FirehoseBatchExecutor for SequentialBatchExecutor
impl FirehoseBatchExecutor for SequentialBatchExecutor
Source§fn environment(&self) -> &Arc<dyn FirehoseOperatorEnvironment> ⓘ
fn environment(&self) -> &Arc<dyn FirehoseOperatorEnvironment> ⓘ
Returns the operator environment used by this executor.
Source§fn execute_batch(&self, batch: &mut FirehoseRowBatch) -> Result<()>
fn execute_batch(&self, batch: &mut FirehoseRowBatch) -> Result<()>
Runs the butch under the policy of the executor.
Auto Trait Implementations§
impl !RefUnwindSafe for SequentialBatchExecutor
impl !UnwindSafe for SequentialBatchExecutor
impl Freeze for SequentialBatchExecutor
impl Send for SequentialBatchExecutor
impl Sync for SequentialBatchExecutor
impl Unpin for SequentialBatchExecutor
impl UnsafeUnpin for SequentialBatchExecutor
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more