Package com.illumon.iris.db.v2.utils
Class MergeSortedHelper
java.lang.Object
com.illumon.iris.db.v2.utils.MergeSortedHelper
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Table
mergeSortedHelper
(String keyColumn, Collection<Table> tables)
-
Constructor Details
-
MergeSortedHelper
public MergeSortedHelper()
-
-
Method Details
-
mergeSortedHelper
-