public class DataFrameJoiner extends Object
Constructor and Description |
---|
DataFrameJoiner(Table table,
String... columnNames)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Table |
fullOuter(boolean allowDuplicateColumnNames,
Table... tables)
Full outer join to the given tables assuming that they have a column of the name we're joining on
|
Table |
fullOuter(Table... tables)
Full outer join to the given tables assuming that they have a column of the name we're joining on
|
Table |
fullOuter(Table table2,
String col2Name)
Full outer join the joiner to the table2, using the given column for the second table and returns the resulting table
|
Table |
fullOuter(Table table1,
Table table2,
boolean allowDuplicateColumnNames,
String... col2Names)
Full outer join table1 to table2, using the given columns for the second table and returns the resulting table
|
Table |
inner(boolean allowDuplicateColumnNames,
Table... tables)
Joins to the given tables assuming that they have a column of the name we're joining on
|
Table |
inner(Table... tables)
Joins to the given tables assuming that they have a column of the name we're joining on
|
Table |
inner(Table table2,
boolean outer,
boolean allowDuplicateColumnNames,
String... col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
Table |
inner(Table table2,
boolean allowDuplicateColumnNames,
String... col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
Table |
inner(Table table2,
String col2Name)
Joins the joiner to the table2, using the given column for the second table and returns the resulting table
|
Table |
inner(Table table2,
String[] col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
Table |
inner(Table table2,
String col2Name,
boolean allowDuplicateColumnNames)
Joins the joiner to the table2, using the given column for the second table and returns the resulting table
|
Table |
leftOuter(boolean allowDuplicateColumnNames,
Table... tables)
Joins to the given tables assuming that they have a column of the name we're joining on
|
Table |
leftOuter(Table... tables)
Joins to the given tables assuming that they have a column of the name we're joining on
|
Table |
leftOuter(Table table2,
boolean allowDuplicateColumnNames,
String... col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
Table |
leftOuter(Table table2,
String col2Name)
Joins the joiner to the table2, using the given column for the second table and returns the resulting table
|
Table |
leftOuter(Table table2,
String[] col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
Table |
rightOuter(boolean allowDuplicateColumnNames,
Table... tables)
Joins to the given tables assuming that they have a column of the name we're joining on
|
Table |
rightOuter(Table... tables)
Joins to the given tables assuming that they have a column of the name we're joining on
|
Table |
rightOuter(Table table2,
boolean allowDuplicateColumnNames,
String... col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
Table |
rightOuter(Table table2,
String col2Name)
Joins the joiner to the table2, using the given column for the second table and returns the resulting table
|
Table |
rightOuter(Table table2,
String[] col2Names)
Joins the joiner to the table2, using the given columns for the second table and returns the resulting table
|
public Table inner(Table... tables)
tables
- The tables to join withpublic Table inner(boolean allowDuplicateColumnNames, Table... tables)
allowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*tables
- The tables to join withpublic Table inner(Table table2, String col2Name)
table2
- The table to join withcol2Name
- The column to join on. If col2Name refers to a double column, the join is performed after
rounding to integers.public Table inner(Table table2, String[] col2Names)
table2
- The table to join withcol2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table inner(Table table2, String col2Name, boolean allowDuplicateColumnNames)
table2
- The table to join withcol2Name
- The column to join on. If col2Name refers to a double column, the join is performed after
rounding to integers.allowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*public Table inner(Table table2, boolean allowDuplicateColumnNames, String... col2Names)
table2
- The table to join withallowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*col2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table inner(Table table2, boolean outer, boolean allowDuplicateColumnNames, String... col2Names)
table2
- The table to join withouter
- True if this join is actually an outer join, left or right or full, otherwise false.allowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*col2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table fullOuter(Table... tables)
tables
- The tables to join withpublic Table fullOuter(boolean allowDuplicateColumnNames, Table... tables)
allowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*tables
- The tables to join withpublic Table fullOuter(Table table2, String col2Name)
table2
- The table to join withcol2Name
- The column to join on. If col2Name refers to a double column, the join is performed after
rounding to integers.public Table fullOuter(Table table1, Table table2, boolean allowDuplicateColumnNames, String... col2Names)
table1
- The base table to join ontable2
- The table to join withallowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*col2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table leftOuter(Table... tables)
tables
- The tables to join withpublic Table leftOuter(boolean allowDuplicateColumnNames, Table... tables)
allowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamed*tables
- The tables to join withpublic Table leftOuter(Table table2, String[] col2Names)
table2
- The table to join withcol2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table leftOuter(Table table2, String col2Name)
table2
- The table to join withcol2Name
- The column to join on. If col2Name refers to a double column, the join is performed after
rounding to integers.public Table leftOuter(Table table2, boolean allowDuplicateColumnNames, String... col2Names)
table2
- The table to join withallowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamedcol2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table rightOuter(Table... tables)
tables
- The tables to join withpublic Table rightOuter(boolean allowDuplicateColumnNames, Table... tables)
allowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamedtables
- The tables to join withpublic Table rightOuter(Table table2, String col2Name)
table2
- The table to join withcol2Name
- The column to join on. If col2Name refers to a double column, the join is performed after
rounding to integers.public Table rightOuter(Table table2, String[] col2Names)
table2
- The table to join withcol2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.public Table rightOuter(Table table2, boolean allowDuplicateColumnNames, String... col2Names)
table2
- The table to join withallowDuplicateColumnNames
- if false
the join will fail if any columns other than the join column have the same name
if true
the join will succeed and duplicate columns are renamedcol2Names
- The columns to join on. If a name refers to a double column, the join is performed after
rounding to integers.Copyright © 2019. All rights reserved.