|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.preproc.joiner.Joiner
public final class Joiner
The joiner implements a database like join of two tables.
| Constructor Summary | |
|---|---|
Joiner(DataTableSpec leftTableSpec,
DataTableSpec rightTableSpec,
Joiner2Settings settings)
Creates a new instance. |
|
| Method Summary | |
|---|---|
BufferedDataTable |
computeJoinTable(BufferedDataTable leftTable,
BufferedDataTable rightTable,
ExecutionContext exec)
Joins the leftTable and the rightTable. |
List<String> |
getConfigWarnings()
Get warnings which occurred when processing the method getOutputSpec. |
(package private) HashMap<RowKey,Set<RowKey>> |
getLeftRowKeyMap()
|
DataTableSpec |
getOutputSpec()
Create the DataTableSpec of the output. |
(package private) HashMap<RowKey,Set<RowKey>> |
getRightRowKeyMap()
|
List<String> |
getRuntimeWarnings()
Get warnings which occurred when processing the method computeJoinTable. |
(package private) void |
setMemoryService(MemoryService memoryService)
Used for testing, only. |
(package private) void |
setNumBitsInitial(int bits)
Used for testing, only. |
(package private) void |
setNumBitsMaximal(int bits)
Used for testing, only. |
static void |
validateSettings(Joiner2Settings s)
Validates the settings in the passed NodeSettings object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Joiner(DataTableSpec leftTableSpec,
DataTableSpec rightTableSpec,
Joiner2Settings settings)
leftTableSpec - The DataTableSpec of the left input table.rightTableSpec - The DataTableSpec of the right input table.settings - The settings object. This object might be used to change
the settings of the Joiner.| Method Detail |
|---|
HashMap<RowKey,Set<RowKey>> getLeftRowKeyMap()
HashMap<RowKey,Set<RowKey>> getRightRowKeyMap()
public List<String> getConfigWarnings()
getOutputSpec.
public List<String> getRuntimeWarnings()
computeJoinTable.
public DataTableSpec getOutputSpec()
throws InvalidSettingsException
InvalidSettingsException - if the settings are inconsistent with
the DataTableSpec elements given in the Constructor.
public BufferedDataTable computeJoinTable(BufferedDataTable leftTable,
BufferedDataTable rightTable,
ExecutionContext exec)
throws CanceledExecutionException,
InvalidSettingsException
leftTable and the rightTable.
leftTable - The left input table.rightTable - The right input table.exec - The Execution monitor for this execution.
CanceledExecutionException - when execution is canceled
InvalidSettingsException - when inconsistent settings are provided
public static void validateSettings(Joiner2Settings s)
throws InvalidSettingsException
NodeSettings object.
The specified settings is checked for completeness and
consistency.
s - The settings to validate.
InvalidSettingsException - If the validation of the settings
failed.void setMemoryService(MemoryService memoryService)
memoryService - set memory servicevoid setNumBitsInitial(int bits)
bits - number of initial partitions will be 2^bitsvoid setNumBitsMaximal(int bits)
bits - number of maximal partitions will be 2^numBits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||