|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.preproc.setoperator.SetOperationTable
public class SetOperationTable
This class handles the result table creation for the Set node. It provides also a static method to create the result table specification.
Constructor Summary | |
---|---|
SetOperationTable(ExecutionContext exec,
boolean useRowID1,
String col1,
BufferedDataTable table1,
boolean useRowID2,
String col2,
BufferedDataTable table2,
SetOperation op,
boolean enableHilite,
boolean skipMissing,
boolean sortInMemory)
Constructor for class SetOperationTable. |
Method Summary | |
---|---|
static DataTableSpec |
createResultTableSpec(SetOperation op,
DataColumnSpec col1Spec,
DataColumnSpec col2Spec)
|
static DataColumnSpec |
createRowIDSpec(String name)
|
BufferedDataTable |
getBufferedTable()
|
int |
getDuplicateCounter()
|
Map<RowKey,Set<RowKey>> |
getHiliteMapping0()
The hilite translation Map for the first set
or null if the enableHilte flag in the constructor was
set to false . |
Map<RowKey,Set<RowKey>> |
getHiliteMapping1()
The hilite translation Map for the second set
or null if the enableHilte flag in the constructor was
set to false . |
int |
getMissingCounter()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetOperationTable(ExecutionContext exec, boolean useRowID1, String col1, BufferedDataTable table1, boolean useRowID2, String col2, BufferedDataTable table2, SetOperation op, boolean enableHilite, boolean skipMissing, boolean sortInMemory) throws CanceledExecutionException
exec
- the ExecutionContext
useRowID1
- true
if the row id should be used instead
of a columncol1
- the column name of the first settable1
- the table of the first setuseRowID2
- true
if the row id should be used instead
of a columncol2
- the column name of the second settable2
- the table of the second setop
- the SetOperation
to performenableHilite
- true
if hilite translation should
be performedskipMissing
- true
if missing cells should be skippedsortInMemory
- true
if the sorting should be
performed in memory
CanceledExecutionException
- if the operation was canceledMethod Detail |
---|
public int getDuplicateCounter()
public int getMissingCounter()
public BufferedDataTable getBufferedTable()
BufferedDataTable
public static DataColumnSpec createRowIDSpec(String name)
name
- the name of the column
public static DataTableSpec createResultTableSpec(SetOperation op, DataColumnSpec col1Spec, DataColumnSpec col2Spec)
op
- the SetOperation
col1Spec
- the DataColumnSpec
of the first setcol2Spec
- the DataColumnSpec
of the second set
DataTableSpec
public Map<RowKey,Set<RowKey>> getHiliteMapping0()
Map
for the first set
or null
if the enableHilte flag in the constructor was
set to false
.
The key of the Map
is the row key of each row and
the corresponding value is the Collection
with all old row
keys which belong to this element.
Map
or null
if
the enableHilte flag in the constructor was set to false
.public Map<RowKey,Set<RowKey>> getHiliteMapping1()
Map
for the second set
or null
if the enableHilte flag in the constructor was
set to false
.
The key of the Map
is the row key of each row and
the corresponding value is the Collection
with all old row
keys which belong to this element.
Map
or null
if
the enableHilte flag in the constructor was set to false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |