|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SetOperation>
org.knime.base.node.preproc.setoperator.SetOperation
public enum SetOperation
This enumeration contains all valid set operations.
| Enum Constant Summary | |
|---|---|
AND
And operator. |
|
MINUS
Minus operator. |
|
OR
or operator. |
|
XOR
Xor operator. |
|
| Method Summary | |
|---|---|
DataCell |
compute(DataCell cell1,
DataCell cell2,
DataCell oldCell1,
DataCell oldCell2,
boolean differentTypes)
|
DataColumnSpec |
createResultColSpec(DataColumnSpec col1Spec,
DataColumnSpec col2Spec)
|
DataValueComparator |
getComparator(DataColumnSpec spec1,
DataColumnSpec spec2)
|
static SetOperation |
getDefault()
|
Icon |
getIcon()
|
String |
getName()
|
static String[] |
getNameList()
|
static SetOperation |
getOperation4Name(String name)
|
String |
getText()
|
static SetOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SetOperation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SetOperation AND
public static final SetOperation OR
public static final SetOperation MINUS
public static final SetOperation XOR
| Method Detail |
|---|
public static SetOperation[] values()
for (SetOperation c : SetOperation.values()) System.out.println(c);
public static SetOperation valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getName()
public static SetOperation getDefault()
public static SetOperation getOperation4Name(String name)
name - the name to get the operation for
public static String[] getNameList()
public DataColumnSpec createResultColSpec(DataColumnSpec col1Spec,
DataColumnSpec col2Spec)
col1Spec - the column spec of the first setcol2Spec - the column spec of the second set
public DataValueComparator getComparator(DataColumnSpec spec1,
DataColumnSpec spec2)
spec1 - the DataColumnSpec of the first set or
null if the RowID is usedspec2 - the DataColumnSpec of the second set or
null if the RowID is used
DataValueComparator to use
public DataCell compute(DataCell cell1,
DataCell cell2,
DataCell oldCell1,
DataCell oldCell2,
boolean differentTypes)
cell1 - the member of the first set or null if it
is a duplicate.cell2 - the member of the second set or null if it
is a duplicate.oldCell1 - the previous member of the first set or null
if this is the first member of the setoldCell2 - the previous member of the first set or null
if this is the first member of the setdifferentTypes - true if both sets are of a
different type
null.public Icon getIcon()
getIcon in interface StringIconOptionIcon to render or null if no icon
should be renderedpublic String getText()
getText in interface StringIconOptionnull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||