Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandleT ¶
type HandleT struct { Warehouse model.Warehouse DB *sql.DB Uploader warehouseutils.Uploader UploadID int64 WarehouseManager WarehouseManager LoadFileDownloader downloader.Downloader }
func (*HandleT) Resolve ¶
Resolve does the below things in a single pg txn 1. Fetch all new merge rules added in the upload 2. Append to local identity merge rules table 3. Apply each merge rule and update local identity mapping table 4. Upload the diff of each table to load files for both tables
func (*HandleT) ResolveHistoricIdentities ¶
type WarehouseManager ¶
type WarehouseManager interface {
DownloadIdentityRules(*misc.GZipWriter) error
}
Click to show internal directories.
Click to hide internal directories.