An R6 class to define a TableShell object

Methods


Method new()

Usage

TableShell$new(title, targetCohorts, lineItems)

Arguments

title

the title of the table shell

targetCohorts

a list of CohortInfo class objects that describe the index cohorts

lineItems

a list of line item class objects


Method getTitle()

get the title of the table shell

Usage

TableShell$getTitle()


Method getTableShellMeta()

get the meta information for the table shell build

Usage

TableShell$getTableShellMeta()


Method getTargetCohorts()

get the target cohorts from the table shell

Usage

TableShell$getTargetCohorts()


Method getLineItems()

get the lineItems from the table shell

Usage

TableShell$getLineItems()


Method printJobDetails()

print the job details of the table shell

Usage

TableShell$printJobDetails()


Method buildTableShellSql()

function creates the table shell sql needed for the execution

Usage

TableShell$buildTableShellSql(executionSettings, buildOptions)

Arguments

executionSettings

an executionSettings class obj

buildOptions

a buildOptions class obj


Method outputResults()

retrieves results from dbms and formats for review

Usage

TableShell$outputResults(executionSettings, buildOptions)

Arguments

executionSettings

an executionSettings class obj

buildOptions

a buildOptions class obj


Method dropTempTables()

drop all temp tables from the tableShell build

Usage

TableShell$dropTempTables(executionSettings, buildOptions)

Arguments

executionSettings

an executionSettings class obj

buildOptions

a buildOptions class obj


Method clone()

The objects of this class are cloneable with this method.

Usage

TableShell$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.