public class JoinConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JoinConfig.Algorithm
Types of join algorithms
|
static class |
JoinConfig.Type
Types of Joins, analogous to SQL joins
|
Constructor and Description |
---|
JoinConfig(int leftIndex,
int rightIndex)
Creates and instance of
JoinConfig |
Modifier and Type | Method and Description |
---|---|
JoinConfig |
filterColumns(List<Integer> leftFilterColumns,
List<Integer> rightFilterColumns)
This method can be used to specify the list of columns to be included in the final join table
|
JoinConfig.Algorithm |
getJoinAlgorithm() |
JoinConfig.Type |
getJoinType() |
int |
getLeftIndex() |
int |
getRightIndex() |
JoinConfig |
joinType(JoinConfig.Type joinType)
Type of join to perform.
|
JoinConfig |
useAlgorithm(JoinConfig.Algorithm algorithm)
Algorithm to be used when joining two
Table s |
public JoinConfig(int leftIndex, int rightIndex)
JoinConfig
leftIndex
- join column index of this left tablerightIndex
- join column index of the right tablepublic JoinConfig filterColumns(List<Integer> leftFilterColumns, List<Integer> rightFilterColumns)
leftFilterColumns
- Columns to be included from left tablerightFilterColumns
- Columns to be include from right tableJoinConfig
public JoinConfig useAlgorithm(JoinConfig.Algorithm algorithm)
Table
salgorithm
- the JoinConfig.Algorithm
JoinConfig
public JoinConfig joinType(JoinConfig.Type joinType)
joinType
- the JoinConfig.Type
JoinConfig
public int getLeftIndex()
public int getRightIndex()
public JoinConfig.Algorithm getJoinAlgorithm()
public JoinConfig.Type getJoinType()
Copyright © 2020. All rights reserved.