|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.preproc.joiner.Joiner2Settings
public class Joiner2Settings
This class hold the settings for the joiner node.
| Nested Class Summary | |
|---|---|
static class |
Joiner2Settings.CompositionMode
This enum holds all ways how join attributes can be combined. |
static class |
Joiner2Settings.DuplicateHandling
This enum holds all ways of handling duplicate column names in the two input tables. |
static class |
Joiner2Settings.JoinMode
This enum holds all ways of joining the two tables. |
| Field Summary | |
|---|---|
(package private) static String |
ROW_KEY_COL_NAME
Name of the row key column in the dialog. |
(package private) static String |
ROW_KEY_IDENTIFIER
Internally used row key identifier. |
| Constructor Summary | |
|---|---|
Joiner2Settings()
|
|
| Method Summary | |
|---|---|
Joiner2Settings.CompositionMode |
getCompositionMode()
|
String |
getDuplicateColumnSuffix()
Returns the suffix that is appended to duplicate columns from the right table if the duplicate handling method is JoinMode.AppendSuffix. |
Joiner2Settings.DuplicateHandling |
getDuplicateHandling()
Returns how duplicate column names should be handled. |
boolean |
getEnableHiLite()
Returns true when hiliting should be supported. |
Joiner2Settings.JoinMode |
getJoinMode()
Returns the mode how the two tables should be joined. |
boolean |
getLeftIncludeAll()
Returns true when all columns of the left table should be added to the joining table. |
String[] |
getLeftIncludeCols()
Returns the columns of the left table that should be included to the joining table. |
String[] |
getLeftJoinColumns()
Returns the columns of the left table used in the join predicate. |
int |
getMaxOpenFiles()
Return number of files that are allowed to be openend by the Joiner. |
boolean |
getRemoveLeftJoinCols()
Returns true when the columns returned by getLeftJoinColumns() should not be added to the joining table. |
boolean |
getRemoveRightJoinCols()
Returns true when the columns returned by getRightJoinColumns() should not be added to the joining table. |
boolean |
getRightIncludeAll()
Returns true when all columns of the right table should be added to the joining table. |
String[] |
getRightIncludeCols()
Returns the columns of the right table that should be included to the joining table. |
String[] |
getRightJoinColumns()
Returns the columns of the right table used in the join predicate. |
String |
getRowKeySeparator()
Return Separator of the RowKeys in the joined table. |
void |
loadSettings(NodeSettingsRO settings)
Loads the settings from the node settings object. |
void |
loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the node settings object using default values if some settings are missing. |
void |
saveSettings(NodeSettingsWO settings)
Saves the settings into the node settings object. |
void |
setCompositionMode(Joiner2Settings.CompositionMode compositionMode)
|
void |
setDuplicateColumnSuffix(String suffix)
Sets the suffix that is appended to duplicate columns from the right table if the duplicate handling method is JoinMode.AppendSuffix. |
void |
setDuplicateHandling(Joiner2Settings.DuplicateHandling duplicateHandling)
Sets how duplicate column names should be handled. |
void |
setEnableHiLite(boolean enableHiLite)
Set if hiliting should be supported. |
void |
setJoinMode(Joiner2Settings.JoinMode joinMode)
Sets the mode how the two tables should be joined. |
void |
setLeftIncludeAll(boolean leftIncludeAll)
Pass true when all columns of the left table should be added to the joining table. |
void |
setLeftIncludeCols(String[] leftIncludeCols)
Sets the columns of the left table that should be included to the joining table. |
void |
setLeftJoinColumns(String[] leftJoinColumns)
Sets the columns of the left table used in the join predicate. |
void |
setMaxOpenFiles(int maxOpenFiles)
Set number of files that are allowed to be openend by the Joiner. |
void |
setRemoveLeftJoinCols(boolean rmLeftJoinCols)
Pass true when the columns returned by getLeftJoinColumns() should not be added to the joining table. |
void |
setRemoveRightJoinCols(boolean rmRightJoinCols)
Pass true when the columns returned by getRightJoinColumns() should not be added to the joining table. |
void |
setRightIncludeAll(boolean rightIncludeAll)
Pass true when all columns of the right table should be added to the joining table. |
void |
setRightIncludeCols(String[] rightIncludeCols)
Sets the columns of the right table that should be included to the joining table. |
void |
setRightJoinColumns(String[] rightJoinColumns)
Sets the columns of the right table used in the join predicate. |
void |
setRowKeySeparator(String rowKeySeparator)
Set Separator of the RowKeys in the joined table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final String ROW_KEY_COL_NAME
static final String ROW_KEY_IDENTIFIER
| Constructor Detail |
|---|
public Joiner2Settings()
| Method Detail |
|---|
public String[] getLeftJoinColumns()
public void setLeftJoinColumns(String[] leftJoinColumns)
leftJoinColumns - the leftJoinColumns to setpublic String[] getRightJoinColumns()
public void setRightJoinColumns(String[] rightJoinColumns)
rightJoinColumns - the rightJoinColumns to setpublic Joiner2Settings.CompositionMode getCompositionMode()
public void setCompositionMode(Joiner2Settings.CompositionMode compositionMode)
compositionMode - the compositionMode to setpublic Joiner2Settings.DuplicateHandling getDuplicateHandling()
public void setDuplicateHandling(Joiner2Settings.DuplicateHandling duplicateHandling)
duplicateHandling - the duplicate handling methodpublic Joiner2Settings.JoinMode getJoinMode()
public void setJoinMode(Joiner2Settings.JoinMode joinMode)
joinMode - the join modepublic String getDuplicateColumnSuffix()
JoinMode.AppendSuffix.
public void setDuplicateColumnSuffix(String suffix)
JoinMode.AppendSuffix.
suffix - the suffixpublic String[] getLeftIncludeCols()
public void setLeftIncludeCols(String[] leftIncludeCols)
leftIncludeCols - the leftIncludeCols to setpublic String[] getRightIncludeCols()
public void setRightIncludeCols(String[] rightIncludeCols)
rightIncludeCols - the rightIncludeCols to setpublic boolean getLeftIncludeAll()
public void setLeftIncludeAll(boolean leftIncludeAll)
leftIncludeAll - the leftIncludeAll to setpublic boolean getRightIncludeAll()
public void setRightIncludeAll(boolean rightIncludeAll)
rightIncludeAll - the rightIncludeAll to setpublic boolean getRemoveLeftJoinCols()
public void setRemoveLeftJoinCols(boolean rmLeftJoinCols)
rmLeftJoinCols - the rmLeftJoinCols to setpublic boolean getRemoveRightJoinCols()
public void setRemoveRightJoinCols(boolean rmRightJoinCols)
rmRightJoinCols - the rmRightJoinCols to setpublic int getMaxOpenFiles()
public void setMaxOpenFiles(int maxOpenFiles)
maxOpenFiles - the maxOpenFiles to setpublic String getRowKeySeparator()
public void setRowKeySeparator(String rowKeySeparator)
rowKeySeparator - the rowKeySeparator to setpublic boolean getEnableHiLite()
public void setEnableHiLite(boolean enableHiLite)
enableHiLite - the enableHiLite to set
public void loadSettings(NodeSettingsRO settings)
throws InvalidSettingsException
settings - a node settings object
InvalidSettingsException - if some settings are missingpublic void loadSettingsForDialog(NodeSettingsRO settings)
settings - a node settings objectpublic void saveSettings(NodeSettingsWO settings)
settings - a node settings object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||