@Deprecated public class One2ManyCellFactory extends Object implements CellFactory
Constructor and Description |
---|
One2ManyCellFactory(DataTableSpec inputSpec,
List<String> columnNames,
boolean appendOrgColNames)
Deprecated.
Creates for every possible value of one column given by the columnNames
an extra column with the values present(1) or absent(0).
|
Modifier and Type | Method and Description |
---|---|
DataCell[] |
getCells(DataRow row)
Deprecated.
Get the new cells for a given row.
|
Map<String,List<Pair<String,String>>> |
getColumnMapping()
Deprecated.
|
DataColumnSpec[] |
getColumnSpecs()
Deprecated.
The column specs for the cells that are generated in the getCells() method.
|
void |
setProgress(int curRowNr,
int rowCount,
RowKey lastKey,
ExecutionMonitor exec)
Deprecated.
This method is called when a row has been processed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setProgress
public One2ManyCellFactory(DataTableSpec inputSpec, List<String> columnNames, boolean appendOrgColNames)
inputSpec
- the input table spec.columnNames
- the names of the columns to be transformed.appendOrgColNames
- if true original column names will be appended
to the newly generated column name: (possibleValue_originalColName)public DataColumnSpec[] getColumnSpecs()
CellFactory
getColumnSpecs
in interface CellFactory
public Map<String,List<Pair<String,String>>> getColumnMapping()
public DataCell[] getCells(DataRow row)
getCells
in interface CellFactory
row
- The row of interest.public void setProgress(int curRowNr, int rowCount, RowKey lastKey, ExecutionMonitor exec)
Note, you don't need to check exec.checkCanceled()
in the implementation as this is done in the
calling class.
setProgress
in interface CellFactory
curRowNr
- The number of the row just processedrowCount
- The total number of rows.lastKey
- The row's key.exec
- The execution monitor to report progress to.
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.