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.
SidLibrarySource
A library’s source, shipped in the deploy bundle for the operator to compile — returned by ReplicationRenderer::sid_library_source.

Enums§

SidLibraryLoader
What loads a compiled key-function library, which decides what the operator does with it once it is built.
SidPrerequisiteHome
Where the objects a prerequisite installs actually live, so that something calling them from another schema can name them.
SidPrerequisiteKind
What a platform’s SID prerequisite actually asks of whoever deploys.

Constants§

RAZERI_HELPER_SCHEMA
The schema Razeri keeps its own engine-level objects in, where an engine has schemas and the dialect asks for one.
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.