Class MergeSortedHelper

java.lang.Object
com.illumon.iris.db.v2.utils.MergeSortedHelper

public class MergeSortedHelper
extends Object
Utility to take a set of tables, each of which is sorted; and merge them together into a single table, which will also be sorted. For now we do not support refreshing tables, just zipping together tables that are already sorted and will not tick. To handle ticking tables; the data structures would need to be changed, we're storing everything in parallel arrays and to tick we would need to shift those around. Handling append only could work; but there would be a lot of shifting if the data arrives particularly out of order.