indexAdminDemographicExcelSheetIngestSource
class AdminDemographicExcelSheetIngestSource
implements [o.ExcelSheetIngestSource]<"Admin_Demographic", TableName, ddbo.DuckDbOrchGovernance, InitState, ADMIN_DEMO_SHEET_TERMINAL_STATE, ddbo.DuckDbOrchEmitContext>
import { AdminDemographicExcelSheetIngestSource } from ".";

The class AdminDemographicExcelSheetIngestSource that implements the o.ExcelSheetIngestSource interface. The purpose of this class is to handle the ingestion of data from an Excel sheet into DuckDb database, specifically for the "Admin_Demographic" sheet.

The class is defined with generic type parameters for the table name (TableName) and initial state (InitState). It implements the o.ExcelSheetIngestSource interface with specific types.

Constructors

new
AdminDemographicExcelSheetIngestSource(uri: string, govn: ddbo.DuckDbOrchGovernance)

Type Parameters

TableName extends string
InitState extends o.State

Properties

readonly
nature: string
readonly
sheetName: string
readonly
tableName: TableName

Methods

assuranceSQL(session: o.OrchSession<ddbo.DuckDbOrchGovernance, ddbo.DuckDbOrchEmitContext>, adar: sg.AdminDemographicAssuranceRules<TableName, AdminDemographicColumnName>)
exportResourceSQL(session: o.OrchSession<ddbo.DuckDbOrchGovernance, ddbo.DuckDbOrchEmitContext>, sessionEntryID: string, targetSchema: string)
ingestSQL(
session: o.OrchSession<ddbo.DuckDbOrchGovernance, ddbo.DuckDbOrchEmitContext>
issac: o.IngestSourceStructAssuranceContext<InitState, ddbo.DuckDbOrchEmitContext>
ssr: AdminDemographicStructureRules<TableName>
sar: sg.AdminDemographicAssuranceRules<TableName, AdminDemographicColumnName>
)
workflow(session: o.OrchSession<ddbo.DuckDbOrchGovernance, ddbo.DuckDbOrchEmitContext>, sessionEntryID: string): ReturnType<o.ExcelSheetIngestSource<"Admin_Demographic", TableName, ddbo.DuckDbOrchGovernance, InitState, ADMIN_DEMO_SHEET_TERMINAL_STATE, ddbo.DuckDbOrchEmitContext>["workflow"]>