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
Tables |
public JoinConfig(int leftIndex,
int rightIndex)
JoinConfigleftIndex - 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 tableJoinConfigpublic JoinConfig useAlgorithm(JoinConfig.Algorithm algorithm)
Tablesalgorithm - the JoinConfig.AlgorithmJoinConfigpublic JoinConfig joinType(JoinConfig.Type joinType)
joinType - the JoinConfig.TypeJoinConfigpublic int getLeftIndex()
public int getRightIndex()
public JoinConfig.Algorithm getJoinAlgorithm()
public JoinConfig.Type getJoinType()
Copyright © 2020. All rights reserved.