docs / it.uniroma3.dbtree / DBTree / insertBatch

insertBatch

fun insertBatch(list: List<Pair<K, V>>): Unit (source)

Algorithm for inserting a batch of new key-value pairs into an empty DB-tree.

The whole process is performed in-memory, using the hierarchical data structure BatchNode, and only committed to the DBMS when all pairs have been processed.

Parameters

list - the list of pairs to be inserted.