pub struct ShardStats {
pub tables_processed: usize,
pub tables_skipped: usize,
pub tables_with_data: usize,
pub total_rows_selected: u64,
pub total_rows_seen: u64,
pub table_stats: Vec<TableShardStats>,
pub warnings: Vec<String>,
pub fk_orphans_skipped: u64,
pub detected_tenant_column: Option<String>,
}Expand description
Statistics from shard operation
Fields§
§tables_processed: usizeNumber of tables processed
tables_skipped: usizeNumber of tables skipped
tables_with_data: usizeNumber of tables with data included
total_rows_selected: u64Total rows selected
total_rows_seen: u64Total rows seen
table_stats: Vec<TableShardStats>Per-table statistics
warnings: Vec<String>Warning messages
fk_orphans_skipped: u64FK orphan count (rows with missing parents)
detected_tenant_column: Option<String>Detected tenant column
Trait Implementations§
Source§impl Debug for ShardStats
impl Debug for ShardStats
Source§impl Default for ShardStats
impl Default for ShardStats
Source§fn default() -> ShardStats
fn default() -> ShardStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShardStats
impl RefUnwindSafe for ShardStats
impl Send for ShardStats
impl Sync for ShardStats
impl Unpin for ShardStats
impl UnwindSafe for ShardStats
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> 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