Skip to main content

Module replication

Module replication 

Source
Expand description

Replication rendering traits with ANSI defaults.

ReplicationRenderer extends SqlRenderer with methods for SID (surrogate ID) function generation, data extraction, data loading, and checksum validation. Each dialect crate overrides these methods to produce platform-native SQL.

§Format names

Methods that accept a format parameter use well-known string identifiers:

NameDescription
"csv"Comma-separated values
"parquet"Apache Parquet columnar format
"json_lines"JSON Lines (one object per line)
"native"Platform-native binary format

Structs§

SidExternalArtifact
The identity of the artifact the bundle’s prerequisites step installs as generate_sid — where one exists.

Enums§

SidPrerequisiteKind
What a platform’s SID prerequisite actually asks of whoever deploys.

Constants§

SID_PREREQUISITE_STATEMENT_DELIMITER
The line a dialect writes between two independently-executable statements inside ReplicationRenderer::sid_prerequisites.
SID_PROBE_INPUT
The input every generated prerequisite probe asks about.

Traits§

ReplicationRenderer
Rendering methods for replication operations: SID generation, data extraction, data loading, and checksum validation.

Functions§

kind_of_prerequisite_script
What shape a prerequisite script is, read off the script itself.
statements_in_prerequisite_script
The executable statements inside a prerequisite script, split on SID_PREREQUISITE_STATEMENT_DELIMITER.