Re-exports§
pub use mysql_insert::parse_insert_for_bulk;pub use mysql_insert::ParsedValue;
Modules§
- mysql_
insert - MySQL INSERT statement row parser.
- postgres_
copy - PostgreSQL COPY statement parser.
Structs§
- Dialect
Detection Result - Result of dialect auto-detection
- Parser
- Parser
Limits - Configurable safety caps on how much a single buffered unit may grow before
Parser::visit_eventsreports an error (rather than silently truncating or buffering without bound). Defaults are generous; they exist to turn a pathological/corrupt input into a diagnosable error instead of an OOM.
Enums§
- Content
Filter - Content filter mode for splitting
- Dialect
Confidence - Confidence level of dialect detection
- Parser
Event - A single streaming event emitted by
Parser::visit_events. - RowFlow
- Control-flow signal returned by row/event visitors.
- SqlDialect
- SQL dialect for parser behavior
- Statement
Type
Constants§
Functions§
- detect_
dialect - Detect SQL dialect from file header content. Reads up to 8KB and looks for dialect-specific markers.
- detect_
dialect_ from_ file - Detect dialect from a file, reading its first 8KB. Goes through
crate::splitter::open_inputso compressed and zipped inputs are transparently decoded before sniffing — without that, detection would see raw compressed bytes instead of SQL text. - determine_
buffer_ size