|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.container.AbstractCellFactory
org.knime.core.data.container.SingleCellFactory
public abstract class SingleCellFactory
Convenience implementation of a cell factory with one new column.
As of v2.5 the input table can be processed concurrently. This property should only be set if (i) the processing of an individual row is expensive, i.e. takes significantly longer than pure I/O and (ii) there are no interdependency between the row calculations.
| Constructor Summary | |
|---|---|
SingleCellFactory(boolean processConcurrently,
DataColumnSpec newColSpec)
Create new cell factory that provides one column given by newColSpec. |
|
SingleCellFactory(boolean processConcurrently,
int workerCount,
int maxQueueSize,
DataColumnSpec newColSpec)
Create new cell factory that provides one column given by newColSpec. |
|
SingleCellFactory(DataColumnSpec newColSpec)
Create new cell factory that provides one column given by newColSpec. |
|
| Method Summary | |
|---|---|
abstract DataCell |
getCell(DataRow row)
Called from getCells. |
DataCell[] |
getCells(DataRow row)
Get the new cells for a given row. |
| Methods inherited from class org.knime.core.data.container.AbstractCellFactory |
|---|
getColumnSpecs, getMaxParallelWorkers, getMaxQueueSize, isParallelProcessing, setParallelProcessing, setParallelProcessing, setProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleCellFactory(DataColumnSpec newColSpec)
newColSpec - The spec of the new column.
public SingleCellFactory(boolean processConcurrently,
DataColumnSpec newColSpec)
processConcurrently - If to process the rows concurrently (must
only be true if there are no interdependency between the rows).newColSpec - The spec of the new column.AbstractCellFactory.setParallelProcessing(boolean)
public SingleCellFactory(boolean processConcurrently,
int workerCount,
int maxQueueSize,
DataColumnSpec newColSpec)
processConcurrently - If to process the rows concurrently (must
only be true if there are no interdependency between the rows).workerCount - see AbstractCellFactory.setParallelProcessing(boolean, int, int)maxQueueSize - see AbstractCellFactory.setParallelProcessing(boolean, int, int)newColSpec - The spec of the new column.AbstractCellFactory.setParallelProcessing(boolean, int, int)| Method Detail |
|---|
public DataCell[] getCells(DataRow row)
row - The row of interest.
public abstract DataCell getCell(DataRow row)
row - The reference row.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||