Class: AggregateTableManager

AggregateTableManager


new AggregateTableManager(key, db)

Construtor que a partir da chave do objeto JSON vai criar os nomes das tabelas e visões que iram fazer parte do processo da TABELA DE SOMA iAgg_M = Visão materializada iAgg_d = Visão Delta iVw_ = Visão da tabela do sistema iAGG_DELTA = Tabela delta

Parameters:
Name Type Description
key number

Chave do objeto JSON com as informações da visão que vai ser criada.

db Database

Conexão com o banco de dados onde será criada a tabela de agregação.

Deprecated:
  • Yes

Methods


<static> checkChangeFile(key, fDatabase)

Use ngin.sumtable.AggregateTableManager.checkFileChanged

Parameters:
Name Type Description
key number
fDatabase Database
Deprecated:
  • Yes

<static> createTablesAux(createAggTask, createAggFldViews, fDatabase)

Use ngin.sumtable.AggregateTableManager.createTablesAux

Parameters:
Name Type Description
createAggTask
createAggFldViews
fDatabase
Deprecated:
  • Yes

<static> dropSystemTables(viewName, tableName, fDatabase)

Use ngin.sumtable.AggregateTableManager.dropSystemTables

Parameters:
Name Type Description
viewName
tableName
fDatabase
Deprecated:
  • Yes

<static> getIndexesInfo(viewName, tableName, indexesToCheck, fDatabase)

Use ngin.sumtable.AggregateTableManager.getIndexesInfo

Parameters:
Name Type Description
viewName
tableName
indexesToCheck
fDatabase
Deprecated:
  • Yes

<static> getIndexName(tableName, idx)

Use ngin.sumtable.AggregateTableManager.getIndexName

Parameters:
Name Type Description
tableName string
idx number
Deprecated:
  • Yes

<static> getIndexName(tableName, idx)

Use ngin.sumtable.AggregateTableManager.getIndexName

Parameters:
Name Type Description
tableName
idx
Deprecated:
  • Yes

<static> getOutDatedViewKeys(fDatabase)

Use ngin.sumtable.AggregateTableManager.getOutdatedViewKeys

Parameters:
Name Type Description
fDatabase
Deprecated:
  • Yes

<static> isViewOutDated(key, id, fDatabase)

Use ngin.sumtable.AggregateTableManager.isViewOutDated

Parameters:
Name Type Description
key
id
fDatabase
Deprecated:
  • Yes

<static> keyExist(key, fDatabase)

Use ngin.sumtable.AggregateTableManager.keyExist

Parameters:
Name Type Description
key
fDatabase
Deprecated:
  • Yes