Package com.illumon.iris.db.v2.utils
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ZipTables.Builder
A Builder to zip the columns of two tables together. -
Method Summary
Modifier and Type Method Description static ZipTables.Builder
builder()
Get a builder to perform a zip join.static Table
zip(Table... tables)
Zip all the input table's columns together into a single table.
-
Method Details
-
builder
Get a builder to perform a zip join.- Returns:
- a new
ZipTables.Builder
-
zip
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.
-