docs / it.uniroma3.dbtree.spi / Connector / updateDBTree

updateDBTree

abstract fun updateDBTree(create: Collection<NodeTransfer>, update: Collection<NodeTransfer>, delete: Collection<Triple<Int, String, String>>): Unit (source)

Update the DB-tree persisted state.

This method allows to (I) create, (II) update and (III) delete nodes at once from the underlying database. This essentially consists of a combination of other connector's methods, enhancing optimization and transaction control.

Parameters

create - the batch of nodes to be created.

update - the batch of nodes to be updated.

delete - the batch of nodes to be deleted.