Class MergeTable

java.lang.Object
io.deephaven.qst.table.TableBase
io.deephaven.qst.table.MergeTable
All Implemented Interfaces:
TableOperations<TableSpec,TableSpec>, TableOperationsDefaults<TableSpec,TableSpec>, TableSchema, TableSpec

@Immutable public abstract class MergeTable extends TableBase
Concatenates multiple tables into a single table.

The resultant table will have rows from the same table together, in the order they are specified as inputs.

When ticking tables grow, they may run out of the 'pre-allocated' space for newly added rows. When more key- space is needed, tables in higher key-space are shifted to yet higher key-space to make room for new rows. Shifts are handled efficiently, but some downstream operations generate a linear O(n) amount of work per shifted row. When possible, one should favor ordering the constituent tables first by static/non-ticking sources followed by tables that are expected to grow at slower rates, and finally by tables that grow without bound.