Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type Record struct {
ID string // Source-assigned logical ID
Data map[string]any // Column/field values (normalized)
Metadata RecordMetadata
}
Record is the universal in-memory representation of a single database row or document.
type RecordMetadata ¶
type RecordMetadata struct {
SourceTable string
SourceDB string
PartitionID string
Offset any // Logical offset (e.g., PK value, ctid, or cursor position)
Checksum [32]byte // SHA-256 of Data bytes
IngestionTime time.Time
}
RecordMetadata contains tracking information about the record's origin and integrity.
Click to show internal directories.
Click to hide internal directories.