|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.preproc.joiner.NewJoinerSettings
public class NewJoinerSettings
This class hold the settings for the joiner node.
Nested Class Summary | |
---|---|
static class |
NewJoinerSettings.DuplicateHandling
This enum holds all ways of handling duplicate column names in the two input tables. |
static class |
NewJoinerSettings.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 | |
---|---|
NewJoinerSettings()
|
Method Summary | |
---|---|
NewJoinerSettings.DuplicateHandling |
duplicateHandling()
Returns how duplicate column names should be handled. |
void |
duplicateHandling(NewJoinerSettings.DuplicateHandling duplicateHandling)
Sets how duplicate column names should be handled. |
NewJoinerSettings.JoinMode |
joinMode()
Returns the mode how the two tables should be joined. |
void |
joinMode(NewJoinerSettings.JoinMode joinMode)
Sets the mode how the two tables should be joined. |
String |
keySuffix()
Returns the suffix that is appended to row keys from the first table if multiple rows from the second table match. |
void |
keySuffix(String suffix)
Sets the suffix that is appended to row keys from the first table if multiple rows from the second table match. |
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. |
String |
secondTableColumn()
Returns the join column's name from the second table. |
void |
secondTableColumn(String secondTableColumn)
Sets the join column's name from the second table. |
String |
suffix()
Returns the suffix that is appended to duplicate columns from the second table if the duplicate handling method is JoinMode.AppendSuffix . |
void |
suffix(String suffix)
Sets the suffix that is appended to duplicate columns from the second table if the duplicate handling method is JoinMode.AppendSuffix . |
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 NewJoinerSettings()
Method Detail |
---|
public String secondTableColumn()
public void secondTableColumn(String secondTableColumn)
secondTableColumn
- the column's namepublic NewJoinerSettings.DuplicateHandling duplicateHandling()
public void duplicateHandling(NewJoinerSettings.DuplicateHandling duplicateHandling)
duplicateHandling
- the duplicate handling methodpublic NewJoinerSettings.JoinMode joinMode()
public void joinMode(NewJoinerSettings.JoinMode joinMode)
joinMode
- the join modepublic String suffix()
JoinMode.AppendSuffix
.
public void suffix(String suffix)
JoinMode.AppendSuffix
.
suffix
- the suffixpublic String keySuffix()
public void keySuffix(String suffix)
suffix
- the suffixpublic 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 |