pub(super) struct BufferedData {
pub batches: VecDeque<BufferedBatch>,
pub scanning_batch_idx: usize,
pub scanning_offset: usize,
}Expand description
Buffered data contains all buffered batches with one unique join key
Fields§
§batches: VecDeque<BufferedBatch>Buffered batches with the same key
scanning_batch_idx: usizecurrent scanning batch index used in join_partial()
scanning_offset: usizecurrent scanning offset used in join_partial()
Implementations§
Source§impl BufferedData
impl BufferedData
pub fn head_batch(&self) -> &BufferedBatch
pub fn tail_batch(&self) -> &BufferedBatch
pub fn tail_batch_mut(&mut self) -> &mut BufferedBatch
pub fn has_buffered_rows(&self) -> bool
pub fn scanning_reset(&mut self)
pub fn scanning_advance(&mut self)
pub fn scanning_batch(&self) -> &BufferedBatch
pub fn scanning_batch_mut(&mut self) -> &mut BufferedBatch
pub fn scanning_idx(&self) -> usize
pub fn scanning_batch_finished(&self) -> bool
pub fn scanning_finished(&self) -> bool
pub fn scanning_finish(&mut self)
Trait Implementations§
Source§impl Debug for BufferedData
impl Debug for BufferedData
Source§impl Default for BufferedData
impl Default for BufferedData
Source§fn default() -> BufferedData
fn default() -> BufferedData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BufferedData
impl !RefUnwindSafe for BufferedData
impl Send for BufferedData
impl Sync for BufferedData
impl Unpin for BufferedData
impl !UnwindSafe for BufferedData
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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