pub struct BridgeMetrics {
pub batch_size: usize,
pub pending_rows: usize,
pub completed_batches: usize,
pub completed_rows: usize,
pub total_rows: usize,
}Expand description
Lightweight batching metrics for CollectArrowBridge.
Fields§
§batch_size: usizeConfigured auto-flush batch size.
pending_rows: usizeNumber of rows currently buffered but not yet flushed.
completed_batches: usizeNumber of completed batches waiting to be drained.
completed_rows: usizeNumber of rows contained in completed batches waiting to be drained.
total_rows: usizeTotal rows tracked by the bridge (pending_rows + completed_rows).
Trait Implementations§
Source§impl Clone for BridgeMetrics
impl Clone for BridgeMetrics
Source§fn clone(&self) -> BridgeMetrics
fn clone(&self) -> BridgeMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BridgeMetrics
impl Debug for BridgeMetrics
Source§impl Default for BridgeMetrics
impl Default for BridgeMetrics
Source§fn default() -> BridgeMetrics
fn default() -> BridgeMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for BridgeMetrics
impl PartialEq for BridgeMetrics
impl Copy for BridgeMetrics
impl Eq for BridgeMetrics
impl StructuralPartialEq for BridgeMetrics
Auto Trait Implementations§
impl Freeze for BridgeMetrics
impl RefUnwindSafe for BridgeMetrics
impl Send for BridgeMetrics
impl Sync for BridgeMetrics
impl Unpin for BridgeMetrics
impl UnsafeUnpin for BridgeMetrics
impl UnwindSafe for BridgeMetrics
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