record

package
v0.0.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL