pub struct SplitterConfig {
pub dialect: SqlDialect,
pub dry_run: bool,
pub table_filter: Option<AHashSet<String>>,
pub progress_fn: Option<Box<dyn Fn(u64)>>,
pub content_filter: ContentFilter,
pub output_compression: Compression,
pub io_strategy: IoStrategy,
pub io_clock: Option<Arc<dyn Clock>>,
}Expand description
Configuration for the splitter.
Fields§
§dialect: SqlDialectSQL dialect for parsing.
dry_run: boolIf true, parse without writing output files.
table_filter: Option<AHashSet<String>>If set, only process tables in this set.
progress_fn: Option<Box<dyn Fn(u64)>>Optional callback for progress reporting.
content_filter: ContentFilterFilter for which statement types to include.
output_compression: CompressionPer-table output compression (default None → plain .sql).
io_strategy: IoStrategyI/O strategy for output writing (default Auto).
io_clock: Option<Arc<dyn Clock>>Clock driving epoch measurements (None → wall clock). Test seam: a stepping mock clock makes the adaptive controller fully deterministic.
Trait Implementations§
Source§impl Default for SplitterConfig
impl Default for SplitterConfig
Source§fn default() -> SplitterConfig
fn default() -> SplitterConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SplitterConfig
impl !Send for SplitterConfig
impl !Sync for SplitterConfig
impl !UnwindSafe for SplitterConfig
impl Freeze for SplitterConfig
impl Unpin for SplitterConfig
impl UnsafeUnpin for SplitterConfig
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