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

delete

abstract fun delete(nodes: Collection<Triple<Int, String, String>>): Unit (source)

Delete a batch of nodes from the database.

Should be executed within a transaction. The batch of nodes is univocally identified by their primary key, which is represented by the triple: <level, k_min, k_max>. The keys must be passed as serialized.

Parameters

nodes - the nodes' collection to be deleted.

abstract fun delete(node: Triple<Int, String, String>): Unit (source)

Delete node from the database.

Should be executed within a transaction. The nodes is univocally identified by its primary key, which is represented by the triple: <level, k_min, k_max>. The keys must be passed as serialized.

Parameters

node - the node to be deleted.