Expand description
Types and traits related to the introduction of changing collections into dataflow
.
Re-exports§
pub use crate::sources::envelope::SourceEnvelope;
pub use crate::sources::kafka::KafkaSourceConnection;
pub use crate::sources::load_generator::LoadGeneratorSourceConnection;
pub use crate::sources::mysql::MySqlSourceConnection;
pub use crate::sources::mysql::MySqlSourceExportDetails;
pub use crate::sources::postgres::PostgresSourceConnection;
pub use crate::sources::postgres::PostgresSourceExportDetails;
pub use crate::sources::sql_server::SqlServerSource;
pub use crate::sources::sql_server::SqlServerSourceExtras;
Modules§
- encoding
- Types and traits related to the decoding of data for sources.
- envelope
- Types related to source envelopes
- kafka
- Types related kafka sources
- load_
generator - Types related to load generator sources
- mysql
- Types related to mysql sources
- postgres
- Types related to postgres sources
- proto_
compression - Nested message and enum types in
ProtoCompression
. - proto_
ingestion_ description - Nested message and enum types in
ProtoIngestionDescription
. - proto_
source_ connection - Nested message and enum types in
ProtoSourceConnection
. - proto_
source_ data - Nested message and enum types in
ProtoSourceData
. - proto_
source_ export_ details - Nested message and enum types in
ProtoSourceExportDetails
. - proto_
source_ export_ statement_ details - Nested message and enum types in
ProtoSourceExportStatementDetails
. - proto_
timeline - Nested message and enum types in
ProtoTimeline
. - sql_
server - Types related to SQL Server sources
Structs§
- Ingestion
Description - A description of a source ingestion
- MzOffset
- Universal language for describing message positions in Materialize, in a source independent way. Individual sources like Kafka or File sources should explicitly implement their own offset type that converts to/From MzOffsets. A 0-MzOffset denotes an empty stream.
- Proto
Compression - Proto
Ingestion Description - Proto
MzOffset - Proto
Source Connection - Proto
Source Data - Proto
Source Desc - Proto
Source Export Data Config - Proto
Source Export Details - Proto
Source Export Statement Details - NOTE: this message is encoded and stored as part of a source export
statement option (currently only
CREATE SUBSOURCE
statements) Be extra careful about changes, ensuring that all changes are backwards compatible - Proto
Timeline - Source
Data - Source
Data Columnar Decoder - Source
Data Columnar Encoder - Source
Desc - An external source of updates for a relational collection.
- Source
Export - Source
Export Data Config - Defines the configuration for how to handle data that is exported for a given Source Export.
- Source
Reference Resolver - Stores and resolves references to a
&[T: ExternalCatalogReference]
.
Enums§
- Compression
- External
Reference Resolution Error - Generic
Source Connection - Source
Data RowColumnar Decoder - A decoder for
Row
s withinSourceData
. - Source
Data RowColumnar Encoder - An encoder for
Row
s withinSourceData
. - Source
Export Details - Details necessary for each source export to allow the source implementations to export data to the export’s collection.
- Source
Export Statement Details - Details necessary to store in the
Details
option of a source export statement (CREATE SUBSOURCE
andCREATE TABLE .. FROM SOURCE
statements), to generate the appropriateSourceExportDetails
struct during planning. NOTE that this is serialized as proto to the catalog, so any changes here must be backwards compatible or will require a migration. - Timeline
- The meaning of the timestamp number produced by data sources. This type is not concerned with the source of the timestamp (like if the data came from a Debezium consistency topic or a CDCv2 stream), instead only what the timestamp number means.
Traits§
- External
Catalog Reference - Describes how external references should be organized in a multi-level hierarchy.
- Source
Connection - A connection to an external system
- Source
Timestamp
Functions§
- arb_
source_ data_ for_ relation_ desc - Given a
RelationDesc
returns an arbitrarySourceData
.