Class ZipTables

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

public class ZipTables
extends Object
An operation that "Zips" a set of tables of together row by row, joining the columns together. This is purely a positional join and there is no hard association between the table rows. The result table will have the same number of rows as the largest inner table. Columns will return nulls when the underlying table has not caught up to the same size.
  • Method Details

    • builder

      public static ZipTables.Builder builder()
      Get a builder to perform a zip join.
      Returns:
      a new ZipTables.Builder
    • zip

      public static Table zip​(Table... tables)
      Zip all the input table's columns together into a single table.
      Parameters:
      tables - the tables to zip together.
      Returns:
      a new table with all the input tables columns zipped together.