Package com.illumon.iris.db.v2.utils
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MergeSortedHelper.SortedMergeColumnSource<T>
-
Constructor Summary
Constructors Constructor Description MergeSortedHelper()
-
Method Summary
Modifier and Type Method Description static Table
mergeSortedHelper(String keyColumn, Collection<Table> tables)
-
Constructor Details
-
MergeSortedHelper
public MergeSortedHelper()
-
-
Method Details