abstract fun connect(aggrFunName: String, maxLevel: Int, initRootContext: String): Unit
(source)
Connects with the underlying database.
The connection should either recover the state left by the previous close(), or (in case no previous state is found) start a new one.
Connector should make sure that:
The target table must be provided with the following columns, in order:
aggrFunName
- the aggregation function's name.
maxLevel
- the level of the root for the DB-tree.
initRootContext
- the identity aggregate value (for the root) wrt the aggregation function.