Skip to main content

Module common_spanner

Module common_spanner 

Source
Available on crate features sink-spanner or source-spanner only.
Expand description

Shared Cloud Spanner types (credentials enum, connection block, value conversion), re-exported for library callers when either Spanner connector is enabled.

Modules§

decode
Generic Spanner row → serde_json::Value decoding.
encode
serde_json::Value → Spanner mutation value encoding.
types
Spanner INFORMATION_SCHEMA type-string parsing and the mapping from Spanner column types to JSON-Schema fragments.

Structs§

SpannerConnection
Connection block shared by the Spanner source and sink configs (flattened into each connector config via #[serde(flatten)]).

Enums§

SpannerCredentials
Credentials used to authenticate against Cloud Spanner.

Functions§

quote_ident_spanner
Quote a Spanner identifier with backticks, doubling any embedded backtick. Spanner uses GoogleSQL backtick quoting (like BigQuery/MySQL).